angular-ui/ui-grid

Added columns not getting restored.

Open

#3 476 ouverte le 11 mai 2015

Voir sur GitHub
 (6 commentaires) (0 réactions) (1 assigné)JavaScript (2 496 forks)batch import
good first issuegrid-savestate

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur