RadCalendar inlineEventSelectedEvent not firing


#1

Using the nativescript-pro-ui calendar, I have the following XML code. The inlineEventSelectedEvent does not fire when an inline event is clicked in Month view.

<calendar:RadCalendar 
        eventSource="{{ dates }}"
        selectionMode="Single"
        navigatedToDate="onNavigatedToDate"
        inlineEventSelectedEvent="onInlineEventSelectedEvent"
        id="myCalendar" viewMode="Month" eventsViewMode="Inline" />

JS CODE NEVER FIRES:

exports.onInlineEventSelectedEvent = function (args) {
	console.log("MADE IT ON EVENT TAP");
	console.log(JSON.stringify(args));
}

Am I doing something wrong or is this a bug?


#2

I’m experiencing the exact same issue. Did you find a solution or does anyone else have one?


#3

I did some more digging and found the solution here https://github.com/telerik/nativescript-ui-feedback/issues/305#issuecomment-332108153

The inlineEventSelectedEvent is actually a variable of type string which holds the actual name of the event. It is inlineEventSelected. So for your snippet, you will need: