Refresh grid and open the previous edit item

Oren

Hello,
I have a problem when trying to refresh the grid. when editing a item in the FormTemplate I want the grid to refresh and open the same row that was opened.
I used this javascript function in order to do so:
var refreshGrid = function () {
var masterTable = $find("<%= RadGridTranslations.ClientID %>").get_masterTableView();
var openedItem = masterTable.get_editItems()[0].get_element();
masterTable.editItem(openedItem);
}

My problem is that the grid refresh and only the row in the same index location is opened. for example if the openedItem was in row number 3 , and by the time the grid refreshed , 2 items have been added , after the editItem function the grid is refreshed and open row is number 3 even though the openedItem is number 5.

You are re-open the edit form based on index so it is opening the wrong item/row in edit mode.

What I would suggest is that when you click on edit button or after opening the edit form please store current row datakeyvalue in variable and after refreshing the grid based on variable's value find the particuler row and open it in editable mode.

I have Telerik Grid With one GridTemplateColumn for <asp:TextBox here when i enter this textbox. I need total amount calculate and show the Footer column using Javascript or Jquery how will do this can you guide me most urgent.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.