‎2025 Feb 24 2:47 PM - edited ‎2025 Feb 24 3:29 PM
Hello!
How do I read values in a Rule from an editable DataTableColumnItem ("EditType": "List") in a DataTable OnValueChange and write them to another cell on the same row? The Table is populated via an OData-Service-Binding and the options for the column in question are either an "Object Collection" or an "Object Binding on EntitySet".
The Mentor-App has such an example but I can't find the source code for that.
@bill_froelich @Jitendra_Kansal78
Request clarification before answering.
Can you please provide more details on where / what you see in the Mentor App?
You can access the changes using the getChanges API method. You may want to review the What's New blog when we introduced the feature in MDK 23.3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for answering so quickly.
Unfortunately, we are not able to retrieve changes using:
clientAPI.getControl('SectionedTable0').getSection('SectionDataTable0').getChanges();
// or:
clientAPI.getPageProxy().getControl('SectionedTable0').getSection('SectionDataTable0').getChanges();
Depending on whether we use getPageProxy() or not we either get an empty array or an empty object.
And the Mentor app example I was referring to is the Mentor demo app of the client app. In there, the data table showcase has our desired functionality.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.