The onCellEdit type of client script runs when a cell is edited on the list view of a table. This is the only client script type that does not run on the form view of a table. This type of client script is helpful to ensure that the rules you want to stick to are also enforced on list views of a table.
The script that ServiceNow provides for onCellEdit scripts looks a little different from the other client script types:
function onCellEdit(sysIDs, table, oldValues, newValue, callback) { var saveAndClose = true; //Type appropriate comment here, and begin script below callback(saveAndClose);}
It is worth noting that these scripts could be for multiple records, as you can edit more than one using a list. As you can see, there are ...