Bài đăng

Hiển thị các bài đăng có nhãn binding

[sapui5] [list] [fragment] Fragment/Dialog binding not working

Hình ảnh
Possible reason: You haven't set model to that dialog/fragment. This is because of the ui5 framework concept: A new fragment will have its own model. If you want that fragment has the same model as the view. Please use the below command line: this.getView().addDependent(this.oPictureDialog); ---V---

[sapui5] Work with planning calendar

I found this useful topic regarding the pain point of Planning Calendar, where you can use the code to execute code on the event "updateRows" of Planning Calendar: https://stackoverflow.com/questions/35890915/is-there-an-event-in-sap-m-planningcalendar-for-the-rows-loaded ---V---

[sapui5] List binding remove application filter

Hi, I've search sapui5 API can find the function to remove all existing filter from sapui5 List Binding . Hence I need to find a workaround to reset the list binding (used in resetting search field). We have no function yet, so we need to empty the filter array by manual assignment: oListBinding.aApplicationFilters = []; oListBinding.sFilterParams = undefined; oListBinding.refresh(); We have some more method to empty an array, you can find here . p/s: Update on 02 Nov, 2017: to remove the filters, you just need to pass an empty array to the function: oListBinding.filter([]); This worked in SAPUI5 1.44 ---V---