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

autoSync after initialization

1 Answer 90 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Andres
Top achievements
Rank 1
Andres asked on 12 Aug 2013, 08:30 PM
Hi, is it possible to change the autoSync value after initialization? 

Something like:

_dataSource.autoSync =
true;

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 14 Aug 2013, 06:58 AM
Hello Andres,

The autoSync option of the DataSource can be changed, by using the options property.

var ds = $('#grid').data('kendoGrid').dataSource;
ds.options.autoSync = true

 

Regards,
Kiril Nikolov
Telerik
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
Andres
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or