[CLOSED] Grid Buffered Scrolling with Row Editing/Deletion/Addition

  1. #1

    [CLOSED] Grid Buffered Scrolling with Row Editing/Deletion/Addition

    Hi,

    Is there any sample available which has grid buffered scrolling with new row, row editing and row deletion support?
    Can CellEditing and RowEditing plugins be used with Buffered Scrolling?

    Update: I can make it edit but no luck with new record insertion, any help would be much appreciated.

    Cheers,
    Avi
    Last edited by Daniil; Feb 11, 2014 at 3:02 PM. Reason: [CLOSED]
  2. #2
    Hi @asolvent,

    Are you using Biffered="true" for the Store? If so an insert operation is not supported for a buffered Store. As well as deletion.

    I think that in this case the records should be inserted/deleted on server and the Store should be reloaded after that.
  3. #3
    Thanks Danii, your clear answer is much appreciated.

    Cheers,
    Avi
  4. #4
    Hi Danii,

    Just curious, what might be the reason of leaving Add/Delete functionality from Buffered Grid, is that something which might come in any of the future releases?

    Would you have any pointers if we intend to extend the functionality?

    Thanks again for your help!

    Cheers,
    Avi
  5. #5
    Quote Originally Posted by asolvent View Post
    Just curious, what might be the reason of leaving Add/Delete functionality from Buffered Grid, is that something which might come in any of the future releases?
    Here is some sort of answer.
    http://www.sencha.com/forum/showthread.php?276300

    Quote Originally Posted by asolvent View Post
    Would you have any pointers if we intend to extend the functionality?
    I guess it is another reason why they didn't implement it - probably, it is quite hard to implement. Generally, I have no tips how to implement it. Probably, you should override/subclass those methods for adding and removing the records. But, probably, you will face the problems during implementation, the same ones that ExtJS team decided not to support it.

    By the way, do you really need a Buffered Store? How many records are you going to load to the Store?
  6. #6
    Quote Originally Posted by Daniil View Post
    By the way, do you really need a Buffered Store? How many records are you going to load to the Store?
    Well, there ain't lots of records as of now but the client has preference for continuous scrolling and we wanted uniformity in all the grids across the application.

    Cheers,
    Avi
  7. #7
    Maybe, a BufferedRenderer plugin is good enough for you?

    Please note that a Store has no Buffered="true" setting.

Similar Threads

  1. [CLOSED] Buffered Grid Scrolling repeats rows
    By jwhitmire36 in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Feb 09, 2013, 5:49 AM
  2. [CLOSED] Infinite srolling buffered grid scrolling problem
    By ASAPCH in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 04, 2013, 3:55 AM
  3. [CLOSED] Buffered Grid with filtering and editing
    By jchau in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 13, 2013, 6:39 AM
  4. Replies: 0
    Last Post: Oct 17, 2012, 8:22 PM
  5. [CLOSED] Buffered Grid View Scrolling
    By bethc in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 02, 2009, 7:29 AM

Tags for this Thread

Posting Permissions