persistentState not working with Angular 7

Tags: #<Tag:0x00007efc61cf03f0>

I have implement handson table in my Angular JS project. and I have used persistentState true option. but when page reload column setting not up to date. it show as previous

<hot-table
[settings]=“hotSettings”
[hotId]=“id”
[columnSorting]=“true”
[manualColumnMove]=“true”
[manualColumnResize]=“true”
[persistentState]=“true”>

Welcome @lokesh.jain

Your issue sounds similar to this one https://github.com/handsontable/handsontable/issues/5480

Can you confirm?

No, my concern is difference.
I am working with Angular JS (Ver. 7) framework, and use Handson table in one of component.
I have persistentState enable as like below
<hot-table
[hotId]=“source_matrix”
[rowHeaders]=“false”
[data]=“datasetpass”
[colHeaders]="[‘Inventroy ID’,‘Warehouse Product Name’,‘Client Product ID’,‘Expiration Date’,‘Client Product #’,‘Supplier Product #’,‘Warehouse Product #’]"
[filters]=“true”
[dropdownMenu]=“true”
[stretchH]=“none”
[columnSorting]=“true”
[manualColumnMove]=“true”
[manualColumnResize]=“true”
[persistentState]=“true”>
But, when I change width or sort any column, Its show value saved in localstorage, but when I reload page, handson table appear as default setting. means column width or sorting not applied.

But this is working in HTML page, which I have ready for POC.

Here any problem with handson table persistentState with Angular framework.

Hey @lokesh.jain

currently there is a problem with persistent state https://github.com/handsontable/handsontable/issues/2113

I will let you know as soon as it gets fixed.

https://github.com/handsontable/handsontable/issues/2113 has been closed as outdated