Marcin
Marcin

Reputation: 427

Handsontable - manually rerendering grid

I wondering is it possible to call some method, to manually rendering grid in Handsontable ? I need it, because after init, my first row has too big height. When I scroll the grid up and down, first row is rendered again properly. That's because ia have fixedRow, columns span and texts at first row cells are long.

I've tried Render() method but it didn't help. Only scrolling works.

Upvotes: 1

Views: 474

Answers (2)

Marcin
Marcin

Reputation: 427

Thanks for your help, but it didn't work. But I've solved the problem.

It was wrong meta configuration. I have

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=9" />

content should be IE=10 or higher to proper Handsontable work.

Upvotes: 1

mpusarla
mpusarla

Reputation: 497

You can try calling updateSettings and render.

hotInstance.updateSettings({});
hotInstance.render();

Upvotes: 2

Related Questions