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

kendo grid sort datasource querystring in angular

Using the Kendo-Angular directives
Have a kendo data source as part of my scope $scope.MySource = new kendo.data.DataSource({ transport:{ read : { …
maehue
  • 505
  • 10
  • 26
0
votes
1 answer

Kendo DataSource filter parameters

We are trying to use Kendo DataSource object to create requests to our custom ActionResult. The ActionResult receives the same type of parameters as KendoGrid is sending. We don't want to use KendoGrid to display the data, we just need the filtering…
Catalin
  • 11,503
  • 19
  • 74
  • 147
0
votes
2 answers

Kendo Grid - Read() not working

I am working with a Kendo Grid with a details subgrid. I unfortunately am having a difficult time getting it to update. We have our own custom popup editor for each item (not a custom version of the kendo, but an entirely different popup…
David Crook
  • 2,722
  • 3
  • 23
  • 49
0
votes
2 answers

kendo ui datasource cancel read from within read function

I have the read function, i want to make sure that value for parameter is present, if not cancel the read event. How can i cancel the ajax Call from within Read ? read: { url: function (e) { try { …
NSS
  • 1,835
  • 2
  • 29
  • 66
0
votes
1 answer

Kendo UI Grid saveRow method doesn`t sync data and doesn`t close the row

Here is the updated Fiddle to test. I am trying to setup grid with the in-line editing. Why saveRow method doesnt affect update function in transport definition and doesnt exit row from edit mode ? Also please try to change var "can_edit" to false;…
Casufi
  • 57
  • 10
0
votes
1 answer

kendo ui requestEnd event fires only once. Why?

i have a kendo grid whose detail rows are populated with editable grids of popup creation mode. Inside each of those popup creation windows i use, among others, a kendo autocomplete widget: …
user1221271
  • 65
  • 4
  • 10
0
votes
1 answer

kendoui scheduler insert duplicate records

I have a problem when create record with pop up editor. I receive on my action php two records in the model, model[0] is wrong (perhaps the first row of getdata) model[1] is ok there are no problems in the action, but is called with two record in…
gisernia
  • 31
  • 1
  • 3
0
votes
2 answers

Using kendoDateTimePicker's value to update kendoGrid dataSource filter isn't working

I have a Kendo DateTime selector on a page, from which I take its value (instance of Date according to Kendo docs http://docs.kendoui.com/api/web/datetimepicker#methods-value), and then I'd like to insert it into a kendoGrid's dataSource filter. The…
Katya S
  • 1,321
  • 3
  • 17
  • 31
0
votes
2 answers

Kendo ui Parent Child Passing Additional Parameter from within read

I have Parent Child kendo ui grids. The child Grids read looks like this read: { url: baseURL + "/GetOrgSchools/OrgID=" + window.SelectedOrg, // data: { OrgID : window.SelectedOrg }, // pass aditional data dataType: "json" //…
NSS
  • 1,835
  • 2
  • 29
  • 66
0
votes
1 answer

Kendo UI Treeview - Binding with Hierarchical data

Sorry for asking basic question, I am using Kendo UI first time. My question is: I have hierarchical data returned from SQL Server Common Type Expression (CTE) in below format Id ParentId Name 1 0 Name-1 (Level…
Pinal Dave
  • 533
  • 4
  • 14
  • 27
0
votes
1 answer

Not able to Populate dynamic data in KENDO Drop down

I am getting an issue while populating data in kendo drop down Please see my code and JSON response. Code: $("#sortOrder").kendoDropDownList({ dataTextField: "SORTORDER", dataValueField: "SORTORDER", dataSource: { …
Sks
  • 612
  • 7
  • 23
-1
votes
2 answers

kendo mvc grid updating

I am new to asp.net mvc so i have some problems with kendo mvc grid. here my model: public class LessonsDep { public int LesId { get; set; } public int Activated { get; set; } public string TaskTable { get; set;…
-2
votes
1 answer

How set id after create new object?

I create custom button on ListView. Then i create new object, new button has null ID. Please see snipet. Steps: Click Create. Fill edit form. Click save. Click options and see alert null; save: function(e) { // What i…
nim
  • 357
  • 1
  • 5
  • 16
-3
votes
1 answer

How to get changes in my array?

I need get changes in my array then i edit data in user controls. In this snipet my example. As I did not try, I can not do it. How I can make it?
nim_cch
  • 15
  • 4
1 2 3
19
20