on 03-22-2022 4:09 PM
Hi! Is there any way to check all the errors in a Smart Table, when you enable the edit mode?
(editable="true" & app:useSmartToggle="true" & app:useSmartField="true" )
For example in a Smart Form, if we want to check before a save if there are any issues, we can use the ".check()"
https://sapui5.hana.ondemand.com/#/api/sap.ui.comp.smartform.SmartForm%23methods/check
Do we have something similar for a Smart Table? Cuz I didnt find anything.
My issue is: I have a Smart Table with a Grid Table, and I want one field to be mandatory, how I can check if all rows have that field filled? Because if they change one row and set it as empty, that change wont appear in the getPendingChanges because technically its an error so it’s not updated. The same way, I can't go one by one of the contexts and get the actual context to check the value in the object, because technically in the model, as it’s an error, it still appears the prev. value and not the updated empty value.
Also as its a grid table, I can't just get the rows aggregation and check it, because that aggregation only contains the visible rows, not ALL the rows from the table.
Any clues?
Thx for your help 🙂
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.