DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### setColumnLabel(col, label, ind)

Deprecated, use setColLabel instead

Required library edition:
Required library file: dhtmlxgrid.js

sets new column header label

- col - header column index
- label - new label for the cpecified header's column. Can contai img:[imageUrl]Text Label
- ind - header row index (default is 1)

       //set new label for the first column
       mygrid.setColumnLabel(0,"New Column Label");
       //set new label for the second line of the first column
       mygrid.setColumnLabel(0,"New Column Label",1);

See also: getColumnLabel, setFooterLabel