When the AutoCellWidth mode is enable, the cell width is calculated automatically to match the Gantt viewport. 

  • No free space on the right side if the window is too wide.
  • No horizontal scrollbar.
  • Updated automatically on window resize.

ASP.NET WebForms

CellWidthSpec = "Auto"

ASP.NET MVC

.CellWidthSpec = Auto,

JavaScript

gantt.cellWidthSpec = 'Auto';