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

"type" property int transport CRUD objects

1 Answer 75 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 13 Mar 2012, 09:16 PM
Just to let you know that the documentation for the CRUD transport properties is missing the "type" property, which as I understand it is the HTTP method in this context.

I also don't see documentation for the "batch" property on the DataSource itself. Can you explain what this does or point me to the documentation if I missed it?

FYI: I have a typo in the subject--"int" should be "in".

Regards,
Gary

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 14 Mar 2012, 10:19 AM
Hi Gary,

As you may know, when remote binding is enabled, the DataSource will use the jQuery ajax behind the scene. Having this in mind, most of the configuration options of the jQuery ajax are available through the transport -> "operation" (i.e. transport: { read: { url: "SomeURL" } } ) configuration section.

Regarding the batch configuration options. As mentioned in this help article, this setting determines if the changes will be send one by one or grouped in a request per type. For example if batch is true all the updated (same for deleted and created) items will be send in a single request. As opposite if it is false, in which case they will be send in separate requests.

All the best,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
Gary
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or