-
21 Sep 2010 12:50 AM #1
Resize slow on Firefox
Resize slow on Firefox
H everybody,
I have an application with a very complex and 'hard' layout: it's a tab panel, with 10 tabs inside.
Each tab it's a border layout (with fittoparent plungin) with a north region very simple with some form field, but with a center region that contains 5 grids organized in a column layout (each column has a fit layout type in order to size correctly on the column).
Everything is mainly organized in a vieport.
I have the following problem: when i resize my browser window, everything is very fast under IE (version 8), but on firefox is tremendous slow, also with firebug closed.
I've already tried to reduce the number of rows on my grids with a paging toolbar, and I removed every not need nested panel or layout level.
Is that a common problem? There's really a tremendous difference between the two browsers, on Firefox is almost unsable.
Any suggestion will be appreciated.
Thanks
AD
-
21 Sep 2010 1:26 AM #2Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
21 Sep 2010 1:29 AM #3
(each column has a fit layout type in order to size correctly on the column)
BZZZZT! Why would you WRAP a grid in a fit layout Panel?
Want 5 grids side by side? (And I can't imagine why you would) then use a Container configured
(Where grids are configured with flex)Code:{ xtype: 'container', region: 'center', layout: { type: 'hbox', align: 'stretch' }, items: [grid1, grid2, grid3, grid4, grid5] }Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
21 Sep 2010 1:58 AM #4
Thanks Animal! The hbox is my solution!
I need the 5 grids because I need to make a sort of immediate comparison between 5 differents search results.
On the fittoparent, I use it because I don't want to give a fix height for my components and in order to avoid scrolls. Using fittoparent plugin I have the border region always with the right dimension.
I'm sorry I did not think about HBOX layout, I modified my code with your direction and now the resize time is really better.
Thanks again!
AD
-
21 Sep 2010 3:12 AM #5
Nope.
You do NOT need FitToParentSearch the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Similar Threads
-
Extjs is cool; but very slow on firefox !
By stailer in forum Community DiscussionReplies: 15Last Post: 9 Mar 2012, 11:54 AM -
Grid resize is very slow
By KelVarnsen in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 13 Jan 2009, 3:47 AM -
ExtJs performs slow in Firefox 3
By leandrorc in forum Ext 2.x: Help & DiscussionReplies: 14Last Post: 5 Jul 2008, 5:51 AM -
Runs OK in IE, slow in Firefox
By richard_h in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 20 Aug 2007, 1:44 PM


Reply With Quote