domino-ui
domino-ui copied to clipboard
Data table with fixed height, but flexible (auto) column width.
foal @foal нояб. 05 08:25 Is it possible somehow to have data table with a fixed height, but flexible column width?
Ahmad K. Bawaneh @vegegoku нояб. 05 08:29 did you try with a fixed table .. but without fixing the columns widths? set the table as fixed but dont fix any column width
foal @foal нояб. 05 09:31 Yes. It didn't work
Ahmad K. Bawaneh @vegegoku нояб. 05 09:32 i will find some time today to work on your issues so basicly you need to fix only the table height
foal @foal нояб. 05 09:35 Thank you! Yes, I need the table with fixed height (and body scroll if necessary).
Now it looks like
Mayby this will help to solve the issue https://codepen.io/yavuzselim/pen/LNYrBd
Mayby this will help to solve the issue https://codepen.io/yavuzselim/pen/LNYrBd
In the codepen the width of the columns isnt auto, it is actually uses a percentage widths. this behavior is achievable but it requires all columns to have a percent width and the total should be 100% in order to render the table correctly. @foal if you still think it is worth the efforts i will gladly implement it. but as i said then you have to set the percent width for all columns.
I know this is an old request, but I would vote +1 for this. I have a couple of tables where I would like the width to be flexible but the height fixed.