CRMGridColBlock object
Use the CRMGridColBlock object to set the properties of an individual column within a list. CRMGridColBlock is related to CRMList Block but is a child of the CRM object.
The properties that apply are similar to the fields available when adding columns to a custom list in the <My Profile> | Administration | Customization | <Entity> | Lists area of Sage CRM.
Syntax to use this object:
ListBlock = CRM.GetBlock("companygrid");
ListBlock.AddGridCol("gridcolname");
ListBlock.GetGridCol("gridcolname");