This is a migrated thread and some comments may be shown as answers.

Hierarchical Listview Kendo UI mobile

2 Answers 96 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Pintoo
Top achievements
Rank 1
Pintoo asked on 25 Jun 2014, 04:24 PM

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.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Pintoo
Top achievements
Rank 1
answered on 25 Jun 2014, 08:39 PM
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

















0
Petyo
Telerik team
answered on 27 Jun 2014, 09:48 AM
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. 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ListView
Asked by
Pintoo
Top achievements
Rank 1
Answers by
Pintoo
Top achievements
Rank 1
Petyo
Telerik team
Share this question
or