首页 > 技术文章 > Change the label of grid

FANKIKI 2017-03-18 20:26 原文

 

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.

推荐阅读