Primeng: dataTable add row on the fly

Created on 18 May 2017  路  3Comments  路  Source: primefaces/primeng

[X] bug report => Search github for a similar issue or PR before submitting

Plunkr Case (Bug Reports)
http://plnkr.co/edit/MQ5FEOcKTMeRYf8MtBfs?p=preview

  • Angular version: 4.0.0
  • PrimeNG version: 4.0.1 (with 4.0.0-rc.1 my demo run)

  • Browser: [all]

  • Language: [TypeScript]

you can add a row with the blue button to the list, but in DataTable the new entry is not show

Regards

Most helpful comment

you need to create a new list for the datatable to update

check this: http://plnkr.co/edit/YNKt89pVMsZAN4zRAnsk?p=preview

It was changed in 4.0.0-RC4: https://www.primefaces.org/primeng-4-0-0-rc4-released/

All 3 comments

you need to create a new list for the datatable to update

check this: http://plnkr.co/edit/YNKt89pVMsZAN4zRAnsk?p=preview

It was changed in 4.0.0-RC4: https://www.primefaces.org/primeng-4-0-0-rc4-released/

thx is works, pls close this issue

You can close it yourself without waiting for the intervention of the devs. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jisqaqov picture jisqaqov  路  3Comments

Faigjaz picture Faigjaz  路  3Comments

garethlewis picture garethlewis  路  3Comments

papiroca-tm picture papiroca-tm  路  3Comments

watalberto picture watalberto  路  3Comments