DataSource
It's quite a challenging experience for programmers to develop screens with a lot of JavaScript data manipulations such as filtering, sorting, paging, grouping, aggregating, and so on. Development becomes more complicated when remote and local data sources are involved.
Kendo's solution to this problem is the DataSource framework element, which makes developers' lives easy by abstracting all these complexities by providing commands to do common operations and becoming the single interface for all kinds of external and local data sources. It supports CRUD operations (Create, Read, Update, and Destroy) as well as filtering, sorting, paging, grouping, and aggregation of data.
A simple DataSource
object can be initialized as:
var kendoDS = new kendo.data.DataSource();
This code does nothing but initialize a DataSource
object without any data. To make this object useful, we need to provide data to the object or tell the object where it can fetch the data from. Let's look at some of the...