compact

toggles the compact mode of Document Manager

boolean compact;

Example

webix.ui({
      view: "docmanager",
      url: "//localhost:3200/",
      compact: true // sets to compact mode initially
    });

Details

By default Document Manager 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