david.juntak
david.juntak

Reputation: 61

handsontable row height doesnt match when using column freeze

PIC 1

PIC 2

when I used column freeze option I had this problem. Row height is okay when the cell only contain single line words like

"Amy should look around for any last items, notice the surfboard and then move to it."

but when the words become like this (have multiple line) the column freeze's row have different height :

"Amy should look around for any last items, notice the

surfboard and then move to it."

Upvotes: 3

Views: 1365

Answers (2)

Motin
Motin

Reputation: 5053

You can prevent this behaviour by enabling AutoRowSize plugin (autoRowSize: true)

Source: https://github.com/handsontable/handsontable/issues/493#issuecomment-155519503

If that does not work on it's own, try using both autoRowSize: true and autoColumnSize: true

Upvotes: 0

ZekeDroid
ZekeDroid

Reputation: 7209

Yes, I used to have this same problem and I'd wager you're using Bootstrap and have checkboxes in your code. If not, it may not be the same problem.

If it is, then you have to go into the Bootstrap code and remove the css that adds margins to checkboxes. That fixed it for me and should be entered as a bug in the git repo.

Upvotes: 1

Related Questions