predixdesignsystem / px-data-grid

Predix UI component which defines a data grid
https://www.predix-ui.com/#/elements/px-data-grid
Apache License 2.0
12 stars 20 forks source link

how can we be notified of a change of value (ie : after a click on the save button) ? #809

Closed stephanepilla closed 5 years ago

stephanepilla commented 5 years ago

Hello,

I need to be notified of a value change after the user clicks on the save button in order to send the new value to the server. How can this be done ?

I've already tried the following :

Any other idea ?

benoitjchevalier commented 5 years ago

I guess the item-save would make the most sense, maybe issue a quick PR to add the saved item to this event? The item should be available in e.model.item in here

stephanepilla commented 5 years ago

Bonjour Benoit,

Thanks. I've just created the PR.

benoitjchevalier commented 5 years ago

Fixed in v1.0.8