Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
465
WebDataGrid - Open Edit Mode after page is loaded
posted

iam trying to make edit mode activate after any postback or any page load but it doesnt seem like I can find a solution: I want to Activate the edit mode of the WebDataGrid  and open the last row slected and opened row, when the user load the page .

i tried to get the current opened row and opened but it didn't work

 var rowIndex = eventArgs.get_item().get_row().get_index();
 var editingCore = row.get_grid().get_behaviors().get_editingCore();
 var rowEditingTemplate = editingCore.get_behaviors().get_rowEditing();
  rowEditingTemplate.enterEditMode(rowIndex);