Skip to content

Column header widths change after render #285

@L5eoneill

Description

@L5eoneill

Table rows render first, with column headers in the wrong widths. Then, they jump to the correct widths to go with the rows. This is especially visible when switching between tabs that each contain their own tables. It takes something like a whole second to settle down the table layouts, which isn't good for the user experience.

When I set all columns but one to fixed width:
<TableHeaderColumn dataField="thefield" dataFormat={theformatter} width="200">
The output is not reflecting the widths I set, and the headers still jump on tab switch.

The column headers aren't even in the same table as the data. I assume that's necessary for other functionality with sorting and such, but it is really breaking the rules of document structure!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions