ungroup()
resets the applied data grouping
ungroup(): void;
Example
const grid = new dhx.Grid("grid_container", {
columns: [
{ id: "salary", header: [{ text: "Salary" }] },
{ id: "experience", header: [{ text: "Experience (years)" }] },
{ id: "city", header: [{ text: "City" }] }
],
group: true,
groupable: true,
data: dataset
});
// grouping grid data
grid.data.group([
// grouping logic
]);
// ungrouping grid data
grid.data.ungroup();
Change log:
added in v9.0