on 04-11-2017 9:33 AM
share you search function or dialog related code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
var sValue = oEvent.getParameter("value");
var oBinding = oEvent.getSource().getBinding("items");
var oFilter = new Filter("Fictr", sap.ui.model.FilterOperator.Contains, sValue);
oBinding.filter([oFilter]);
//If did not find any items, use search at another field.
if (oBinding.getContexts().length < 1) {
oFilter = new Filter("Bezeich", sap.ui.model.FilterOperator.Contains, sValue);
oBinding.filter([oFilter]);
}
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.