Load a group content on demand

5 posts, 0 answers
  1. Ori
    Ori avatar
    3 posts
    Member since:
    Jan 2011

    Posted 07 Feb 2013 Link to this post

    I am working with a data that it is divided into several groups. The number of groups is small however, each group contains many items.
    I would like that each group's items list is loaded on demand when the user clicks the group. 
    The purpose is not to load all data from the server but rather only when the user hits the requested group.

    Does the Grid support this functionality?
  2. Daniel
    Admin
    Daniel avatar
    2230 posts

    Posted 11 Feb 2013 Link to this post

    Hello,

    The Grid does not support loading the groups on demand. One possible way to implement this behavior is to bind the Grid to the group keys and use a detail to load the items for the group on demand.

    Regards,
    Daniel
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Ori
    Ori avatar
    3 posts
    Member since:
    Jan 2011

    Posted 11 Feb 2013 Link to this post

    Thanks for the help

    Binding to the group keys and load their items on demand sound reasonable.
    However, Can I make the details pane look the same as a group pane?

    The nice thing about grouping is that the group and its items share the same column structure. When using detail pane is that possible?
  4. Daniel
    Admin
    Daniel avatar
    2230 posts

    Posted 13 Feb 2013 Link to this post

    Hello again,

    The same structure cannot be used because the detail is added in a cell of the Grid and the group rows are part of the Grid table. You could achieve similar look by using some templates and adjusting the styles. For convenience, I attached a sample project.

    Regards,
    Daniel
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  5. Ori
    Ori avatar
    3 posts
    Member since:
    Jan 2011

    Posted 13 Feb 2013 Link to this post

    Thanks very much. I really appreciate your help.
Back to Top