Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set dropdown width in handsontable

Tags:

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

like image 368
husayt Avatar asked Feb 14 '15 01:02

husayt


2 Answers

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.

like image 69
Constuntine Avatar answered Sep 18 '22 18:09

Constuntine


Yes, the Github fix on 0.16 will include this solution. It's actually really nice, I'm using it already.

like image 31
ZekeDroid Avatar answered Sep 19 '22 18:09

ZekeDroid