husayt
husayt

Reputation: 15139

How to set dropdown width in handsontable

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. screenshot

Upvotes: 10

Views: 2583

Answers (2)

Constuntine
Constuntine

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

ZekeDroid
ZekeDroid

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

Related Questions