Tuesday, April 16, 2013

Dynamically hide a column in grid


Use the below code:

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

Ensure providing the COLUMN_FIELDNAME general tab of in page field property.

No comments:

Post a Comment