From c9e791826bb5aa3220dc1ed6d613a2899ef315f9 Mon Sep 17 00:00:00 2001 From: Kerem Kayacan Date: Fri, 7 Jan 2022 14:51:59 +0300 Subject: [PATCH] Input suggestion --- src/new/input-suggestion.txt | 11 +++++++++++ odatamodel-read.txt => src/new/odatamodel-read.txt | 0 2 files changed, 11 insertions(+) create mode 100644 src/new/input-suggestion.txt rename odatamodel-read.txt => src/new/odatamodel-read.txt (100%) diff --git a/src/new/input-suggestion.txt b/src/new/input-suggestion.txt new file mode 100644 index 0000000..9607739 --- /dev/null +++ b/src/new/input-suggestion.txt @@ -0,0 +1,11 @@ + + + + +*********************************************************** + + onCategorySuggest: function (oEvent) { + oEvent.getSource().getBinding("suggestionItems").filter([new sap.ui.model.Filter("Categoryname", sap.ui.model.FilterOperator.Contains, + oEvent.getParameter( + "suggestValue").toUpperCase())]); + }, \ No newline at end of file diff --git a/odatamodel-read.txt b/src/new/odatamodel-read.txt similarity index 100% rename from odatamodel-read.txt rename to src/new/odatamodel-read.txt