4 Jan 2011 6:49 AM #1
Working with LiveGridView + EditorGrid
Is it possible to use LiveGridView with an editorGrid ? I've a grid with huge data. That's why i'm using LiveGridView, but i would like to edit my data too.
When i'm using LiveGridView + Grid => There is no problem.
When i'm using EditorGrid => There is no problem.
But when i'm using EditorGrid + LiveGridView it's seams incompatible.
So my question is : Can i use EditorGrid with LiveGridView or not ? If not, will I be able to with the next release ?
Thx a lot.
4 Jan 2011 11:27 AM #2
Its partly compatible, some things are fixed. The main problem will be as soon as you scroll, the changes get lost. LiveGridView is a "live" streaming view which was not designed for client modifications.
5 Jan 2011 1:24 AM #3
Thank for your fast answer.
That's what i thought. Thus, there is no good solution to edit a large amount of data without pagination ?
When you saidIts partly compatible, some things are fixed.
5 Jan 2011 12:43 PM #4
Not completly. Scrolling a model out will still make the changes get lost if not persisted somewhere else.
20 Feb 2013 8:00 PM #5
In my use case the reason for using LiveGridView is UI rendering performance. This means I can keep all data on the client. In this case EditorGrid with LiveGridView is working fine.
You have to have a wrapping store, which loads through loader/proxy from a local underlying data structure. You have to ensure that any insertions or deletions are done on that underlying data structure and then store is reloaded via loader.load(). If you keep ModelData instances in the underlying structure, then any edits are stored in them just like with a regular EditorGrid.
Hope that helps
By technicaltitch in forum Ext 2.x: Help & DiscussionReplies: 12Last Post: 8 May 2009, 11:57 AM
By tonig84 in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 28 Feb 2008, 8:38 AM
By umlbuzzard in forum Ext 1.x: BugsReplies: 0Last Post: 1 May 2007, 9:35 AM