Column header widths change after render
See original GitHub issueTable 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!
Issue Analytics
- State:
- Created 8 years ago
- Comments:20 (7 by maintainers)
Sorry, never mind, my mistake, checked logs, some caching issue.
hi all, about the
react-bootstrap-table
in tab will cause a unalign problem, I’ve solved it in my new table structure plan and I’ll release it in near future. Sorry for a long time to wait 😭