RadiantQ jQuery Gantt Package
GanttChart View Width
Previous Topic  Next Topic 

GanttChart View Width

By default, the GanttChart is presented in a horizontally scrollable view whose width is specified via the ViewWidth property.

$(selector ).FlexyGantt( 'option', 'ViewWidth' ,3000) // Default is 2000; Allowed values are 300 - 10000.



                                 

Alternatively, you could use the $( selector).Gantt( 'option', 'ResizeToFit' ) property to make the view to resize to fit the available space. In this mode, the end-user can also easily pan the view thought a Ctrl + Mouse Down + Drag on the chart headers.

$(selector ).FlexyGantt( 'option', 'ResizeToFit' ,true)


ResizeToFit mode where end-users can pan the view with Ctrl + Mouse Down + drag


© RadiantQ 2022. All Rights Reserved.