I forgot to include the gridDeleteRow function which might be applicable.
function gridDeleteRow(obj) {
var settings;
settings = {
action: 'delete',
class: 'MARSCLASS::Web::Shared',
element: 'record',
sid_cn: sessionStorage.sidCN,
tbl: obj.tbl,
val: obj.val
};
if (obj.dbase) { settings.dbase = obj.dbase }
if (obj.col) { settings.col = obj.col }
$.getJSON(marsHandler, settings)
.done(function(objJSON) {
if (objJSON.STATUS == 'OK') {
obj.commit(true);
}
else {
obj.commit(false);
objJSON.ERRORS.reDirect = 0;
displayError(objJSON);
}
} )
.fail(function(objJSON, txtStatus, errorThrown) {
ajaxFail(objJSON, txtStatus, errorThrown);
} );
};