angular-ui/ui-grid

Importer API error

Open

#5,826 建立於 2016年11月22日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人)JavaScript (2,496 fork)batch import
good first issue

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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)) }

貢獻者指南