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.

Instead of using “0” column width you can hide necessary column:
mygrid.setColumnsVisibility(“false,false,false,true,true,true,true,true”)