on 03-14-2017 12:03 PM
Hi All,
As per the requirement, I have to use the value help dialog control for a field Order with exclude option. I have a range table as input and the filter string need to be passed is $filter=not(order eq ‘value’). Can we achieve this using sap.ui.model.filter?
Please let me know your valuable inputs.
Regards,
Jeffin George
Hi @Jeffin you can do something like this:
new sap.ui.model.Filter(
"order",
sap.ui.model.FilterOperator.NE,
"value"
)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Emanele,
Thanks for your replay.
I tried that it works if we have only one condition. I have range table as input and when I use the operator NE as mentioned, the values will be inclusive in the range table, SIGN field will be I. It works fine if there is no other condition.
Suppose I have 2 conditions i.e. Order BT 1 and 3, Order NE 3 and the expected output is Order 1 and 2, but in this scenario it fails. If we are using NE with other condition then it should be exclusive (SIGN = ‘E’) in the range table to get the expected result.
Regards,
Jeffin George
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.