Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Virkant Suman on Jul 29, 2009 03:08
open dhtmlx forum
Grid shows column which width is 0

Hi,

My grid shows column which width is set to Zero. It does not happens regularly but it happens when my internet connection speed is show.
My sample code is as follows:

mygrid.setHeader(",,,Name,Size,Modified Date,modified By, ");
mygrid.setInitWidthsP('0,0,0,40,10,15,24,10');

Please provides some tips for it.
Answer posted by dhxSupport on Jul 29, 2009 06:59
Instead of using "0" column width you can hide necessary column:
mygrid.setColumnsVisibility("false,false,false,true,true,true,true,true")