How to prevent oj-dynamic-table from adding a row to BDP when no actual data change
Summary:
I am using oj-dynamic-table bound to a BufferingDataProvider (BDP over SDP).
When a user enters row edit mode and exits without changing any values, the row is still added to BDP as an unsubmitted update. Because of this, the Save button gets enabled incorrectly, since it is controlled using the BDP submittableChange event. I want to prevent rows with no actual data change from being added to BDP.
Content (please ensure you mask any confidential information):
The update of rows into the BDP is auto-handled by oj-dynamic-table.
I am not callingupdateItem() explicitly from any action chain.
The table is directly bound to the BDP, and when a row edit completes, the Dynamic Table itself performs the update into BDP.
Tagged:
0