Hi ,
I trying to get ResourceID when dayClick event trigger.
but resource id showing empty string.
as showing in screenshot
can anyone help.
Regards
Ali Hassan
Finally got the solution need to pass the ResouceObj Object into the dayClick event.like this.
https://fullcalendar.io/docs/dayClick
Thanks to me.
Ali Hassan wrote:
Hey Ali Hassan,
I have the same problem here... Cant get an Id from the resource to insert the event in the right resource... how did you solve that?
Thank you!
can you add detailed explanation on how to do it? i modified the FullCalendar2 espace to pass the ResourceObject in the event but still gets an empty value in the event handler.
Hello Ali,
The DateTime on the calendar that you click, is represented on the range, you can always get from there and process the date from there.
Hope it helps.
Hugo Duarte wrote:
Hi Hugo,
I can get the date from the event but in timeline view I am not getting the resource id when click on the any date to create event.please have a look at screen shot.
I need to get Resource Id placed on left side when I click to any empty date.hope you'll understand.
I've attached screenshot also.
Ali