angular-ui/ui-grid

Re initialize grid manually with fresh set of settings

Open

#4.459 geöffnet am 2. Okt. 2015

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
help wantedseverity: performancetype: enhancement

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I have a scenario when one grid could be replaced with another one with completely new set of data/features. However, I can't see a way to destroy existing grid and initialize a new one in its place. I saw couple issues when people were trying to init gridOptions after an async event and they could not. I haven't seen a solution to this though. It seems relevant to the question I'm asking, so I just put it out there. It also seems inconvenient that features can only be declared via a directive. There is no way to enable a certain feature via javascript.

Any help is appreciated.

Contributor Guide