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:


The value that the column is updated to


The column being updated


The indexes of the affected rows



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