ember-table icon indicating copy to clipboard operation
ember-table copied to clipboard

minWidth and maxWidth do not appear to work

Open Subaku opened this issue 4 years ago • 4 comments

Hi,

Looks like setting the width attribute in my columns definition works however minWidth and maxWidth seem to be ignored. When I set them and look in the inspector I can see the inline styles for width, min-width, and max-width matching the default value of width which is 100.

Ember Source 3.17.0 Ember Table 2.2.3

Thanks!

Subaku avatar Apr 01 '20 22:04 Subaku

We're also running into something similar. We can set minWidth and it seems to work, but It seems like maxWidth is always completely ignored even if you set widthConstraint to none. Should that be the case?

bakerac4 avatar Nov 01 '22 14:11 bakerac4

Wondering why there has been no action on this since 2020 - documentation clearly says we can use maxWidth and minWidth property however they get ignored and the value of min and max are the exact same value of the width (if you set a value for the width)

Arash1381 avatar Nov 15 '22 01:11 Arash1381

Indeed width, minWidth and maxWidth style values are hardcoded to read from the width columnMeta, but the docs state that you can set all of them.

rreckonerr avatar Jan 26 '23 16:01 rreckonerr

any updates here?

majnikov avatar Sep 26 '23 12:09 majnikov