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

Data source only show top 10 and bottom 10 (once sorted)

1 Answer 12 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Rajesh
Top achievements
Rank 1
Rajesh asked on 20 May 2015, 08:08 PM

Hi,

 

What would be the best approach to sorting a data source and only displaying the top 10 and the bottom 10 of the data source (json call) for a bar chart using MVVM?

 

Thanks,

Julien

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 22 May 2015, 12:54 PM

Hello Julien,

In this case I would suggest you to use the data source schema.parse or schema.data  to return only the top 10 and bottom 10 results. 

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