get Returns: object


Return record from the grid based on position.

Parameters

NameTypeDescription
position {int} The position of the row that needs to be return.

Examples

  
Edit this example
<button id="btnGetData">Get Data</button> <br/><br/> <table id="grid"></table> <script> var grid = $("#grid").grid({ dataSource: "../Grid/GetPlayers", columns: [ { field: "ID" }, { field: "Name" }, { field: "PlaceOfBirth" } ] }); $("#btnGetData").on("click", function () { var data = grid.get(3); alert(data.Name + " born in " + data.PlaceOfBirth); }); </script>