TIWCGJQGridOptions.SetLabel(Variant,ISuperObject,string,ISuperObject) Method
Sets a new label in the header for the specified column; can also set attributes and classes . The parameters are: colname the name of the column (this parameter can be a number (the index of the column) beginning from 0 data the content that can be put into the label. If empty string the content will not be changed class if class is string then we add a class to the label using addClass; if class is an array we set the new css properties via css properties sets the attribute properies of the label
public procedure SetLabel(const AColNameOrIdx: Variant; AData: ISuperObject; const AClass: string = ''; AProperties: ISuperObject = nil); overload;
Parameters
- AColNameOrIdx
- Type: Variant
- AData
- Type: ISuperObject
- AClass
- Type: string
- AProperties
- Type: ISuperObject