dataSource

The data source object to which the gird is bound:

$("#grid").shieldGrid({
    dataSource: {
        data: [
            { ID: 1, name: "name1" },
            { ID: 2, name: "name2" }
        ]
    },
    columns: [
        { field: "ID" },
        { field: "name" }
    ],
});

var grid = $("#grid").swidget();
console.log(grid.dataSource.data[0]); // Object { ID: 1, name: "name" }