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

KendoUI AutoComplete widget does not update filter when empty

I've got an AutoComplete widget bound to a datasource like so: I have the following items in the…
0
votes
1 answer

Why doesn't Kendo Datasource transmit the "take" parameter?

This is my code: var dataSource = new kendo.data.DataSource({ transport: { read: { url: getMembersUrl, dataType: "json", type: "get" } }, serverPaging: true, pageSize: 2, …
David
  • 710
  • 5
  • 15
0
votes
1 answer

Kendo DataSource, AngularJS - undefined property

I want to fill a grid with a complex json returned from a webservice. My json contains two things: data: array with the records that will fill the grid columns: array with the config(layout) of the grid I have successfully filled the grid with the…
Christos Baziotis
  • 5,845
  • 16
  • 59
  • 80
0
votes
1 answer

kendo UI DataSource and complex JSON

I want to fill a grid with a complex json returned from a webservice. My json contains two things: data: array with the records that will fill the grid columns: array with the config(layout) of the grid I have successfully filled the grid with the…
Christos Baziotis
  • 5,845
  • 16
  • 59
  • 80
0
votes
1 answer

Kendo UI Grid foreign key mapping not working when loading values via ajax

I'm using Angular JS along with Kendo UI (with the Kendo Angular Directives) for a project I'm working on. Currently, I'm loading data into a Kendo UI Grid which contains a foreign key field. I'd like to map this to display user-friendly text rather…
ErnestoP
  • 93
  • 7
0
votes
0 answers

Saving column with custom editor gives nested column array

I am trying to use a dropdown select as an editor for one of my columns, defined as: function phoneTypeEditor(container, options) { $('
imperium2335
  • 23,402
  • 38
  • 111
  • 190
0
votes
1 answer

Setting a data item for "Create" in Kendo Grid

I need to pass an additional parameter along with my grids datasources create routine but I am having trouble getting it to work. I have tried: $('#contactPhonesGrid').data("kendoGrid").dataSource.dataItem.set('phoneId', phoneId) but this gives me…
imperium2335
  • 23,402
  • 38
  • 111
  • 190
0
votes
1 answer

Kendo DataSource - Add additional data not working

My data source: var asGridDataSource = new kendo.data.DataSource({ transport: { read: { url: function (options) { DataService.Securities() .done(function (secs) { …
Scott
  • 2,456
  • 3
  • 32
  • 54
0
votes
1 answer

Explode Pie section when user clicks

I found a link that explains how to explode a pie section when the user clicks a wedge (http://jsfiddle.net/derickbailey/FXs6b/) but it's not working for me. From what I can tell, it doesn't appear to be updating the datasource field that is bound…
ihatemash
  • 1,474
  • 3
  • 21
  • 42
0
votes
1 answer

How to fixed overlapping notes in a kendo chart?

I have several series with notes overlapping like this: http://trykendoui.telerik.com/oVen I tried to change the position of the notes but It doesn't always work If there any way to separate them automatically or manually? Please help
0
votes
1 answer

How to display data point with various fields in kendo chart?

I want to display all data point in a tooltip. My data have 2 series, a series have 2 points, a point have 3 fields(value , base and date) I try this http://trykendoui.telerik.com/OCeB but the x-axis are repeated If there is solution i would like…
0
votes
1 answer

kendo datasource sending jquery string

I have this Kendo UI datasource. I am trying to pass the data parameter transport: { read: { url: "http://clientstoprofits.paupertopresident.com/api/Schedule/Tasks_Read", data:{ UserId:id, …
ChampChris
  • 1,565
  • 5
  • 26
  • 44
0
votes
1 answer

Binding Kendo Data Source with Async $.ajax calling from C# MVC Controller Action

This is my action in controller. Which return a List> converting into DataSourceResult.and also Serializing into Json. [HttpPost] public ActionResult GetMissingShiftData([DataSourceRequest]DataSourceRequest request) { DataTable dtResponse = new…
Ahmed Zamil
  • 238
  • 2
  • 6
  • 17
0
votes
1 answer

dataSource.data() doesn't return the datas

I'm currently testing kendoUI and developping a little webapp. For some reason I need to pass my dataSource.datas from a view to another. In order to do this I use sessionStorage and when I try to put my dataSource.data() in sessionStorage, the…
neobagram
  • 87
  • 1
  • 8
0
votes
2 answers

Kendoui Grid send dynamic variable in data source

I am trying to "filter" a grid based on an option selected from a select drop down. How do I send the selected option value to the grid when the change event on the select dropdown fires? My grid datasource is: dataSourceParts = new…
imperium2335
  • 23,402
  • 38
  • 111
  • 190
1 2 3
19
20