Skip to content

Header toolbar for Grid #986

@rolfsmeds

Description

@rolfsmeds

Description

An optional toolbar above the column headers could be useful for a number of features:

  • For displaying the Grid's title, which is a very common need, and was available as the "caption" of a Grid/Table in V8/7.
  • For a column visibility toggle (Add Column visibility toggler for the grid flow-components#1603) instead of overlaying the column header row.
  • For a filter row toggle (that toggles the visibility of a filter row below the headers)
  • For providing a place to slot custom features relevant for a Grid (e.g. a non-column-specific quick search field, a "New item" button, an "Export" button...)
  • Buttons for toggling a "column management mode" for reordering and resizing column using keyboard

Sketch of what this might look like:
image

An opt-in footer could also be useful, e.g. for displaying the total number of items and currently filtered and/or selected items. Today this can be done using footer rows, but that approach is unncessarily complicated for something that doesn't need to fit into the Grid's columns.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions