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

Save grid column state #13

Closed
jijukjose opened this issue Sep 18, 2016 · 1 comment
Closed

Save grid column state #13

jijukjose opened this issue Sep 18, 2016 · 1 comment
Assignees

Comments

@jijukjose
Copy link
Contributor

The grid capture columns should be saved and restored.
Once the grid columns are successfully saved to the server, it must be also stored to the session storage.
Next time when the grid column access from the server fails, it should be taken from the session strorage

@jijukjose jijukjose self-assigned this Sep 18, 2016
@jijukjose
Copy link
Contributor Author

The GridColumnService in dhis2.angular.services.js is modifed by adding the get/set functions to save/restore grid column configurations configured by the user using the /api/userDataStore/GridColumns api. Once the save operation to the said end point is successful, the configuration is saved to the SessionStorage as well. This will be used if the server call for restoring the grid columns fails.

@larshelge larshelge changed the title save grid columns Save grid column state Sep 19, 2016
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

1 participant