您的位置:首页 > 运维架构

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;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: