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 » How To » Set a minimum width on the columns of the Calendar

Set a minimum width on the columns of the Calendar

Is there a way to set a width or minimum width on the columns of the Calendar. We have the potential to have many resources and would like to be able to set a minimum width on the columns so that each resource is a certain width. Ideally I would like to just set a minimum width, but I couldn't find a way to set a width at all.

Sean - 5/1/2008 4:55:39 PM
The only way to do this is to specify the total width of DayPilotCalendar. You are also able to specify the width for individual column (in percent, Column.WidthPct property) - you need to switch to Resources view (ViewType="Resources") and generate the Columns manually.
Dan Letecky - 5/5/2008 10:05:23 AM
Post reply