fin-hypergrid / core

A canvas-based super high performant grid renderer API
MIT License
897 stars 144 forks source link

Implement maximumColumnWidth property #761

Closed joneit closed 6 years ago

joneit commented 6 years ago

This issue created on behalf of @RandomGHUser, from fin-hypergrid Issue #759:

A new property maximumColumnWidth will be implemented in version 3.1:

Maximum column width. When defined, column width is clamped to this value by Column.prototype.setWidth. Ignored when falsy. Respects resizeColumnInPlace property but may cause user confusion when user can't make column narrower due to next column having reached its maximum.

Note that column schema properties automatically set column properties of the same name so including maximumColumnWidth:20 for example in a column schema will set the column property.

joneit commented 6 years ago

To be merged with PR #762 and released in version 3.1.0.