[CLOSED] Grid Paging Toolbar and Local paging with Remote Data

  1. #1

    [CLOSED] Grid Paging Toolbar and Local paging with Remote Data

    I am looking at your online MVC Examples and in particular the
    Local Paging With Remote Data
    which is at http://mvc.ext.net/#/GridPanel_Pagin...h_Remote_Data/. I would like to have very similar functionality but do not want to provide the slider at the top. Instead, I would like to keep the Next and Last buttons enabled until I reach the last page of the entire remote data count. So in this case until I am on the last page which is page 8 of the slider. I have tried enabling the
    buttons in javascript on the change event but it seems that the store trumps this behavior and disables them according to the data in the local store. Any help is appreciated.
    Last edited by fabricio.murta; Nov 29, 2016 at 9:32 PM.
  2. #2
    Hello Emidio,

    Please clarify why is a regular remote paging functionality not okay for you?

    Could you, please, also clarify which Ext.NET version are you on? Ext.NET or Ext.NET Mobile? Just you posted the thread in the Mobile forum, but referring to a regular Ext.NET example.
  3. #3
    Hello Danill,
    Sorry, yes I am using the regular version of Ext.Net 4.1 and not the mobile. The reason I want to do this is because the application requirement provides a local display size between 5 and 50 records and the remote page size is 100. So I am getting 100 records remotely and then paging them locally in the increment decided by the user ( between 5 and 50 ).
  4. #4
    Hello Emidio!

    It seems you need some sort of hybrid gridpanel with "local remote paging", a combination I am afraid that is not supported out of the box. I could suggest you to do some custom processing of data but you said clearly you have requirements for your page to receive 100 records on each request and paginate to a maximum of 50.

    The closest I could find from doing something similar to this was on this Sencha thread: LocalPagingProxy an alternative to PagingMemoryProxy.

    But if you check that out, it requires in-depth customization of existing components at client-side.
    Fabrício Murta
    Developer & Support Expert
  5. #5
    Ok, Thanks Fabricio. I think I will just add my own buttons to the toolbar.
  6. #6
    Alright Emidio, thanks for the feedback, and let us know if you have trouble implementing them the way you need!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 2
    Last Post: Sep 25, 2014, 1:20 PM
  2. [CLOSED] gridpanel with local paging. Maintain checkbox selection while paging
    By PriceRightHTML5team in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 20, 2013, 11:20 AM
  3. Replies: 11
    Last Post: Jun 13, 2012, 5:53 PM
  4. [CLOSED] Local Paging for Remote Data Issue
    By dnguyen in forum 1.x Legacy Premium Help
    Replies: 26
    Last Post: Apr 12, 2011, 1:50 AM
  5. [CLOSED] [1.0] Gridview local data paging with remote data
    By BerndDA in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 15, 2010, 11:29 AM

Tags for this Thread

Posting Permissions