I have a rowclick event that puts the row into edit mode:
function RowClick(sender, eventArgs) {
sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
}
Now I want to modify it so that clicking the row a second time takes it out of edit mode and saves it - just as though you were clicking 'update'.
I also need to remove the update/cancel so that only clicking on the row toggles edit/update mode
function RowClick(sender, eventArgs) {
sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
}
Now I want to modify it so that clicking the row a second time takes it out of edit mode and saves it - just as though you were clicking 'update'.
I also need to remove the update/cancel so that only clicking on the row toggles edit/update mode