Listview with Item numbers

4 posts, 0 answers
  1. Atik
    Atik avatar
    4 posts
    Member since:
    Jul 2013

    Posted 18 Jul 2013 Link to this post

    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...
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 22 Jul 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Atik
    Atik avatar
    4 posts
    Member since:
    Jul 2013

    Posted 25 Jul 2013 Link to this post

    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 ?
  5. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 29 Jul 2013 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready