Hi,
How to fire onclick on the contextmenu?. If I use checkbox, the ‘onClick’ works only when I clicked the checkbox. But when I select the item, nothing happens.
You need to attach theonItemClick
event to the contextmenu:
on:{
onBeforeShow: function(){ ... },
onItemClick:function( id, event, node ){ ... }
}