DHTMLX Docs & Samples Explorer

adjustColumnSize(cInd)

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

adjusts column size to make all content visible

  • cInd - index of column
   //adjust first column size
   mygrid.adjustColumnSize(0);

See also: enableResizing, getColWidth, setColumnMinWidth, setColWidth