When the AutoCellWidth mode is enabled, the cell width is calculated automatically to match the Gantt chart viewport.
- No free space on the right side if the window is too wide.
- No horizontal scrollbar.
- Updated automatically on window resize.
JavaScript
gantt.cellWidthSpec = 'Auto';
ASP.NET WebForms
CellWidthSpec = "Auto"
ASP.NET MVC
.CellWidthSpec = Auto,
Availability
Availability of this feature in DayPilot editions:
| Lite | Pro | |
|---|---|---|
| DayPilot for JavaScript | ||
| DayPilot for ASP.NET WebForms | ||
| DayPilot for ASP.NET MVC | ||
| DayPilot for Java |
DayPilot