compact

toggles the compact mode of Gantt

boolean compact;

Example

webix.ui({
  view: "gantt",
  url: "https://docs.webix.com/gantt-backend",
  compact: true // sets to compact mode initially
)};

Details

By default Gantt switches to the compact mode when its size is less than or equal to compactWidth. This can happen during initialization or when the widget or viewport is resized. You can force the compact mode to be set initially through the compact property of the constructor like it's done in the example above.

See also
Back to top