Hierarchical Listview Kendo UI mobile

3 posts, 0 answers
  1. Pintoo
    Pintoo avatar
    5 posts
    Member since:
    Jun 2014

    Posted 25 Jun 2014 Link to this post

    I need to show Hierarchical data in Listview with filtering enabled; I am not sure how to approach it. Here is sample data:
    Level 5
     -Level 5 item1
       - Level 4
          -Level 4 item 1
            -Level 3 
              -Level 3 item1
              - Level 3 item 2
          -Level 4 item 2
     -Level 5 item2

    Online demo example shows similar data, but its calling a service to get the data, depending on parent. Online demo

    I don’t have a service yet, trying to implement this using local data, but not having any luck. Also, is the service code used by online demo’s available on github? I want to see how service methods are implemented.

    Don’t think I need multiple listview controls since structure of each level data is same.

    Will appreciate if you can point me to working sample.


  2. Pintoo
    Pintoo avatar
    5 posts
    Member since:
    Jun 2014

    Posted 25 Jun 2014 in reply to Pintoo Link to this post

    Listview will also have the filtering feature enabled, server side filtering.

    Do I need to expose OData endpoints for server side filtering?

    Online demos are using 2 different services for listview:
    For displaying hierarchical data: http://demos.telerik.com/kendo-ui/service/Employees
    For server side filtering: http://demos.telerik.com/kendo-ui/service/Northwind.svc/Products

  3. Petyo
    Petyo avatar
    2444 posts

    Posted 27 Jun 2014 Link to this post

    Hi Pintoo,

    you may check the Telerik Github public repositories listing for some Kendo UI integration examples with various server-side backends (PHP, ASP.NET, etc.) Most of the examples showcase the grid as the widget bound to the datasource, but the datasource configuration logic is the same for all Kendo UI data bound widgets. 

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top