onAfterDelete
fires after an item is removed
void onAfterDelete(object item);
| item | object | the item object |
Example
$$("datatable").attachEvent("onAfterDelete", function(item){
// some code here
});
Details
The item object contains the following properties:
- rowId (string|number) - the ID of the row of the removed item
- columnId (string|number) - the ID of the column of the removed item
- toString (function) - a custom method that returns the row id,
if it has been passed to the methods that take id as a parameter
Note that your code will continue to work as expected, even if you pass the object
directly instead of the row ID, since it resolves cleanly via toString().
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.