David-Mulder / paper-datatable

A material design implementation of a data table.
GNU General Public License v3.0
237 stars 92 forks source link

How to add empty row and bind it back to VM? #128

Open TakhirMamirov opened 7 years ago

TakhirMamirov commented 7 years ago

I have a datatable binded with the data collection. On the last row click I would like to add empty editable row at the end, populate it and, ideally, my VM should be also automatically updated with that additional object. While I can add an empty row via JS, I can't force linked VM to be updated. Is there any more efficient way to do it?