Skip to content

Support adding/removing table headers and footers #22548

Open
@jelbourn

Description

@jelbourn

Currently CdkTable doesn't offer a way to add/remove headers and footers dynamically. Users can hide and show them with CSS, but they always remain in the DOM.

I think we could support this in one of two ways:

  1. Add some code to the content query for defs to watch for changes and re-render
  2. Support doing this with when (or maybe a similar API)

Metadata

Metadata

Assignees

No one assigned

    Labels

    GThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/tablefeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions