closable
Optional. Enables closing of all the elements of the group panel
pro version only
The described functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.
note
The closable
property works only with the group
panel.
closable?: boolean;
Default value: true
Example
const grid = new dhx.Grid("grid_container", {
columns: [
{ width: 150, id: "country", header: [{ text: "Country" }] },
{ width: 150, id: "population", header: [{ text: "Population" }] },
{ width: 150, id: "destiny", header: [{ text: "Density (P/Km²)" }] },
{ width: 150, id: "area", header: [{ text: "Land Area (Km²)" }] },
],
group: true,
groupable: true,
closable: true,
data: dataset
});
The closable
property works with the group
panel.
Related article: Making group panel elements closable
Change log:
added in v9.0