문제

I am trying to hide a Column from a grid using Peoplecode, but the column comes from a subpage. I tried using the following code.

GetGrid(Page.PAGE_NAME, "GRID_NAME").GetColumn("COLUMN_FIELDNAME").Visible = False;

This didnt work. Can anyone help me with this.?

도움이 되었습니까?

해결책

Use the name of the parent page and not the subpage in the GetGrid call. The code should be on the Activate event of the parent page.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top