Questions tagged [kendo-datasource]

The KendoDataSource component is an abstraction for using local (arrays of JavaScript objects) or remote (XML, JSON, JSONP) data. It fully supports CRUD (Create, Read, Update, Destroy) data operations and provides both local and server-side support for sorting, paging, filtering, grouping, and aggregates.

The Kendo UI DataSource component plays a central role in practically all web applications built with Kendo UI. It is an abstraction for using local data—arrays of JavaScript objects—or remote data—web services returning JSON, JSONP, oData or XML.

The Kendo UI DataSource has many abilities and responsibilities, among which to:

  • Retrieve data from a remote endpoint.
  • Maintain the structure and type of the data (schema).
  • Process serialization formats to and from a remote endpoint. synchronize updates—create, update, delete to and from a remote endpoint. Maintain an in-memory cache of data, including changes for updating to a remote endpoint.
  • Calculate and maintain aggregates, sorting order and paging. Provide a query mechanism via filter expressions. In other words, the DataSource fully supports CRUD (Create, Read, Update, Destroy) data operations, and provides both client-side and server-side support for sorting, paging, filtering, grouping, and aggregates.

Advantages

  • It will automatically handle sorting, paging, filtering, grouping, and aggregates.
  • Web Socket, Web API and SignalR call is supported.
  • We can also use this with other control also like JqueryUI.
  • It support the XML, Json and Javascript Array.
  • We can also add/set hierarchical data into HierarchicalDataSource.

Useful links


Related tags

299 questions
0
votes
2 answers

Customize Kendo DataSource's OData URL?

I'm using a Kendo Grid pointed to an ASP.NET Web API OData controller. I'm wondering if it's possible to customize/overwrite the generated OData URL that Kendo's DataSource generates? My issue is my date fields are DateTimeOffset and I'm trying to…
user1380769
  • 277
  • 1
  • 4
  • 16
0
votes
2 answers

Kendo UI grid number column with template won't filter

I created a Kendo UI grid with two columns. One is just a number called num0. the other is is called num1 and it's data is created from num0 through a template. The filter on num0 works find. The filter on num1 shows up and you can use it but no…
elbarto99se
  • 41
  • 1
  • 6
0
votes
1 answer

Sort by Formatted DateTime with Kendo UI DateSource

In an attempt to create a list sortable by date, I created the following datasource: sort: { field: 'dateTime', dir: 'asc' }, schema: { model: { id: 'Id', fields: { dateTime: { field: 'DateTime', …
CuddleBunny
  • 1,941
  • 2
  • 23
  • 45
0
votes
1 answer

Kendo Grid filtering using 2 decimal places when DataSource data uses 4 decimals

I have a Kendo Grid displaying dollar amounts but the data in the DataSource returns 4 decimal places. The DataSource data looks something like this: { totalDollars: 1513.1548 }, { totalDollars: 158.2903 }, { ... } So to display the number…
dmathisen
  • 2,269
  • 3
  • 36
  • 63
0
votes
1 answer

How to find selected ListView Item in Kendo UI DataASource Destroy

I have a KendoUI DataSource var myDS = new kendo.data.DataSource({ transport: { read: { url: getData, contentType: 'application/json; charset=utf-8', }, …
Debug_mode
  • 80
  • 6
0
votes
2 answers

KendoUI Grid' DataSource parametermap's data.sort array becomes undefined on 3rd column sort click

I've got a datagrid configured as follows: