Edit this page

OnItemContextMenu

This event is fired when a right click on a TreeListDataItem happens.

Fired by RadTreeList
Arguments get_item() - the right-clicked TreeListDataItem object
get_domEvent() - the DOM event
Can be canceled No

Example

function ItemContextMenu(sender, eventArgs) {
    alert('Right click occured on item with key value: ' + eventArgs.get_item().get_dataKeyValue('LastName'));
}

See Also