JSON Data

To bind the DataGrid to data in a JSON format, assign the URL leading to data to the dataSource option.

JavaScript
$(function() {
    $("#gridContainer").dxDataGrid({
        dataSource: "https://jsonplaceholder.typicode.com/posts"
    });
});

View Demo

Note that you can also use a JSONP callback parameter supported by jQuery.ajax().

JavaScript
$(function() {
    $("#gridContainer").dxDataGrid({
        dataSource: "http://www.example.com/dataservices/jsonpdata?callback=?"
    });
});

If you need to process data after obtaining it, implement the CustomStore. For details, see the Custom Sources topic.