Skip to content
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion docs/api/cell_manager/add_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ diagram.cellManager.add(0, "down"); // adds cells as rows

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsadd_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ diagram.events.on("afterCellsAdd", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsmove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ diagram.events.on("afterCellsMove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsremove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ diagram.events.on("afterCellsRemove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/aftercellsvalidation_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ diagram.events.on("afterCellsValidation", (swimlaneId, validate, action) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsadd_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ diagram.events.on("beforeCellsAdd", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsmove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ diagram.events.on("beforeCellsMove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsremove_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ diagram.events.on("beforeCellsRemove", (swimlaneId) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/beforecellsvalidation_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ diagram.events.on("beforeCellsValidation", (swimlaneId, action) => {

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getcellid_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ diagram.cellManager.getCellId(0, "row"); // -> "r01"

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getcellindex_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ diagram.cellManager.getCellIndex("r01", "row"); // -> 0

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getsubheadercellid_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ diagram.cellManager.getSubHeaderCellId("sub01"); // -> "r01"

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getsubheadercellindex_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ diagram.cellManager.getSubHeaderCellIndex("sub01"); // -> 0

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/getsubheadertype_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ diagram.cellManager.getSubHeaderType("sub01"); // -> "row"

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
48 changes: 24 additions & 24 deletions docs/api/cell_manager/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,33 @@ description: You can have an overview of CellManager in the documentation of the

# CellManager overview

The DHTMLX Diagram library provides you with a set of APIs to manipulate [a swimlane and its cells](../../swimlanes/) dynamically. The API can be used both in the diagram and in the editor.
The DHTMLX Diagram library provides you with a set of APIs to manipulate [a swimlane and its cells](/swimlanes/) dynamically. The API can be used both in the diagram and in the editor.

## Methods

| Name | Description |
| :--------------------------------------------------- | :---------------------------------------------------------- |
| [](api/cell_manager/add_method.md) | @getshort(api/cell_manager/add_method.md) |
| [](api/cell_manager/getcellid_method.md) | @getshort(api/cell_manager/getcellid_method.md) |
| [](api/cell_manager/getcellindex_method.md) | @getshort(api/cell_manager/getcellindex_method.md) |
| [](api/cell_manager/getsubheadercellid_method.md) | @getshort(api/cell_manager/getsubheadercellid_method.md) |
| [](api/cell_manager/getsubheadercellindex_method.md) | @getshort(api/cell_manager/getsubheadercellindex_method.md) |
| [](api/cell_manager/getsubheadertype_method.md) | @getshort(api/cell_manager/getsubheadertype_method.md) |
| [](api/cell_manager/move_method.md) | @getshort(api/cell_manager/move_method.md) |
| [](api/cell_manager/remove_method.md) | @getshort(api/cell_manager/remove_method.md) |
| [](api/cell_manager/resetswimlane_method.md) | @getshort(api/cell_manager/resetswimlane_method.md) |
| [](api/cell_manager/setswimlane_method.md) | @getshort(api/cell_manager/setswimlane_method.md) |
| [](api/cell_manager/validation_method.md) | @getshort(api/cell_manager/validation_method.md) |
| Name | Description |
| :-------------------------------------------------- | :--------------------------------------------------------- |
| [add()](../cell_manager/add_method/) | @getshort(../cell_manager/add_method.md) |
| [getCellId()](../cell_manager/getcellid_method/) | @getshort(../cell_manager/getcellid_method.md) |
| [getCellIndex()](../cell_manager/getcellindex_method/) | @getshort(../cell_manager/getcellindex_method.md) |
| [getSubHeaderCellId()](../cell_manager/getsubheadercellid_method/) | @getshort(../cell_manager/getsubheadercellid_method.md) |
| [getSubHeaderCellIndex()](../cell_manager/getsubheadercellindex_method/) | @getshort(../cell_manager/getsubheadercellindex_method.md) |
| [getSubHeaderType()](../cell_manager/getsubheadertype_method/) | @getshort(../cell_manager/getsubheadertype_method.md) |
| [move()](../cell_manager/move_method/) | @getshort(../cell_manager/move_method.md) |
| [remove()](../cell_manager/remove_method/) | @getshort(../cell_manager/remove_method.md) |
| [resetSwimlane()](../cell_manager/resetswimlane_method/) | @getshort(../cell_manager/resetswimlane_method.md) |
| [setSwimlane()](../cell_manager/setswimlane_method/) | @getshort(../cell_manager/setswimlane_method.md) |
| [validation()](../cell_manager/validation_method/) | @getshort(../cell_manager/validation_method.md) |

## Events

| Name | Description |
| :-------------------------------------------------- | :--------------------------------------------------------- |
| [](api/cell_manager/aftercellsadd_event.md) | @getshort(api/cell_manager/aftercellsadd_event.md) |
| [](api/cell_manager/aftercellsmove_event.md) | @getshort(api/cell_manager/aftercellsmove_event.md) |
| [](api/cell_manager/aftercellsremove_event.md) | @getshort(api/cell_manager/aftercellsremove_event.md) |
| [](api/cell_manager/aftercellsvalidation_event.md) | @getshort(api/cell_manager/aftercellsvalidation_event.md) |
| [](api/cell_manager/beforecellsadd_event.md) | @getshort(api/cell_manager/beforecellsadd_event.md) |
| [](api/cell_manager/beforecellsmove_event.md) | @getshort(api/cell_manager/beforecellsmove_event.md) |
| [](api/cell_manager/beforecellsremove_event.md) | @getshort(api/cell_manager/beforecellsremove_event.md) |
| [](api/cell_manager/beforecellsvalidation_event.md) | @getshort(api/cell_manager/beforecellsvalidation_event.md) |
| Name | Description |
| :------------------------------------------------- | :-------------------------------------------------------- |
| [afterCellsAdd](../cell_manager/aftercellsadd_event/) | @getshort(../cell_manager/aftercellsadd_event.md) |
| [afterCellsMove](../cell_manager/aftercellsmove_event/) | @getshort(../cell_manager/aftercellsmove_event.md) |
| [afterCellsRemove](../cell_manager/aftercellsremove_event/) | @getshort(../cell_manager/aftercellsremove_event.md) |
| [afterCellsValidation](../cell_manager/aftercellsvalidation_event/) | @getshort(../cell_manager/aftercellsvalidation_event.md) |
| [beforeCellsAdd](../cell_manager/beforecellsadd_event/) | @getshort(../cell_manager/beforecellsadd_event.md) |
| [beforeCellsMove](../cell_manager/beforecellsmove_event/) | @getshort(../cell_manager/beforecellsmove_event.md) |
| [beforeCellsRemove](../cell_manager/beforecellsremove_event/) | @getshort(../cell_manager/beforecellsremove_event.md) |
| [beforeCellsValidation](../cell_manager/beforecellsvalidation_event/) | @getshort(../cell_manager/beforecellsvalidation_event.md) |
2 changes: 1 addition & 1 deletion docs/api/cell_manager/move_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ diagram.cellManager.move(0, "down"); // moves cells as rows

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/remove_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ diagram.cellManager.remove(0, "row"); // removes cells as rows

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/resetswimlane_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ diagram.cellManager.resetSwimlane(); // resets active swimlane

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/setswimlane_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ diagram.cellManager.setSwimlane("main"); // sets active swimlane

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/cell_manager/validation_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ diagram.cellManager.validation(0, "down", "move"); // -> true

**Change log**: Added in v4.0

**Related articles**: [Configuring Swimlanes](../../../swimlanes/)
**Related articles**: [Configuring Swimlanes](/swimlanes/)
2 changes: 1 addition & 1 deletion docs/api/data_collection/add_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ diagram.data.add({ type: "card", id: "3.2", text: "New Item" });
diagram.data.add({ type: "line", from: "3", to: "3.2" });
~~~

**Related articles**: [Adding an item](../../../guides/manipulating_items/#adding-an-item)
**Related articles**: [Adding an item](/guides/manipulating_items/#adding-an-item)

**Related sample**: [Diagram. Data. Add/delete item](https://snippet.dhtmlx.com/8wi20uop)
2 changes: 1 addition & 1 deletion docs/api/data_collection/filter_event.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The callback of the **filter** event is called with the following parameter:

- `object: {key: object }` - an object with all the active filters, where
- `key` - the id of an active filter
- `object` - an object with the [**rule** and **config** properties](api/data_collection/filter_method.md#parameters)
- `object` - an object with the [**rule** and **config** properties](/api/data_collection/filter_method/#parameters)

:::info
For handling the inner events of Diagram Data Collection you can use the **on()** method.
Expand Down
4 changes: 2 additions & 2 deletions docs/api/data_collection/filter_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ filter(
- `config` - (optional) an object which defines the parameters of filtering. The object may contain the following properties:
- `id` - (optional) the id of the filter
- `add` - (optional) defines whether each next filtering will be applied to the already filtered data (<i>true</i>), or to the initial data (<i>false</i>, default)
- `permanent` - (optional) *true* to make the current filter permanent. It will be applied even if the next filtering doesn't have the `add:true` property in its configuration object. Such a filter can be removed just with the [***resetFilter***()](api/data_collection/resetfilter_method.md) method
- `permanent` - (optional) *true* to make the current filter permanent. It will be applied even if the next filtering doesn't have the `add:true` property in its configuration object. Such a filter can be removed just with the [***resetFilter***()](/api/data_collection/resetfilter_method/) method

### Example

Expand All @@ -77,7 +77,7 @@ To revert the diagram to the initial state, call the `filter()` method without p
diagram.data.filter();
~~~

**Related articles**: [Filtering items](../../../guides/manipulating_items/#filtering-items)
**Related articles**: [Filtering items](/guides/manipulating_items/#filtering-items)

**Related sample**: [Diagram. Data. Filtering shapes](https://snippet.dhtmlx.com/tm43bsgn)

Expand Down
2 changes: 1 addition & 1 deletion docs/api/data_collection/find_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ const shape = diagram.data.find((shape) => {
});
~~~

**Related articles**: [Finding the necessary item](../../../guides/manipulating_items/#finding-the-necessary-item)
**Related articles**: [Finding the necessary item](/guides/manipulating_items/#finding-the-necessary-item)

**Related sample**: [Diagram. Data. Finding necessary shape](https://snippet.dhtmlx.com/sete9z73)
2 changes: 1 addition & 1 deletion docs/api/data_collection/findall_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ const shapes = diagram.data.findAll(function (shapes) {
});
~~~

**Related articles**: [Finding the necessary item](../../../guides/manipulating_items/#finding-the-necessary-item)
**Related articles**: [Finding the necessary item](/guides/manipulating_items/#finding-the-necessary-item)
2 changes: 1 addition & 1 deletion docs/api/data_collection/getfilters_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ getFilters({ permanent?: boolean }): object;

The method returns an object with the applied filters, where:
- `key` - the id of a filter
- `value` - an object with the [**rule** and **config** properties](/api/data_collection/filter_method.md#parameters)
- `value` - an object with the [**rule** and **config** properties](/api/data_collection/filter_method/#parameters)

### Example

Expand Down
2 changes: 1 addition & 1 deletion docs/api/data_collection/getitem_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ const shape = diagram.data.getItem(123);
const text = shape.text;
~~~

**Related articles**: [Getting an item](../../../guides/manipulating_items/#getting-an-item)
**Related articles**: [Getting an item](/guides/manipulating_items/#getting-an-item)
Loading