search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How can I display the occupancy rate or the number of reservations per day in the timeline or a specific row ?

Asked by RaY
5 years ago.

I need to view the occupancy rate per date for hotel booking. How can I do it ?

Answer posted by Dan Letecky [DayPilot]
5 years ago.

1. If you want to display row summaries, you can add one more row header column and display the data there:

2. If you want to display column summaries, you can add one more time header row (with groupBy = "Cell") and use BeforeTimeHeaderRender to show custom HTML:

3. Another option for column summaries is to add one more resource/row at the end display the data in the grid cells using BeforeCellRender:

However, in this case the data will be scrolling with the grid (it won't be fixed like in option #2).

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.