Fixed row height

Tags: #<Tag:0x00007f8b19cb2f68>

Hi, i using handsontable in my express project.

when i scrolling to right, table’s row height was resized.
how to fiix it?

and scrolling to left, row height is to be restored.


using rowheight option, all row’s height is same.
but i want to change the height of only rows with images.

Hi @luigifabbri1021

Did you try to add the autoRowSize: true to your settings?

thanks,

i setting up autoresize option, but table is broken.

below is my setting codes.

how to fix it?

Can you share your columns settings and the logic of the image renderer, @luigifabbri1021 ?

here is code template

//jsfiddle.net/luigi1021/4ptw6hkx

and test video url

https://drive.google.com/file/d/1mogqdgc5lqQTJ2cSnPWuoa9J7sa5UFtU/view?usp=sharing

watch the video before checking the code.

Is there any way to fix the error?

Thank you for the demo, @luigifabbri1021

Please check if adding viewportColumnRenderingOffset: 10, (in this case 10 is the number of columns) removes the issue.

Updated demo: https://jsfiddle.net/1pgohxbd/

It’s perfect.

thanks.

Great. I’m glad I could help. I’m closing this thread as solved.

1 Like