fires when a component item was clicked
id | object | row/column of the clicked item |
e | Event | a native event object |
node | HTMLElement | the target HTML element |
grid.attachEvent("onItemClick", function(id, e, node){
var item = this.getItem(id);
//... some code here ...
});
The id parameter has the following structure:
{ row:3, column:"title"}
This object can be passed to the getItem method instead of the id parameter.