27 Feb 2007 1:25 PM #1
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?
27 Feb 2007 1:59 PM #2
28 Feb 2007 12:38 AM #3
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
It's fixed in 1.0.
The 1.0 Grid code is different to 0.33, so you should begin to refactor to use 1.0 as soon as possible.
28 Feb 2007 8:22 AM #4
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.
By universe in forum Ext 1.x: BugsReplies: 8Last Post: 2 Mar 2007, 11:59 AM
By Greeens in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 9 Feb 2007, 7:44 AM
By rooster in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 8 Jan 2007, 1:42 PM
By christocracy in forum Ext 1.x: Help & DiscussionReplies: 10Last Post: 16 Dec 2006, 6:40 AM
By kjordan2001 in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 7 Nov 2006, 2:54 PM