OData Service

To bind the Scheduler to data provided by an OData service, use the ODataStore. It presents an interface for loading and editing data and allows you to handle data-related events.

JavaScript
$(function() {
    $("#schedulerContainer").dxScheduler({
        dataSource: new DevExpress.data.ODataStore({
            url: "http://url/to/odata/service"
            onLoaded: function () {
                // Event handling commands go here
            }
        }),
        startDateExpr: "startDateField",
        endDateExpr: "endDateField",
        textExpr: "textField"
    });
});

Data kept in the ODataStore can be processed in the DataSource. For example, the DataSource can filter data.

JavaScript
$(function() {
    $("#schedulerContainer").dxScheduler({
        dataSource: new DevExpress.data.DataSource({
            store: {
                type: "odata",
                url: "http://url/to/odata/service"
            },
            filter: ["Not_Assigned", "=", true],
            paginate: false
        }),
        // ...
    });
});
NOTE
If you define the ODataStore within the DataSource, set the paginate option to false. This is needed to prevent data from being partitioned as the Scheduler does not support paging.
See Also