PDA

View Full Version : Diff between Editable grid and EditableBuffered grid?



salmondavid888
12 Oct 2011, 2:38 AM
Hi I have seen EditableBufferedGrid in gxt examples. what is the main diff between Editable grid and EditableBuffered grid? and when to use EditableBuffered grid? i have huge data to be displayed in widget(over 3000 records). now can i choose EditableBufferedGrid?

Please suggest me.

Thanks,
Salmon

catalin.ciobanu
12 Oct 2011, 6:52 AM
the EditableGrid example uses local data .. EditableBufferedGrid uses remote data.

For a large number of records I would suggest you to use something like the second example (buffer), but with paging ... like here (http://sencha.com/examples/#paging). If you use paging, you will load a certain amount of data at a time, so your app will be faster then if you load all the data at once.