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_collapsed_config/ below:

Website Navigation


JavaScript Grid - collapsed Config

collapsed

Optional. Defines that Grid is initialized in the collapsed state

note

The property works only for Grid with the type: "tree" configuration option

collapsed?: boolean;

Default value: false

Example

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

Related sample: Grid (TreeGrid). Collapsed mode

Change log:

added in v8.1


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