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
10 years ago.


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.



Answer posted by Dan Letecky [DayPilot]
9 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 ( and the Month ( 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 ( 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 3 months old and has been closed. Please create a new question if you have anything to add.