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

How to get Total Filtered Record Count

0 Answers 229 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Jaydeep
Top achievements
Rank 1
Jaydeep asked on 30 Apr 2012, 02:51 PM
Hi

dsEventsList = new kendo.data.DataSource({
        data: JSON.parse(localStorage.getItem("EventsJson")),
        filter: { field: "Events_ID", operator: "eq", value: g_Events_ID }
    });
     
    //Total Record --> 23
    alert(dsEventsList.options.data.length);

How can i get the total filtered record count? In above case it should be 1.


Thanks
Jaydeep

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Jaydeep
Top achievements
Rank 1
Share this question
or