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

Multiple header to Columns

Asked by Vivek
11 years ago.

How to add multiple headers to a Column?

October 2011
1 2 3 4 5 6 7 8 9 10
Resource 1 -----
Resource 2 -----
Resource 3 -----

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

At this moment, the Scheduler ( is only able to show two rows in the time header (X axis). The size of the cells in the first row can be set using CellGroupBy property (allowing Hour, Day, Week, Month, Year values). The size of the cells in the second row is determined by the CellDuration property - it always matches the cell duration.

You can customize the time header cells using BeforeTimeHeaderRender event handler. It allows you to set custom HTML (e.InnerHTML) and you might be able to use it to structure the cells further: display another table or set of <div> elements inside.

I'm not sure if that's what you need but you can add more columns to the resource headers (Y axis):

Comment posted by Vivek
11 years ago.

Thanks for your reply Dan.

I am sure that i dont want to add resource hearders (Y axis). I need to add only row headers (X axis). Will try out BeforeTimeHeaderRender event handler and will keep you posted with my success/tried resluts.

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