Skip to Content

how to make sap.ui.model.FilterOperator.Contains find values within one word

hello ,

I'm running filter on my list but the filter only return correct value if complete word is searched .

example if title is :

EX123 first title .

and I searched by EX123 , entry will be returned but if I only searched by 123 nothing will be returned .

is there is any way to make this happen ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 22, 2019 at 03:33 AM

    hi Ghadeer,

    your back-end logic needs to be modified to return the data based on the filter criteria passed.

    Whenever the filter option in back-end is read with CS or StartsWith....the service logic should filter such records.

    I assume as of now, by defaults records with option "EQ" are being used in back-end even if you pass Contains.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.