DHTMLX Docs & Samples Explorer

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

See also: setColumnLabel