:: Forum >>

How to set style on header after grid is built 2.0.2

In our app, we are setting a border around editable cells.
This causes grid cells to be pushed to the right because of
border-left 1px style commands etc.
In order to adjust for non-editable cells I put an invisible border around them too, which keeps the widths in sync.
Now my problem is that the headers are not adjusted. The further to the right I go, the more out of sync the headers are with the columns.
What I need to do is put an invisible border around my headers so they adjust too.

any ideas?
Tuesday, September 23, 2008
I guess you are using the standards-mode doctype. In this case you have to reduce the padding each time you add a border, so that the resulting width/height remains the same.
Alex (ActiveWidgets)
Thursday, September 25, 2008
Alex - is there another way to do this?
Monday, September 29, 2008

This topic is archived.

Back to support forum

Forum search