Skip to main content

Features

This page helps you start working with DHTMLX Layout and explore its functionality in depth.

How to start with DHTMLX Layout​

In this section you will learn how to initialize Layout, attach DHTMLX components to its cells, and integrate Layout into your applications.

Initialization​

TopicDescription
Basic initializationLearn how to initialize a Layout (Example)
Attaching widgetsLearn how to attach a DHTMLX component to a Layout cell or detach it (Example)

Integration​

TopicDescription
Backend integrationLearn how to connect DHTMLX Suite to a backend (Demo)
OptimusLearn how to use the DHTMLX Optimus framework to build DHTMLX-based apps
(the recommended framework for apps with Suite components)
React integrationLearn how to use DHTMLX Layout with React (Demo)
Angular integrationLearn how to use DHTMLX Layout with Angular (Demo)
Vue integrationLearn how to use DHTMLX Layout with Vue.js (Demo)

How to configure Layout​

In this section you will learn how to build a horizontal, vertical, or mixed layout, and how to add borders or space between cells.

TopicDescription
Defining Layout structureLearn how to create a Layout of the necessary structure
Adding borders to cellsLearn how to configure the borders or add space between cells in Layout (Example 1, Example 2)

How to configure Layout cells​

In this section you will learn how to make cells resizable, hidden, or collapsed, add a cell header, and configure the content alignment, padding, and progress bar of a cell.

TopicDescription
Making a cell resizableLearn how to let users resize a cell by dragging its borders (Example)
Making cells hiddenLearn how to render a layout with hidden cells
Adding a header to a cellLearn how to add a header to a cell (Example)
Adding custom content to a cell headerLearn how to render HTML markup or a DHTMLX widget in the header of a cell (Example)
Configuring content alignmentLearn how to set the alignment of content inside a cell (Example)
Configuring paddingLearn how to configure the distance between a cell and the Layout border (Example)
Initializing a collapsed cellLearn how to initialize a collapsed cell and let users expand it (Example 1, Example 2)
Showing the default progress barLearn how to show a progress bar in a cell that has no attached component or HTML content

How to configure sizes of Layout cells​

In this section you will learn how to configure the sizes of Layout cells and their headers.

TopicDescription
Width and height of a cellLearn how to configure the width and height of a cell (Example)
Size of a cell within a rowLearn how to define the "weight" of a cell in relation to other cells placed in the same row and within one parent (Example)
Height of a cell headerLearn how to configure the height of a cell header

How to customize Layout and its cells​

In this section you will learn how to add HTML content to cells and change the look and feel of Layout.

TopicDescription
Rendering HTML contentLearn how to render HTML content in a cell on Layout initialization (Example)
Attaching HTML contentLearn how to attach HTML content to a cell dynamically or detach it
Styling (custom CSS)Learn how to apply custom styles to a Layout cell (Example)
List of CSS classesThe CSS classes included in the DHTMLX library

How to work with Layout cells​

In this section you will learn how to get a cell object, iterate over cells, and remove, hide, show, collapse, or expand a cell. You will also learn how to show or hide a progress bar.

TopicDescription
Removing a cellLearn how to remove a cell from Layout (Example)
Iterating over all cellsLearn how to iterate over Layout cells (Example)
Getting a cell objectLearn how to get the configuration object of a cell
Showing/hiding a cellLearn how to hide or show a cell (Example 1, Example 2)
Checking visibility of a cellLearn how to check whether a Layout cell is visible
Expanding/collapsing a cellLearn how to collapse or expand a cell (Example 1, Example 2)
Showing/hiding a progress barLearn how to show or hide the progress bar in a Layout container or in a cell (Example)

Layout patterns​





How to work with Layout events​

In this section you will learn how to work with Layout events.

TopicDescription
Event basic rulesLearn the basic rules of event handling
Event handlingLearn how to attach, detach, or call Layout events (Example)

API reference​

In this section you will find the Layout and Layout cell API reference.

Layout API​

TopicDescription
Layout methodsCheck the list of Layout methods
Layout eventsCheck the list of Layout events
Layout propertiesCheck the list of Layout properties

Layout cell API​

TopicDescription
Layout cell methodsCheck the list of Layout cell methods
Layout cell propertiesCheck the list of Layout cell properties

Common functionality​

In this section you will learn about common library functionality that is useful when you work with Layout.

TopicDescription
Touch supportLearn how to work with touch support
TypeScript supportLearn how to work with TypeScript
Custom scrollLearn how to enable custom scroll in Layout cells
AwaitRedrawLearn how to run code after the component renders

Any questions left?​


info

Do you need more functionality? Feel free to share your suggestions in the comments below!