How to get the grid's rows count ?My grid has data,but the code shows 0 row..
alert($('#Grid').data("kendoGrid").tbody.find('>tr.k-master-row').length);
1 Answer, 1 is accepted
0
Atanas Korchev
Telerik team
answered on 10 Apr 2013, 06:58 AM
Hi,
This code would work if the following two conditions are met:
1. The code is executed *after* the grid is data-bound
2. The grid has master and detail rows
If you need further assistance provide your complete grid configuration.
Kind 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!