Skip to main content

multiselection

Optional. Enables multi-row/multi-cell selection in TreeGrid (only CTRL)

multiselection?: boolean;

Example

const treegrid = new dhx.TreeGrid("treegrid_container", {
columns: [
// columns config
],
multiselection:true,
selection:"row", // "cell" | "row" | "complex"
data: dataset
});

To use the multiselection property, enable the selection configuration option when initializing a treegrid.

Related sample: TreeGrid. Multiselection and drag-n-drop

Related articles:

Change log:

added in v8.1