Skip to content

Feature request: column grouping #189

@NullVoxPopuli

Description

@NullVoxPopuli

Not dissimilar to #20

group a group b
sub a a sub a b sub b a sub b b
data a data b data c data d

configuration could look like this:

import { defineColumns, GroupedColumns } from 'the-group-plugin';
// ...
headlessTable({
  columns: () => defineColumns([
    {
      groupName: 'group a',
      columns: [...]
    },
   {
      groupName: 'group b',
      columns: [...]
    }
   ]),
  plugins: [GroupedColumns, ColumnReordering, ColumnResizing]
});

I think the existing column Re-ordering and Column re-sizing plugins should still work with grouped columns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions