Home Unanswered Active Tags New Question

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.

Asked by Ian Chan 4 years ago.
Replies
Yes, you can use RowHeaderWidth property to adjust the resource header width. You can also wrap the text manually by inserting <br /> element.
Comment posted by Dan Letecky 4 years ago.
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.
Comment posted by Tushar G. Walavalkar 4 years ago.
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!
Comment posted by Dan Letecky 4 years ago.

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

Comment posted by Craig 3 years ago.
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?
Comment posted by Dan Letecky 3 years ago.
New Reply
This reply is
Your name (optional):

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