Andreas Dallner
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
11 months ago
#40130
::
Hi Jan,
if you also enable the sort button, this can easily be done by clicking the reset button.
If you want it o achieve it automatically it is more stable to change the view settings binding data. Else view settings dialog binding might or will overwrite your changes with next rendering again.
The other (maybe simpler) way is to get the intial settings via oData = this.getView().byId(“TABLE SID”).getTablePersonalizationSettings() on start and reload it each time you want to reset the view: this.getView().byId(“TABLE SID”).setTablePersonalizationSettings(oData).
-> For that you can also use the properties getTablePersonalizationSettings and setTablePersonalizationSettings in UI Action or BO Mapping.
Kind regards Andreas