Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Saravana on Aug 11, 2007 16:10
open dhtmlx forum
dHtmlGrid cell width : I need to set the with for individual column dynamically...

I need to set the width for individual column dynamically. The functions setFont, setValue.. are available but there is no function available for setWidth. I need to set the width while loading the values to the grid i.e in _fillRow function

Thanks in advance..
Answer posted on Aug 13, 2007 13:46
Width of column can be set by
    grid.setColWidth(ind,width);

Also you can check the adjustColumnSize function which may suit your needs better.
Answer posted by Embre (Support) on Nov 28, 2014 11:45

I hope this information will be enough for you. But you also can have a look at ajax menus examples and onclick change image.