angular-ui/ui-grid

Added columns not getting restored.

Open

#3,476 opened on May 11, 2015

View on GitHub
 (6 comments) (0 reactions) (1 assignee)JavaScript (5,395 stars) (2,496 forks)batch import
good first issuegrid-savestate

Description

Newly added columns are not getting restored. Follow the below steps to reproduce the issue,

  1. Add new column (Click Add)
  2. save grid state in localstorage
  3. Change state of grid but don't save state
  4. Now restore grid state by clicking Restore button and this fetches settings from localstorage (working)
  5. However refresh the browser.
  6. Restore grid state from localstorage (Not working)

I have created plunker for this issue http://plnkr.co/edit/mR7lbG?p=preview

Contributor guide