Hi;
How to find a resource by mouse position on rowColumnHeader using onmouseup event (not usingDaypilot.contextMenuResource) !
I used jquery like this
$("body").on("mouseup",".scheduler_hotelca_rowheader_inner",function(){
$(".scheduler_hotelca_rowheader_inner").not(this).removeClass("selected");
if(event.button===0){
$(this).toggleClass("selected");
return;
};
if(event.button===2){
if($(this).hasClass("selected")){
menuCMR.show(); // Menu for individual selected room
}else{
menuAPP.show(); // Menu for all rooms
}
}
});
but in the menu item handler for individal menu (menuCMR) i would like to get the resource id !
Thanks