Wijmo UI for the Web
afterCellUpdate Event
The jQuery.Event object.
The data with this event.
The afterCellUpdate event handler is a function that is called after a cell has been updated. Among other functions, this event allows you to track and store the indices of changed rows or columns.
Syntax
Javascript (Usage) 
var instance; // Type: options
instance.afterCellUpdate = function(e, args) { };
Javascript (Specification) 
afterCellUpdate = function ( 
   e : Object,
   args : IAfterCellUpdateEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Once the cell has been updated, the information from the underlying data is dumped into the "#log" element.
$("#element").wijgrid({
    afterCellUpdate: function(e, args) {
        $("#log").html(dump($("#demo").wijgrid("data")));
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ afterCellUpdate: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridaftercellupdate", function (e, args) { // some code here });

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.