colpostupdate event

Previous Next

The colpreupdate event occurs before a value in a column is updated. You can use this event for further actions based on the result of the update.

Pass in a function and use properties of the options parameter. The following properties are exposed:

value

The value that the column is updated to

col

The column being updated

record

The indexes of the affected rows

 

Example

This example passes the result of the column update in a message to the user:

$.udb("EMP").on("colpostupdate", function(evt, options) {

  alert( "The new value is " + options.value);

});

 

See also

Data Source Events