I have got all the data from Gateway Server to my SAPUI5 program. Now, I dont want to show all the data which I got but want to show only one particular line item. I tried putting filter but it is not working.
Can some one please help me how to use filter in OData model. Please note that I am trying to filter at client side and not at server side
Request clarification before answering.
Hi ,
For general purpose filtering of odata you can use ?$filter = property eq 'value'
I your case you can use abc.xsodata/TDataSet?$filter = Scid eq 'value'
This should filter your odata values as Scid = value
You can refer :Home | OData - The Protocol for REST APIs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.