Skip to content

Ability to set colSpan for Cell #5862

@jussirantala

Description

@jussirantala

Provide a general summary of the feature here

It would be very useful to be able to set colSpan for the td element rendered by Cell.

It is used to make a cell fill more than one column for special table layouts.

🤔 Expected Behavior?

colSpan prop is in Cell prop types and the prop is passed to td.

😯 Current Behavior

colSpan prop is not passed to td.

💁 Possible Solution

Pass colSpan to td. I tried to hack this by modifying DOM directly and it worked.

🔦 Context

We would use it for displaying a error message inside the table. It should be horizontally centered and fill all the columns.

💻 Examples

No response

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

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