Using Angular Wrapper:
When update the settings with hidden columns, on data load only one row is loaded initially. It requires one or two clicks by user to load all the data.
Is this is an open issue?
<hot-table [hotId]="alertgrid" [colHeaders]="alertHeader" [rowHeaders]="true" [dropdownMenu]="['filter_by_condition','--------------','filter_by_value','filter_action_bar']"
[filters]="true" [data]="alertData" [sortIndicator]="true" [columnSorting]="true" [manualColumnMove]="false"
[manualRowMove]="true" [columns]="alertColumns" [colWidths]="155" [outsideClickDeselects]="false" [multiSelect]="true"
(afterSelection)="afterSelection($event)" [contextMenu]="alertContextMenu"
(afterChange)="afterChange($event)" (afterRowMove)="afterRowMove($event)">
</hot-table>
var settings1 = {
licenseKey: ‘0000-0000-0000-0000-0000’,
hiddenColumns: {
columns: [5],
indicators: false
}
};
var gridInst = this._hotRegisterer.getInstance(this.alertgrid);
gridInst.updateSettings(settings1,false);
gridInst.render();