Can I set a maximum for AutoColumnSize?

Hiya! :wave:huge fan of handsontable. I’m wondering if there’s a way to set a maximum for the AutoColumnSize widths? If you open a table with long strings in the rows, the columns can get really long. I like that the columns are automatically sized, but I’m wondering if there’s a way to say "you can autosize up to 300px"

1 Like

Hey @tim3

sorry to say but currently you can only have a fixed value or extensive (auto, default). You can try to take control over the column via afterChange hook (check how many chars there are) but as you can’t get back to auto it could work only one way - when a user types more text and do not delete it.