Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by JK on Nov 09, 2007 00:58
open dhtmlx forum
When XML file is empty, FF does not show headers of columns

When XML file is empty (have no records, but valid), FF does not show headers of columns
In IE they are shown correctly .
Probably they should behave the same in both browsers ?

Use version 30/10/2007

mygrid.setHeader("Option,Description,")
mygrid.setColumnIds("Title,Description,Delete");
mygrid.setInitWidths("250,*,25")
mygrid.setColAlign("left,left,center")
mygrid.setColTypes("ed,ed,ro");
mygrid.enableResizing("false,false,false")

mygrid.enableAutoHeight(true)
mygrid.enableEditEvents(false, true, true)
mygrid.setSkin("xp")
Answer posted on Nov 09, 2007 02:47
Unfortunately problem can't be reconstructed with local samples - I used your snippet code but it works fine ( of course I added missed grid.init() command to it, which need to be called before data loading )

It seems that it may be caused by surrounding layout not the grid itself - if problem still occurs for you - please send any kind of sample where it can be reconstructed ( you can contact us directly at support@dhtmlx.com )