jQuery UI Widgets › Forums › Scheduler › appointmentClick event on many Appointment in Month View
Tagged: calendar, event, event calendar, javascript scheduler, jquery scheduler, jqwidgets scheduler, Outlook Style Calendar, scheduler
This topic contains 14 replies, has 2 voices, and was last updated by Peter Stoev 8 years, 7 months ago.
-
Author
-
i have successfully create jqxscheduler with event : “appointmentClick” on. it will run flawlessly if you have 2-3 appointment, i can click and show appointment dialog. but if i have more than 5 appointment (it will cause only 3 appointment showed and the other hidden, if i want to see it i have to click caret button on the date). why is the “appointmentClick” event is not working?
Hi detanto,
Sorry, but we do not understand your issue with the “appointmentClick” event. Can you provide an example with jqwidgets.com/jseditor tool?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comhi peter,
$(‘#scheduler’).on(‘appointmentClick’, function (event) {
bla bla bla
});Hi detanto,
I know how to bind to the appointmentClick event, but I do not understand what kind of problem you have. Can you send me example – https://www.jseditor.io/?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comhi peter,
this is the link :https://www.jseditor.io/?key=schedule-detanto
let’s see on february 23rd, you can see 3 appointment :
1. quarterly project
2. IT Group Mtg
3. Course Social MediaIt should be 4 appointment which is number 4 is Project Planning, and hid automatically
i put event “appointmentClick” on each appointment which will raise alert the subject name. it works well if i click 3 appointment.
as you know, if we want to see the 4th appointment, we have to click caret on 23rd and all appointment will show. nah, after that i can’t raise events that triggered by appointmentClick event anymore. please help, thx peter!Hi detanto,
When you click the arrow, you see a Popup with the appointment descriptions and backgrounds. When you click outside, this popup is closed. appointmentClick is not supposed to be raised when you click in the popup. As you can also see, you are unable to select the appointments in this popup, too. This is designed and by default.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comi see, so how can i raised event if i click the appointment? because i need my users to have detail information if they click the appointment. thx
Hi detanto,
This popup is just a preview of your Scheduler cell appointments. It is not possible to bind to events of the items displayed in the preview.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comso how can my user can click the appointment that not showed because it not fit on the month cell? thx
Hi detanto,
You have to switch to WeekView or DayView or enable the dayViewNavigation – Boolean which is taken into account in Month View. It defines whether clicking on month cell header navigates to Day View. Default is false. This is property of the views object.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comso there is no chance whatsoever if i want to use monthview right? okey peter, thx
do you think there is a chance to add the feature on future jqwidgets?Hi detanto,
The appointmentClick is not supposed to be raised in the popup. The UI there is just to let you know what kind of appointments you have in a cell. Then if you want to do something with these appointments, you have to click the month cell’s header and enter into DayView where you can do whatever you wish with the appointments(resize, move, edit, etc). For now, we do not see a reason to change how the preview popup works, but we will think for this in the future.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comokey peter, thx a lot
hi peter,
so for now i use monthRowAutoHeight: true on Views option so that all appointment will showed and clickable 🙂 thx!
Hi detanto,
With this option, you would not have to display appointments in a popup preview. However, you will have to keep in mind that this requires more calculations by the Scheduler widget so it might affect the performance when you have many appointments.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.