Persisted state for grid are working flawlessly as I integrate them into ejs-grid components. But there's a problem: in order to get the localstorage value when the user refreshes or returns to the screen, I need to send currentPage and pageSize to the API.
In the sample that's provided below. There are several tabs that share the same grid element. Based on tabindex, we added dynamic refs.
When attempting to obtain localstorage grid data, I used the following approach. Grid data cannot be obtained using "ref." I tried referring to the documents, but it didn't help much. Please assist me in updating the request parameters upon grid initialization.