Implement automatic calculation of the column width when adding it #75
iakovalgaev
started this conversation in
Ideas
Replies: 2 comments 1 reply
|
Works as intended. But thanks for raising the issue of missing documentation here! When creating your theme with a custom layout, you can create a dynamic grid-template-layout. Check the following example and let me know if it makes sense: For every hideable but shown column, we allocate a minmax(0, 1fr) grid item. In the example the first and last column are not hideable and take up a fixed space of 36px. The rest of the displayed columns take up all the remaining space evenly. |
1 reply
|
I had the same issue, even after implementing what @rwieruch suggested. Then I realised I had So posting here in case someone else has the same issue. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
2 of the five columns are hidden. When I turn on a column, my --data-table-library_grid-template-columns is updated, but the column takes a different width. And only after the page is refreshed, the included column takes that width from --data-table-library_grid-template-columns
All reactions