onContext
a property used to define custom context-click (right click) handlers for elements in the DataGrid cells
let onContext: EventHash
Example
Section titled “Example”var dgrid = webix.grid({ autoConfig: true, data:[ { text:"<div class='myActive'>click here</div>" } ], onContext:{ "myActive":function(event, id, target){ console.log("Active area was right-clicked"); } }});
Details
Section titled “Details”It’s an object property that contains all available handlers.
All the handlers (existing and newly-created) are specified by the related class name.