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

Multiple header to Columns

Asked by Vivek
12 years ago.

How to add multiple headers to a Column?

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

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

At this moment, the Scheduler (http://www.daypilot.org/scheduler.html) 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):

http://www.daypilot.org/scheduler-row-header-columns.html

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