I am using the Handsontable Pro v1.15 with the new Angular Handsontable wrapper 1.0.0.beta-4.
I am hiding few rows in the table dynamically, in my component.ts file
this.hotTableInstance = this._hotRegisterer.getInstance(this.instance);
this.hiddenRowsPlugin = this.hotTableInstance.getPlugin('hiddenRows');
this.hiddenRowsPlugin.enablePlugin();
this.hiddenRowsPlugin.hideRows([0, 1, 2]);
this.tableHeight = 400;
this.hotTableInstance.render();
In my component.html,
<hot-table [height]="tableHeight]></hot-table>
When I use the hiddenRows
Plugin without setting table height, after it, the rows are getting hidden, but when I change the table height after setting hideRows
, the rows are not being hidden, but the height is being changed. I assume that, this is something related to rendering of the table. Please help me sort out this issue.