I would like to display the count of no of appointments besides the current date and ‘Today’ label in the calendar.Is that possible.?
Hello,
Yes, it’s possible.
To implement it, you need to get the number of event in particular date by getEvents() method docs.dhtmlx.com/scheduler/api__ … vents.html
And then put it near the current date using template (the choice of the required one depends on the view)
docs.dhtmlx.com/scheduler/day_v … lates.html
Hi Polina,
I tried to bring a field to show the ‘no of appointments’ between the ‘date’ and the ‘Today’ label but its only getting displayed in the left corner below the ‘Day’ icon.I gave
The rest of the icons are getting hidden and misaligned.
Please let me know how i can display the count exactly if it is Day /Week/Month view
Hi,
You need to add a container with another CSS styles to all views you need by day_date, week_date, month_date templates.
"<div class='dhx_cal_container'style='position:relative;display:inline-table;top:0px;left:70px;font-size:22px;color:green'>No appointments</div>"
Please check this sample:
docs.dhtmlx.com/scheduler/snippet/6ecd904c