SMART datagrid v.1 > Classes > GridBase
Commit row editing, and transfer the entered data to the connected DataSet. If it is not editing state or throw an exception, editing will be cancelled.
$('#commit').click(function () {
grid.commitOrCancel(true);
});