onContext

a property used to define custom context-click (right click) handlers for elements in the DataTable cells

EventHash onContext;

Example

var dtable = webix.ui({
    view:"datatable",
    autoConfig: true,
    data:[
        { text:"<div class='myActive'>click here</div>" }
    ],
    onContext:{
        "myActive":function(event, id, target){
            webix.message("Active area was right-clicked");
        }
    }
});

Details

It's a object property that contains all available handlers.
All the handlers (existing and newly-created) are specified by the related class name.

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 library list product.