1
以下の3つの入力グループ項目で値検索ヘルプのデータをフィルタリングするために、以下のコードを使用していますが、これらの3つのフィールドで指定されたデータをフィルタリングすることはできません。検索にフィルタバーフィールドを使用できません
var oFilterBar = new sap.ui.comp.filterbar.FilterBar({
advancedMode: true,
filterBarExpanded: true,
showGoOnFB: !sap.ui.Device.system.phone,
filterGroupItems: [new sap.ui.comp.filterbar.FilterGroupItem({ groupTitle: "foo", groupName: "gn1", name: "n1", label: "Orderid", control: new sap.m.Input()}),
new sap.ui.comp.filterbar.FilterGroupItem({ groupTitle: "foo", groupName: "gn1", name: "n2", label: "OrderType", control: new sap.m.Input()}),
new sap.ui.comp.filterbar.FilterGroupItem({ groupTitle: "foo", groupName: "gn1", name: "n3", label: "Planplant", control: new sap.m.Input()})],
search: function() {
// var iOrder = sap.ui.getCore().byId("oFilterBar");
// sap.m.MessageToast.show("Search pressed '");
oTable.bindRows({path: "/OrderDataSet", filters: [
new sap.ui.model.Filter("Orderid",sap.ui.model.FilterOperator.EQ, iOrder)]
// new sap.ui.model.Filter("Planplant",sap.ui.model.FilterOperator.EQ, iPlan),
// new sap.ui.model.Filter("Description",sap.ui.model.FilterOperator.EQ, iDes)]
});
}