Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kiran on Apr 08, 2008 06:55
open dhtmlx forum
decreasing column width

I have a column with 100 characters but want to show
this column with fixed width as other columns. If the user wants he can drag the column to right side.
how could i fix the column width.
Answer posted by Support on Apr 08, 2008 07:21
While grid initialization column widths set by
    grid.setInitWidths(...
Later ( after grid initialized ) height of necessary column can be set as
    grid.setColWidth(...
    grid.setColWidth(0,100); // set first column as 100px