Problem with column width with multiple grids on a page
Problem with column width with multiple grids on a page
I have multiple grids inside tabs (YUI's TabView), and they work almost perfectly. However, when switching between the tabs, the widths of the columns tend to overwrite each other. It looks like this is caused by both grids using the same CSS classes. My current hackish solution is to have an event handler that fires when the active tab changes to call column_model.fireEvent('widthchange'), which resets the CSS classes to have the currently visible grid's widths. Is there a better fix for this and/or is this an issue that's resolved in version 1.0?
Definitely should have figured out that fix in the FAQ on my own. Good to know that it's fixed for 1.0 though. Hopefully 1.0 will be final soon enough for me to fit an upgrade into my schedule.
And by the way, the forum thread linked to in that particular FAQ doesn't seem to have anything to do with multiple grids. Dunno if it's anything anyone cares to fix.