Hi
I have attach headers in my grid.
The attach header cell may have data or not.
I noticed that when Header cell data is blank(""), The header cell looks differently than other header cells.
how to resolve?
The browser may render empty cell different from not-empty.
You can try resolve problem by adding next rule to css class of header
dhtmlxgrid.css
div.gridbox table.hdr td {
…
empty-cells:show;
But it will not work for all browsers, usage of instead of empty value will resolve issue for sure.
Hi
I tried both soln
1. empty-cells:show;
I tested in FF its working. But when there is not any Header cell data for particular header Row, The header Row size decreases.
I want to take care for FF and IE only.
Will it work for IE too?
2.usage of instead of empty value
Here I am getting JS error.
top[0] has no properties
Here is my XML
HA, ,HeaderB,
What is going wrong?
>> Will it work for IE too?
It will not work in IE6 for sure
>>HA, ,HeaderB,
XML requires that & character must be replaced with & , so the correct line will be
HA, ,HeaderB,
kind of ugly, but it will work