ShowHeading

Shows or hides the column heading.

Values

This property can take one of the following values:

  • true (default). Shows the column heading.
  • false. Hides the column heading.
Examples

CaseListBlock = CRM.GetBlock('CaseListBlock');
Source = CaseListBlock.AddGridCol('Case_Source');
Source.ShowHeading = false;
Source.Alignment = 'LEFT';
CRM.AddContent(CaseListBlock.Execute());
Response.Write(CRM.GetPage());

Adds a column case_source to the case list. The column heading is hidden.