Hi guys,
I am desperately trying to find a solution over this issue, but unable to solve it. I have created this project with target device=mobile.
I am able to place a sap.m.Button over a sap.me.Calendar's day, on calendar's tapOnDate event, i am performing one function "tapDay", and on button's tap event, i am performing another function "pressButton". But now, on tapping on the button, after the press gets executed, even the calendar's tapOnDate event gets executed. This is happening in both tablet as well as desktop.
I tried to use stopPropagation() like this:
tapDay: function(){
alert("calendar day tapped");
},
pressButton: function(oEvent)
{
oEvent.stopPropagation();
alert("button pressed");
}
But i get following error: Object [object Object] has no method 'stopPropagation'
Is there any way we can stop the propagation of parent's event to child event?
Thanks & Regards,
Naresh Mallya