I have used your dhtmlxGrid in an application to test it.
It works just fine in Firefox, but i got big problems with IE 7.
In the app I use 5 grids in different div’s.
3 of them are working just fine in IE7.
2 donnot display the second header row and no data (in IE7)
Because these 2 have a second header with some comboboxes for filtering in them and the other not, I thought it was just
this filtering that was the problem.
So I removed it completely.
Still : no data. (data is delivered as xml from a php file).
So I produced an error in the xml (after trying iso and utf encoding) and behold :
I get to see the second header with the comboboxes, but no data of course (error message).
I re-corrected the xml, and the situation is as before.
So I tried to read the xml directly into the browsers (IE7 and Firefox) Both render correct, no errors.
SO I installed your debug version of common, and it tells me that all xml is ok (200).
Please help, i’m out of ideas.
Thanks in advance.
IE7 does not display grid headers and data in certain cases
Please provide HTML snippet of code, used as containers for problematic grid
The problem can be caused by absence of height styling or zero height assigned to the containers ( as result grids are not visible in such containers )
Also, you can try to move code , which inits grid in onLoad handler of the page ( in complex layout , sizes of container can be unclear during page rendering, in such case init after page loading may resolve problem )
Ok, the code is here :
Les réservations :
Vous pouvez changer / enlever des données en cliquant sur la ligne correspondant, ou cliquer pour ajouter.
In the mean time i found out that if I click on sort (table header) one row displays,
each time an other one.
For your suggestion :
But there are grids loaded ok before this one and loaded ok after this one.
It seems to have to do with the fact that the combobox in the header is not filled (it’s not in the IE7 at all)
Please remove unnecessary whitespaces in parameters list of setInitWidths,setColAlign commands - IE may not recognize parameter value because of whitespaces around it.
Except of it - all other looks correctly and must not cause any problems.
Wow, that was it.
All is correct now (for the time being, lets wait for murphy )
I must say : never had such a fast and usefull response to a question anywhere !
Thanks a lot,