A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/grid/api/grid_collapseall_method/ below:

Website Navigation


JavaScript Grid - collapseAll Method

collapseAll()

collapses all expanded rows that contain child rows

note

The method works:

collapseAll(): void;

Example​
const grid = new dhx.Grid("grid_container", {
type: "tree",
columns: [
// columns config
],
data: dataset,
});

grid.collapseAll();
Change log:

added in v6.3


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4