Check documentation for the latest version of dhtmlxSuite getColLabel DHTMLX Docs

getColLabel

gets the label of the column specified by index

string getColLabel(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=myTreeGrid.getColLabel(0);
//get label of the second line of the first column
var colLabel=myTreeGrid.getColLabel(0,1);

Back to top