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

Enhancement request for Grid.set columns using the JsonRest store #530

Closed
lixopmstp opened this issue Apr 5, 2013 · 1 comment
Closed

Comments

@lixopmstp
Copy link

Would it be possible to have a flag or something so that setting columns would not trigger a data request? Here's my use case: I have a Edit Mode button which when users click it puts editors on certain columns. What happens is when I call set columns the grid initiates a refresh and makes a request to the backend server for data. If the server has to run a slow query (or one that returns a lot of data) there is a noticeable delay, plus the grid data rows are blanked/deleted. I my scenario the data does not change, just the widgets used to display/interact with it. BTW, I do understand that in the more general case it makes sense to refresh the data and the UI.

@kfranqueiro
Copy link
Member

This sounds like a duplicate of #384, so I'm closing this one.

Accommodating this may require some refactoring in order to make dgrid reuse data that was previously obtained.

In the interim, perhaps dstore/Cache could help in these cases (with dgrid 0.4).

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

No branches or pull requests

2 participants