Visible

Shows or hides a column when the CRMGridColBlock object is executed.

Values
  • true (default). Shows a column.
  • false Hides a column.
Example
Copy
CaseListBlock = CRM.GetBlock('CaseListBlock');
FoundIn = CaseListBlock.GetGridCol('pers_firstname');
FoundIn.Visible = false;
CRM.AddContent(CaseListBlock.Execute());
Response.Write(CRM.GetPage());

Hides the pers_firstname column.