<ej:Grid ID="Grid1" ClientIDMode="Static" AllowSorting="true" AllowPaging="True"
</ej:Grid> |
function onClick(args) {
var grid = $('#<%= Grid1.ClientID %>').data("ejGrid");
var index = this.element.closest("tr").index();
var record = grid.getCurrentViewData()[index];
alert(record.OrderID)
} |