Alignment

Sets the alignment of text within the column.

Values

This property can take one of the following values:

  • Left (default)
  • Right
  • Center
Examples

CaseListBlock = CRM.GetBlock('CaseListBlock');
Source = CaseListBlock.AddGridCol('Case_Source');
Source.AllowOrderBy = true;
Source.Alignment = 'right';
CRM.AddContent(CaseListBlock.Execute());
Response.Write(CRM.GetPage());

Aligns the text in the Source column to the right.