onItemClick

fires when a component item was clicked

void onItemClick(object id, [Event e,HTMLElement node] );
idobjectrow/column of the clicked item
eEventa native event object
nodeHTMLElementthe target HTML element

Example

grid.attachEvent("onItemClick", function(id, e, node){
    var item = this.getItem(id);
    //... some code here ... 
});

Related samples

Details

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.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix js frameworks and page of javascript datatables product.