Hello all,
I have created list view with data source consists of list of items..Suppose there are total 7 items in list.I want to display inside list view like "Item 1 of 7 , Item 2 of 7 and so on.."
So suggest the way to carry out this task...
3 Answers, 1 is accepted
0
Petyo
Telerik team
answered on 22 Jul 2013, 02:19 PM
Hello,
The mobile listview widget does not support such feature out of the box. You may consider incrementing a global counter and displaying it in the template.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Ok..Thanks for the information..
I have maintained a global counter and used it accordingly. But the problem is I have set filterable=true to that kendo listview.
So the search box is there to filter the data.
When I provided a letter in that search box it gives me filtered data but I am not getting new count of filtered items..
So is there any way to get the count of listview items after filtering ?
0
Petyo
Telerik team
answered on 29 Jul 2013, 07:50 AM
Hi,
The listview does not have such method. You can look through the datasource methods and use its items length (using the view method) for this purpose, if I understand you correctly.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!