fireDataProviderEventAction fails for ADP when keyAttributes is @index
Content
We are trying to do a mutation event (UPDATE) using fireDataProviderEventAction for an ADP.
The keyAttributes is @index for that ADP.
When we specify the Keys for the update we see a console error "unable to update items because an item with the keys [0] could not be located"
Is this an expected behavior when keyAttributes is @indexfor an ADP ?
If yes what is the suggested approach to update such an ADP (we want to update only one row and also that table can be sorted which means the current.index is not useful )
Attaching a sample app with this issue.
Tagged:
0