Row count on grid

2 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    57 posts
    Member since:
    Jun 2012

    Posted 30 Jul 2012 Link to this post

    I have a grid that is using a data source with server filtering and sorting turned on. And I am using virtual paging, how can I show a total row count in a footer similar to what it does for the non-virtual paging version? Just to get something like "10,230 rows" so when they filter it they know how many rows they filtered down to?
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 31 Jul 2012 Link to this post

    Hi Jonathan,

     You can configure the grid pager to display only the total number of records like this:

    $("#grid").kendoGrid({
        pageable: {
            numeric: false,
            previousNext: false,
            messages: {
                display: "Total: {2}"
            }
        }

    More info about the pager configuration can be found here.

    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
Back to Top