onContext

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

hash onContext;

Example

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

Details

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

Back to top