javascript - ng2-smart-table does not bind after delete -
i trying use ng2-smart-table show data , inline editing. seems wrong component. cloned repo , run tests locally. got basic example demo , added input data object see changes/binding in object:
<ng2-smart-table [settings]="settings" [source]="data"></ng2-smart-table> <pre>{{data | json}}</pre>
when "add new" row, shows new entry in object array expected. editing row works too, updating row properly. however, when delete row, object not change , keeps showing deleted row in object array not in grid. when try add row, shows new row in grid, not update/bind new value in object array. update still works expected.
i post question in ng2-smart-table's github , got not answer there hope can here.
so real bug? here plunker tests.
thank y'all.
wiki
Comments
Post a Comment