1 year 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