Author Topic: saveState and loadState for multiple grids in angular 8  (Read 1938 times)

[email protected]

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 5
    • View Profile
saveState and loadState for multiple grids in angular 8
« on: February 05, 2021, 03:04:25 pm »
saveState and loadstate using local storage of a single grid with local filtering and paginating is working fine.

When we are doing it for multiple grids across the application is not working.

How to create a dynamic id for different grids for fetching the local storage item.?








[email protected]

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: saveState and loadState for multiple grids in angular 8
« Reply #1 on: February 07, 2021, 01:21:17 pm »
The save and load state is working fine for multiple grids, but the main issue is when we use the load state with the flex:{ one: true } for remote calls. How to approach using flex:{one : true}.

how to initiate the create function for flex:{one : true} for remote calls.


if flex is not used then everything is working fine. the column properties are displayed fine. The sorting, pagination, and filter (coulmn filter: { crules: [{ condition: 'contain' }] } ) is not working.
« Last Edit: February 07, 2021, 01:37:55 pm by [email protected] »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: saveState and loadState for multiple grids in angular 8
« Reply #2 on: February 08, 2021, 05:23:07 pm »
flex is not related to sorting, paging or filtering, so the issue is not understood.

Could you please share a stackblitz of the issue.