paper-datatable
paper-datatable copied to clipboard
Is there a way to know the new value right after the cell was edited?
Hi! Yes, you can use official documentation for this.
You need to add set
function to data-source
object (I think you added it already) and inside it function call another like updateFunction(item._id, property, value)
and send few attributes to it (id, changed prop and new value).
This function updateFunction
must return Promise and you can catch the changed property and value in it.