We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Negation in filter expression

I try to apply a row-filter on a gridGroupingControl. e.g. a filter for name of persons. to show all rows where column "name" has the value ''Klaus'' I use following expression: [name] LIKE ''Klaus'' and that works fine ;-) but now I want to show all rows where "name" has a different value from ''Klaus''. But i can''t find how to use a NOT in the expression. Following does not work: NOT ([name] LIKE ''Klaus'') Also in the documentation "NOT" is not listed as operator in filter expressions. Can anyone give me a hint how to negate the expression of RecordFilterDescriptor? Thx, Klaus

1 Reply

AD Administrator Syncfusion Team January 19, 2006 02:10 PM UTC

OK - I found it by myself ;-) "([name] LIKE ''Klaus'') = 0" works fine! Klaus

Loader.
Live Chat Icon For mobile
Up arrow icon