Store filter/column settings in localStorage

The filter and column settings in tables are stored per project and
context in the browsers localStorage. This makes the table keep the
settings even if the browser is refreshed or restarted.

The table emits a "componentStateChanged" event containing the tables
current state (filter/column settings) which then is saved by the top
level component.
This commit is contained in:
2019-03-28 10:29:13 +01:00
parent 67d1e05d10
commit a7c1f5aa39
7 changed files with 160 additions and 102 deletions

View File

@@ -9,6 +9,10 @@ class AttractRowBase extends RowBase {
onRowUpdated(event) {
this.underlyingObject = event.detail;
}
getStatus() {
return this.underlyingObject.properties.status;
}
}
export { AttractRowBase }