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

how to set daypilot calendar width as auto?

Asked by varsha
13 years ago.

Hello

I want to set calendar width as auto because i have lots of resources on top of calendar but cell width is verry less so it cant show full name of resource and event detail box is verry small.

Thanks,

Vrasha

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

It is possible to use Width="100%". This will set the control width automatically to fill all the horizontal space (subject to the CSS width rules).

In the Calendar (http://www.daypilot.org/calendar.html) and the Month (http://www.daypilot.org/month.html) controls the cell width is set automatically to fill the control width (you only specify the number of columns, but not the width of individual columns).

In the Scheduler (http://www.daypilot.org/scheduler.html) it is necessary to set the column width manually (CellWidth property). The control width is set separately - if the cells don't fit there, a scrollbar will be displayed. It's not possible to set the cell width to auto at this moment.

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