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
8 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]
8 years ago.

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

http://doc.daypilot.org/scheduler/row-header-columns/

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:

http://doc.daypilot.org/scheduler/time-header-rows/

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:

http://doc.daypilot.org/scheduler/cell-customization/

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 1 months old and has been closed. Please create a new question if you have anything to add.