Skip to Content

How to pass Dynamic input value in view

Hi all,

     I'm working in HCP application, in the master view i want to pass the dynamic input value through item set, there pass the value directly like '00003001' but in that place have to pass input dynamic value and cal the oData service to display the data in master view Whether it's possible please suggest me some idea. i attach the code snippet here. Thanks in advance.

Dynamic value.png (32.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 03, 2015 at 04:53 PM

    Hello Vinothkumar,

    you wanna filter the list of your UI5 app?

    You can do that using the sap.ui.model.Filter class. Create an instance with your required filter value and apply it to the binding of the list. sap.ui.model.FilterOperator contains all possible filter operators.

    An example can be found in the UI5 tutorial regarding filtering: OpenUI5 SDK - Demo Kit

    The coding has to be done in an appropriate method of your controller of course.

    Best Regards,

    Florian

    Add comment
    10|10000 characters needed characters exceeded