DHTMLX Docs & Samples Explorer

Adding/Deleting Elements

Adding elements

There are two variants to add a new element to your design:

Adding a new element through Context menu

To add a new element:

  • Right click an element which you want to nest other elements into. The available context menu will appear.
  • In the opened context menu select an element to nest.

Adding a new element through the buttons of Components tree

This way allows to add a new element by using the navigation buttons of Components tree.

To add a new element of the same nesting level as the currently selected one - click the button.

To add a new element of the lower nesting level as the currently selected one (to nest an element) - click.

Deleting Elements

There is the only way to delete an existed element. It consists in the following:

  • In the confirm window, click OK to confirm the operation or Cancel to cancel it.