cancel
Showing results for 
Search instead for 
Did you mean: 

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

titanium
Participant
0 Kudos

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 ?

maheshpalavalli
Active Contributor
0 Kudos

Which service are you calling? And is the contains operation implemented in the service for your query to work?

Accepted Solutions (0)

Answers (1)

Answers (1)

mvaibhav
Contributor

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.

Thanks,

Vaibhav