Change the label of grid

 

Change the label of grid.

When there is link/button in the grid, if you want to make the name of the column and the value display different, like this.

2 steps.

1.    Page peoplecode(Active)

Local Grid &Grid =GetGrid(Page.PageName "Page Field Name");
Local GridColumn &column = & Grid.GetColumn("Column Field Name");
&column.Label = "Basic Info";

 

2.    Field RowInit

Local Record &rec =GetRecord(Record.RecordName);
Local Field &column = &rec.column;
&column.Label = "Link";

Complete.

posted @ 2017-03-18 20:26  KIKI_FAN  阅读(115)  评论(0编辑  收藏  举报