PDA

View Full Version : Request: DataView/Grid Hybrid



kmbarr
17 Oct 2007, 5:11 AM
I really like DataView object in Ext 2.0 as well as the improved GridView/GroupingView. There are some features in the DataView object that I'd like to see incorporated into the grid, such as the loadingText and emptyText parameters [and the nice little whirly loading graphic].

I'd like to see DataView and Grid combined into a single hybrid object which could be linked to a data source and easily switched between a standard grid display and a custom HTML template, similar to the "View as...(icons|details)". This could be simulated currently by generating both into a cardLayout, but it would take a lot of code to handle all the events and keep both components sychronized. Ideally in a hybrid object the current view mode would otherwise be transparent to the object's underlying code.

JorisA
13 Jan 2008, 4:47 AM
I'm also using a cardlayout with a grid and a dataview to display a single store. I agree that a hybrid object would be more easy to use, but I think it's much more complicated to design.

But I agree dat a loadingmask should be available for the dataview as well.