[CLOSED] TreeGrid paging

  1. #1

    [CLOSED] TreeGrid paging

    Hi Support,

    I'm using TreeGrid on MVC5 web application. Since treegrid sometimes needs to show 1000+ records I added paging toolbar to the grid. And I'm able to receive paging parameters like Page, Start, Limit into controller action but I can't set the total property of the node collection because it's read only so paging doesn't function as expected.

    FYI, I only needs to achieve paging for the direct child of root so I don't care about expanded nodes.

    Can you please point me to right resource to achieve this?

    Thanks
    Last edited by fabricio.murta; Dec 26, 2017 at 2:57 PM. Reason: no feedback from the user in 7+ days
  2. #2
    Hello @Fahd!

    I'm afraid this is not quite supported nor supposed to work at all. For some references, there's this sencha thread:
    - Paging in treegrid

    And there's also this reply from daniil in 2015 to the same question added by another person:
    - TreeGrid : Paging

    So, supported, no. Impossible, neither. If it works for you the way it is and you just need to make the total property set then you can just extend the class to support specifying the value.

    But, in the other hand, probably this is just what's left before you can see havoc break on client side due to unimplemented paging support to a grid when it comes to tree displaying.

    Maybe, but just maybe, if you follow the remote paging (so every page switch triggers a server call), as the server will be providing the data that should be displayed, then it should just work, but again, even in this approach, there's no guarantee it will work.

    If you venture in making the setting available and hit any issues, we can try to help you make it work, but that would require you to provide a test case (simplified minimal) with your development progress on the feature. We'd have to reproduce it as far as you gone before we can suggest any approach or point any potentially difficult aspect to overcome.

    I hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hello @fahd!

    It's been a while since we replied your inquiry here and still no feedback from you. Do you still need help with this issue?
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] TreeGrid : get TreeGrid store data in JSON format
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Jan 14, 2015, 1:28 PM
  2. [CLOSED] TreeGrid : Paging
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 12, 2015, 6:33 AM
  3. [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, 10:20 AM
  4. Replies: 11
    Last Post: Jun 13, 2012, 4:53 PM
  5. [CLOSED] TreeGrid: Header width when treegrid is flexible
    By wazige in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 06, 2010, 10:44 AM

Tags for this Thread

Posting Permissions