DHTMLX Docs & Samples Explorer

getColWidth(ind)

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

gets width of specified column in pixels

  • ind - column index
   //get first column width
   var width=mygrid.getColWidth(0);

See also: setColWidth