Pager Template

9 posts, 0 answers
  1. Scott Rakestraw
    Scott Rakestraw avatar
    84 posts
    Member since:
    Sep 2005

    Posted 22 Dec 2011 Link to this post

    Is it possible to show in the pager that you are looking at Page 1 of 100 etc.?
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 23 Dec 2011 Link to this post

    Hello,

     Currently this is not supported out of the box. It is relatively easy though to implement it with a few lines of JavaScript:


    Regards,
    Atanas Korchev
    the Telerik team
    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. Scott Rakestraw
    Scott Rakestraw avatar
    84 posts
    Member since:
    Sep 2005

    Posted 23 Dec 2011 Link to this post

    That worked.  For anyone else that wants to do any formatting on this instead of using info.text just use info.html.
  5. Scott Rakestraw
    Scott Rakestraw avatar
    84 posts
    Member since:
    Sep 2005

    Posted 04 Jan 2012 Link to this post

    This worked fine until I added a detail table to my grid.  How do I go about getting the pager for the grid that I am working with?
  6. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 05 Jan 2012 Link to this post

    Hi,

     I don't understand what the problem is. Could you please clarify?

    Greetings,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  7. Scott Rakestraw
    Scott Rakestraw avatar
    84 posts
    Member since:
    Sep 2005

    Posted 05 Jan 2012 Link to this post

    When I have multiple grids on the page then I will have multiple matches to k-grid-pager.  How do I just access the one for the grid that has the change event.  In my case I have a hierarchy and am trying to set the text on the drilldown levels.
  8. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 05 Jan 2012 Link to this post

    Hi,

     You need to make the selector more specific:

    var info = $("#grid > .k-grid-pager info") 

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  9. Basem
    Basem avatar
    27 posts
    Member since:
    Dec 2010

    Posted 05 Jun 2012 Link to this post

    The jsfiddle sample expired and is no longer there. Can someone please post the code here? I am trying to implement a template for the pager as well.
  10. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 08 Jun 2012 Link to this post

    Hello Basem,

    Here is how this can be accomplish: http://jsfiddle.net/VAhLk/

    All the best,
    Nikolay Rusev
    the Telerik team
    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