Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple grids on a page pointing to same URL/Action #123

Open
mayur-ownerrez opened this issue Jun 26, 2024 · 0 comments · May be fixed by #125
Open

Support multiple grids on a page pointing to same URL/Action #123

mayur-ownerrez opened this issue Jun 26, 2024 · 0 comments · May be fixed by #125

Comments

@mayur-ownerrez
Copy link
Contributor

If you add more than one grid on a page, which refers to the same Controller & Action name, then it was sharing the single cookie name & all the data like Filters/Sorts etc will be shared across both the grid. Since we are persisting the data in cookie, the same filter/sort may be applied to the grid on another page in application if they are pointing to same Controller/Action.

Eg.

Scenario 1:
Page 1 -> Grid 1 -> Contoller: Home, Action: GetData
Page 1 -> Grid 2 -> Contoller: Home, Action: GetData

Scenario 2:
Page 1 -> Grid 1 -> Contoller: Home, Action: GetData
Page 2 -> Grid 2 -> Contoller: Home, Action: GetData

We need a way to uniquely distinguish the grid on same or different page within application. Provide an option to pass GridIdentifier as param in request which will uniquely identify the grid.

@ithielnor ithielnor linked a pull request Oct 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant