Hide a Grid Column From a Grid in PeopleCode
2008-08-18 16:40
351 查看
This code should be helpful if you are trying to hide a grid column using PeopleCode
To
hide a column in a grid (using the Grid and GridColumn objects). You no
longer must loop through every row in the grid and hide that field. Now
you can use the GridColumn property Visible. The Visible property will
also hide grid columns that are displayed as tabs in the PeopleSoft
Internet Architecture.
Local Grid &GRID;
Local GridColumn &COLUMN;
If COMPLETE_FLAG = "Y" Then
&GRID = GetGrid(PAGE.RESOURCE, "GRID1");
&COLUMN = &GRID.GetColumn("COL5");
&COLUMN.Visible = False;
End-If;
To
hide a column in a grid (using the Grid and GridColumn objects). You no
longer must loop through every row in the grid and hide that field. Now
you can use the GridColumn property Visible. The Visible property will
also hide grid columns that are displayed as tabs in the PeopleSoft
Internet Architecture.
Local Grid &GRID;
Local GridColumn &COLUMN;
If COMPLETE_FLAG = "Y" Then
&GRID = GetGrid(PAGE.RESOURCE, "GRID1");
&COLUMN = &GRID.GetColumn("COL5");
&COLUMN.Visible = False;
End-If;
相关文章推荐
- How to hide & unhide the grid from the page by using people code?
- Enums and Structs in C#(C#里的枚举和结构) (from codeproject)
- Mysql 错误 Code: 1093. You can't specify target table for update in FROM clause
- eclipse启动报错 Problems occurred when invoking code from plug-in: "org.eclipse.jface"
- How To Hide A Processes From Other Users In Linux
- radgrid column filter, filtered by a “From” and “To” date, inclusive
- How To Hide A Processes From Other Users In Linux
- Call Unix Script from PeopleCode
- Manipulating Data on a Grid: Scroll PeopleCode
- How can I hide a user from the Welcome Screen in Windows XP?
- Hide Code in Oracle
- Accessing Related Fields in PeopleCode
- Explorations in Component Interface: PeopleCode
- leecode 解题总结:105. Construct Binary Tree from Preorder and Inorder Traversal
- 数据库异常:“Column 'CODE' in where clause is ambiguous”
- Uninstall from GAC In C# code
- (line: 1, column: 2) Page-encoding specified in XML prolog (UTF-8) is different from that specified
- Calling App Engine from PeopleCode
- rror Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnec
- EXTJS GRID COLUMN CODE Summary