DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » scheduler resource header problem

scheduler resource header problem

Is there a way to set the scheduler resource header width?

I read in one of the old version you guys took out wrapping, so if the resource name is too long, it just doesn't show the end.

Ian Chan - 3/18/2008 1:08:32 AM
Yes, you can use RowHeaderWidth property to adjust the resource header width. You can also wrap the text manually by inserting <br /> element.
Dan Letecky - 3/18/2008 2:14:37 PM
I couldn't put in a <BR /> as suggested, so I modified the original control code by removing the outer DIV which was preventing the wrapping. Now it works as I want with automatic wrapping.
Tushar G. Walavalkar - 4/8/2008 5:56:12 PM
Yes, the <br/> is not working, as I realized while testing another feature.

When you remove the outer div it doesn't align to the center (vertically) anymore.

I'm looking for a way to set the vertical alignment using a server-side property. Full <br/> support is the ultimate goal but at least it would be possible to switch to top alignment and enable <br/> wrapping.

Thanks for posting your solution!
Dan Letecky - 4/9/2008 11:48:05 PM

Dan, is it possible to make the header text wrap in it's own cell and not go into the all day event cell below it?

Thanks

Craig - 8/7/2008 7:55:22 PM
Craig, I guess you are talking about DayPilotCalendar. The header cells are defined with style='overflow:hidden' so the text shouldn't go outside the cell. What browser do you use? Can you please send a screenshot to support@daypilot.org?
Dan Letecky - 8/14/2008 8:34:49 AM
Post reply