For my usecase I want the row height to be fixed and a vertical scroll should appear as soon as the text exceeds the row height.
I tried using “rowHeights” to fix height but the height increases with text size.
For my usecase I want the row height to be fixed and a vertical scroll should appear as soon as the text exceeds the row height.
I tried using “rowHeights” to fix height but the height increases with text size.
Hi @tm290392
That is right, the text automatically exceeds the height of the row (if you define colWidths also) and it’s currently the only behavior that Handsontable provides, but…
there’s a workaround http://jsfiddle.net/kqt8s1on/
In this case I used the html
type of renderer to closed the long data in another div with a class that has the fixed height but provide a scroll.
Thanks , that did the work for me.
Great! Glad I could help.
Have a nice day @tm290392