16
Views
3
Comments
Dynamic column in table records with fixed width
Question

Hi,

I have table record on my screen and displaying columns dynamically using extended properties. I need to give fixed width of columns but when columns are getting hidden, blank space (space of hidden columns) is appended on right side of screen.


Please provide solution to hide blank space dynamically but UI needs to be friendly.

mvp_badge
MVP
Rank: #69

Hi Rupal.

By default, the table would stretch to fil the available space. If you  don't want that, you can add Margin:auto to the table so it will center.

mvp_badge
MVP
Rank: #69

I don't see an image...


Set the table css with margin: auto; width: 10px;

This will make the width of the columns override the table width to fit.

Disclaimer: this is not ideal, but table width as been deprecated so I have no idea why OS still uses it instead of min/max width.