Home Unanswered Active Tags New Question

Multiple header to Columns

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 -----

Asked by Vivek 6 months ago.
Replies

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

Answer posted by Dan Letecky [DayPilot] 6 months 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.

Comment posted by Vivek 6 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java