Skip to Content

SAP WebIDE: Filter from inputhelp tableselect dialog

Hi,

I am trying add popup dialog to select state. There is a search field to filter displayed items on Popup. I am trying to filter based on input. it is not filtering the "items". Did I miss something. Please help me.

var sValue = oEvent.getParameter("value");
var oFilter = new Filter("Bland", FilterOperator.Contains, sValue);
var oBinding = oEvent.getSource().getBinding("items");
oBinding.filter(oFilter, "Application");

Thank you,

Balaji P.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 06 at 06:01 PM

    Hi,

    I used the sample code from the below link.. (Used the logic behind first button from the view).

    https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.TableSelectDialog/preview

    Standard sample is working fine.When I do with States, it is not searching with given text.

    i attached my sample screenshots1,2 and 3.

    statef4-screenshot1.jpg

    statef4-screenshot2.jpg

    statef4-screenshot3.jpg

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 06 at 10:19 AM

    Hi! Provide https://jsbin.com/ expamle please.

    Add comment
    10|10000 characters needed characters exceeded