Results 1 to 2 of 2

Thread: Paged Grid w/ local sorting

  1. #1
    Ext User
    Join Date
    Apr 2009
    Posts
    7
    Vote Rating
    0
      0  

    Default Paged Grid w/ local sorting

    Hello,
    I'm using the a paged grid with remote sorting turned off. My problem is that when I try to sort, only the current page is sorted so that when I go to the next page, things are not sorted and don't look right. Is this expected, or am I doing something wrong?

    thanks,
    adam

  2. #2
    Ext User dpope22's Avatar
    Join Date
    Apr 2008
    Location
    San Antonio, TX
    Posts
    35
    Vote Rating
    0
      0  

    Default

    I'm asuming you are using the BasePagingLoader to retrieve your data? If thats the case, it will return to the client only the current page of data, so your local sorting is only sorting on that page and not the entire data set. I ended up writing a local memory paging loader to satisfy my needs. GXT now has a PagingModelMemoryProxy that handles local paging (and sorting).
    Rackspace Software Developer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •