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

Row count on grid

1 Answer 711 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 30 Jul 2012, 09:54 PM
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?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 31 Jul 2012, 07:46 AM
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!
Tags
Grid
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or