Check documentation for the latest version of dhtmlxSuite setColLabel DHTMLX Docs


sets a new label for the column header

void setColLabel(number col,number ind);


colnumberthe index of the header column
indnumberthe index of the header row (default is 0)


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

Back to top