Column Widths Won't Enlarge
See original GitHub issueI have a rather simple React Table like ``` <ReactTable data={dataArray} columns={columns} />
Columns are not able to be enlarged when I click and drag, nothing happens.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Column width won't adjust - Google Groups
Column width won't adjust · 1. Click "layout" besides "Table Design" · 2. Click "Cell Margins" · 3. the "Table Options" window will...
Read more >Adjust the column size to see everything - Microsoft Support
Point to the separator to the right of the column that you want to widen. Point to separator. Drag the separator until the...
Read more >Column Widths Won't Enlarge · Issue #1355 · TanStack/table
I have a rather simple React Table like ``` Columns are not able to be enlarged when I click and drag, nothing happens....
Read more >How to change and AutoFit column width in Excel - Ablebits
Another way to autofit columns in Excel is by using the ribbon: select one or more columns, go to the Home tab >...
Read more >Column width won't budge in Elementor's Tablet ... - YouTube
Toggling your tablet view to refine your responsive design, but the columns won't do what you tell them? If your columns won't change...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There’s been some work on this, but it’s stalled because HTML tables don’t support manual width resizing when there are multiple-headers (col-span conflicts). Technically you can do this on your own in your Table component without any extra stuff from React Table. You could even implement this pattern: https://www.brainbell.com/javascript/making-resizable-table-js.html, but you won’t be able to use multiple headers.
We’ll keep working on a drop-in solution though. It might take some time. This shouldn’t discourage you from upgrading though. HTML tables are way better at automatic resizing that flexbox ever will be. With proper line breaks in your cell renderers when needed, you likely wouldn’t need resizing for most use cases (but there are a few where you would)
Thanks for the fast response, Tanner. It’s only for our big tables that we’re still using v6 but I’ll update them as well and try the solution you sent me since we aren’t using multiple headers anyway.