Check documentation for the latest version of dhtmlxSuite getColumnLabel DHTMLX Docs

getColumnLabel

gets the label of the column specified by index

string getColumnLabel(number cin,number ind);
cinnumbercolumn index
indnumberheader row index (optional, 0 by default, makes sense only for a multiline header)
stringthe label of the column specified by index

Example

//get label of the first column
var colLabel=myGrid.getColLabel(0);
//get label of the second line of the first column
var colLabel=myGrid.getColLabel(0,1);

Back to top