Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vincent Millet on Oct 16, 2008 10:18
open dhtmlx forum
dhtmlxGrid setColumnsVisibility

Hi,

when I use:

grid.setHeader("id,Bible,Nom,Description");
grid.setColumnIds("id,entite,nom,description");
grid.setColumnsVisibility('true,true,false,false');
grid.init
grid.loadXML...

the first 2 columns are hidden but the column header titles stay visible on the first column over the title "Nom".
This grid is attached to a Layout. I tried with a Window and I get the same result.

What can produce this problem?

Thanks

Vincent
Answer posted by Support on Oct 17, 2008 03:43

The problem can't be reconstructed locally. 
Please try the next
a) move setColumnsVisibility after grid init ( must not have difference for latest code, but may be importent for older versions ) 
b) it not clear from provided snippet , how is column's size defined , be sure that you are using setInitWidths commands , with some values for all columns ( including hidden ones )

If issue still occurs for you - please provide any kind of sample where it can be reconstructed ( you can send it directly to support@dhtmlx.com )


Answer posted by Sergey Pankratov on Jan 20, 2009 07:19
same problem in Firefox. in IE (6,7) works fine
Answer posted by Support on Jan 20, 2009 08:15
Which version of dhtmlxgrid you are using?
If issue occurs for latest version of dhtmlxgrid - please procide any kind of sample wher problem can be reconstructed ( you can send such info directly to support@dhtmlx.com