angular-ui/ui-grid

Importer API error

Open

#5 826 ouverte le 22 nov. 2016

Voir sur GitHub
 (0 commentaires) (1 réaction) (0 assignés)JavaScript (2 496 forks)batch import
good first issue

Métriques du dépôt

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

Description

The object that is passed into setRowsDirty should be of type GridRow, instead its the one imported from file or json....This is causing the following error on the log as already mentioned in #5815

addObjects: function (a, c, d) { if (a.api.rowEdit) { var e = a.registerDataChangeCallback(function () {a.api.rowEdit.setRowsDirty(c), e() }, [b.dataChange.ROW]); a.importer.$scope.$on("$destroy", e) } a.importer.$scope.$apply(a.options.importerDataAddCallback(a, c)) }

Guide contributeur