Is there any way GridView3 could be ported to 1.1 with acceptable loss of functionality? Ext 2.0 seems a ways out and we are in dire need of faster Grid rendering.
I can use grid3 form 2.0 in 1.1?
I have not yet tried - I'll take a stab at it and let you know what I come up with. Thanks!
Well, I did have luck getting the header / footer in there but there's other quirks and issues that would probably take me a while to iron out. We're going to look into upgrading to pre-alpha of Ext 2.0 but it would be great if GridView3 could be ported to 1.1 in some limited fashion by the Ext team.
Thanks for consideration!
Ok, I got a simple grid to render with GridView3, however, any calls to getHeaderPanel and getFooterPanel bomb out. I'll take another peek tomorrow but if you have any quick suggestions I'd appreciate it - thanks! Topbar and header heights - bea-news.aqualogic-alui-ui :: [SOLVED?] Porting GridView3 to 1.1 [Archive] - Ext JS Forums Alter the master template to include topbar and bottombar divs Account for header/footer http://www.java-xp.com/bea-news.aqualogic-alui-ui-customization/topbar-and-header-heightsHOME |
It definitely could be done. The Grid->GridPanel differences are there but it shouldn't be terribly difficult. Having you tried plugging it into the 1.1 code? www.hevs.ch:: File Format: PDF/Adobe Acrobat - View as HTMLDiplôme 2006 / 2007. Etudiante : Nathalie Solioz. Professeur : Yann Bocchi. Filière informatique de gestion. Intégration des données spatiales dans les http://doc.rero.ch/lm.php?url=1000,41,22,20080218100208-BO/RapportFinal.pdfHOME |
Can i view your code? I have problem with "adjust the childNode indexes".
But i succeful backport GroupingView into 1.1 :) nice.
Hmm, is there any way to simulate the header and footer panel in GridView3 so those methods work? I'm going to play around again today to see if I can get something going.
Those functions don't exist in 2.0. That GridPanel handles it.
I'm sure I didn't do some things properly in the layout() method but the following works for me in the 1.1 branch.
Changes:
Replace contents of Ext 1.1 GridView with contents of Ext 2.0 GridView
Replace .store with .dataSource wherever used in reference to a grid
Alter the master template to include topbar and bottombar divs
Create headerPanel and footerPanel elements in the initElements() method and adjust the childNode indexes to accommodate for the topbar and bottombar
Create getHeaderPanel(), getFooterPanel() and getBodyTable() methods
Account for header/footer heights in the layout() method so GridPanel's work
Like I said, it may not be the proper way to do it but it seems to be sufficient for our needs. We'll see if I run into any other issues.
NOTE: You'll need to be sure to add the Ext 2.0 grid.css styles to your stylesheet (ext-all.css, etc.) as well as copy all of the related Ext 2.0 grid images to the proper folder under images/default/grid.
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|