akveo / akveo/ng2-smart-table

Bind question

Open
#507 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

Why does the grid does not bind new entries after I delete a row?

Also, when we delete a row, the delete is not reflected in the object array. Is this expected?

I added {{data | json}} in the basic-example-data.component's template to inspect the changes and I noticed that it does not bind new rows after I delete a row.

To reproduce this, add a new record through 'Add New' action. Delete any record clicking on delete. Add another record through 'Add new' again. The new value will not be included.

Edit
I added a plunker showing what's happening when we delete a row and/or try to add new row after deleting a row. [**Plunker**](https://plnkr.co/edit/2LEJiUDdvG2l2Svvp0gk?p=preview)

Regards

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.