DHTMLX Docs & Samples Explorer

getColLabel(cin, ind)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

gets label of column specified by index

  • cin - column index
  • ind - header row index (optional, 0 by default, has sence only with multi line header)
   //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);

See also: setColLabel