Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onSearch: function (oEvent) {
- var aFilters = [];
- var sQuery = oEvent.getSource().getValue();
- if (sQuery && sQuery.length > 0) {
- var filter = new Filter("emplLName", sap.ui.model.FilterOperator.Contains, sQuery);
- aFilters.push(filter);
- }
- var oList = this.byId("idEmployeeTable");
- var oBinding = oList.getBinding("items");
- oBinding.filter(aFilters, "Application");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement