Categories | Question details Back To List | ||
Dynamically change width in dhtmlxgrid Hi, I'm working with dhtmlxgrid. My grid has a functionality in which one can add or remove columns dynamically. I know that we can allot the widths to the added column in the insertColumn() method. But because of that all columns are not having uniform widths. Is there any way in which I can dynamically change the widths of all the columns after a column is added or removed? Thanks. Answer posted by dhxSupport on Dec 21, 2009 02:23 You can try to use auto width mode. In such mode grid container will automatically increase\decrease it's width base on the columns width: mygrid.enableAutoWidth(true); mygrid.init(); |