expandAll()
expands all collapsed rows that contain child rows
note
The method works:
- for Grid in the default mode with the
subRow
configuration option - for Grid in the TreeGrid mode (with the
type: "tree"
configuration option)
expandAll(): void;
Example
const grid = new dhx.Grid("grid_container", {
type: "tree",
columns: [
// columns config
],
data: dataset,
});
grid.expandAll();
Change log:
added in v6.3