Skip to content

A custom-action slot in the group header row #27

Description

@julien-f

A grouped column's header row only ever shows that column's own value (render/groupFormat) plus an optional selection checkbox — there's no extension point for an arbitrary per-group action (a button, a link, anything not tied to the grouped column's value).

Add a renderGroupHeaderActions(groupKey, rows) option that mounts a DOM node into the header row, mirroring how render already works for cells.

Needed for: any per-group action (e.g. "pick a random row from this group") that isn't a property of the grouped value itself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions