Please add the following code to ondelete event to display args.get_itemIndexHierarchical() value in the example supplied by Telerick online demo " radcontrols_aspnetajax/Grid/Examples/Client/ClientDelete/DefaultCS.aspx
<script type="text/javascript">
function Rowdeleting(sender, args) {
var row_no = args.get_itemIndexHierarchical();
alert(row_no);
var row = sender.get_masterTableView().get_dataItems()[row_no];
alert(row);
}
<ClientSettings AllowKeyboardNavigation="True" >
<Selecting AllowRowSelect="True" />
<ClientEvents OnRowDeleting="Rowdeleting" ></ClientEvents>
</ClientSettings>
Now run the code and delete any row in the middle of the grid it will show the row index and will work fine .
Now delete the last row in the grid it will show wrong row index and so the row object will be empty .
How do i get the correct row index after client side delete ?