render Returns: void


Render data in the grid

Fires

beforeEmptyRowInsert, dataBinding, dataBound, cellDataBound

Parameters

NameTypeDescription
response {object} An object that contains the data that needs to be loaded in the grid.

Examples

  
Edit this example
<table id="grid"></table> <script> var grid, onSuccessFunc; onSuccessFunc = function (response) { //you can modify the response here if needed grid.render(response); }; grid = $("#grid").grid({ dataSource: { url: "../Grid/GetPlayers", success: onSuccessFunc }, columns: [ { field: "Name" }, { field: "PlaceOfBirth" } ] }); </script>