How to properly adjust table column width
When attempting to adjust column widths in this table, the add/remove row buttons take up an obscene amount of space. Is there a way to keep them the same size, allowing me to better use the remaining table width?
-
Official comment
Hi William,
If the column widths do not add up to 100% or the total px width of the table, the add/remove column automatically resizes to take up the remaining space. We have an enhancement ticket (TIP-28383) for our developers to look into improving this behavior for tables.
In the image, it appears you want each column to be 25% of the total width (not 25px). If that is true, please make sure to add the % sign after each value, e.g. 25% 25% 25% 25%. This should resolve the issue.
Use %s that add up to 100% or px values that add up to the width of your table (about 660px is the default, this might change if you've changed your form's width property.) If you plan to show/hide columns in use mode, I recommend making the width add up to greater than 100% so that when one is hidden, the add/remove row doesn't expand.
I hope that helps!
Megan
-
That explains it perfectly. Thank you for the help!
0
Please sign in to leave a comment.
Comments
2 comments