SMART datagrid v.1 > Classes > GridBase
If it is row editing state, editing will be cancelled and it will return true. If it is not editing state, it will return false.
$('#btnCancel').click(function () { grid.cancel(); });