Skip to main content

closable

Optional. Either allows closing a particular element of the group panel or makes it permanently enabled

pro version only

The described functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.

Usage

closable?: boolean; 

Default value: true

Example

const grid = new dhx.Grid("grid_container", {
columns: [
{
id: "country",
header: [{ text: "Country" }],
// grouping of the "country" column is permanently enabled
// and can't be switched off via the group panel
closable: false,
},
// more columns configuration objects
],
group: {
order: [ "country" ]
},
// more options
});

Related article: Making group panel elements closable