Version

exitEditMode Method

Causes the grid to exit edit mode.
Syntax
ASP.NET Ajax Javascript (Specification) 
function exitEditMode( 
   update : Boolean,
   force : Boolean,
   canExit : Boolean
) : Boolean;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfRowEditing.exitEditMode(Boolean,Boolean,Boolean);

Parameters

update
Request to update value.
force
Request to end edit mode regardless of possible block like failed validator or keepEditing set by client event.
canExit
Value of that parameter must be true, otherwise, edit mode can continue.

Return Value

Returns true if exit edit mode was canceled by validator or by setting eventArgs.set_keepEditing(true).
See Also