I would like to exclude an interactive grid row from saving to the database during a custom save dynamic action. Thanks in advance for any help.
Here is the DA Code thus far:
model = apex.region("Aliases").widget().interactiveGrid("getViews", "grid").model;
model.forEach(function(r) {
if (model.getValue(r, "ALIAS_FNAME") == '' && model.getValue(r, 'ALIAS_MNAME') == '' && model.getValue(r, 'ALIAS_LNAME') == '') {
null;
//I want to bypass this row during the subsequent save below even though initialized with another column value');
}
});
apex.region( "Aliases" ).widget().interactiveGrid( "getActions" ).invoke( "save" );