<script>
// Create grid object.
var gridObj = $("#Grid").data("ejGrid");
// Refreshes the grid data source
gridObj.dataSource(data);
</script> |
<script>
// Create grid object.
var gridObj = $("#Grid").data("ejGrid");
gridObj.refreshContent(); // Refreshes the grid contents only
gridObj.refreshContent(true); // Refreshes the template and grid contents
</script> |
<script>
// Create grid object.
var gridObj = $("#Grid").data("ejGrid");
// Refreshes the grid data source
gridObj.dataSource(ej.parseJSON(data));
</script> |