Reputation: 15139
I am trying to set width of handsontable dropdown to be according to the lookup data width, not column width. How can this be achieved?
See picture below please. Dropdown is too narrow to fit lookup data.
Upvotes: 10
Views: 2583
Reputation: 508
https://github.com/handsontable/handsontable/issues/2599
Github has a section on this.
Add the trimDropdown
property. By default, this property is set to true. If you set it to false, this should accomplish what you need to do.
Upvotes: 4
Reputation: 7209
Yes, the Github fix on 0.16 will include this solution. It's actually really nice, I'm using it already.
Upvotes: 2