Skip to content

[Table] Allow for columns to accept an icon and render an Icon instead of text for the TableHeader #3806

@JoshPF

Description

@JoshPF

What package is this for?

  • React
  • Angular

Summary

Please describe your request in one or two sentences.

Allow the Table component's columns prop to accept an icon per column. If an icon is passed in, the TableHeader will use that Icon, and will use name as the iconDescription.

Additional context Add any other context or screenshots about the feature
request here.

image

Screenshot above is a simple example of having an icon in a TableHeader in a standard Carbon table.

We want a single TableHeader in a Table to use an Icon rather than text. We need the IoT Table to allow for this as well, as we use the IoT Table in areas where we have nested data rows.

Specific timeline issues / requests

Do you want this work within a specific time period? Is it related to an
upcoming release?

NB: The core contributors will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!

Available extra resources

What resources do you have to assist this effort?

Carbon add-ons for Watson IoT is a collaborative system. We encourage teams to
build components and submit them for integration.

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