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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Negation in filter expression

Thread ID:

Created:

Updated:

Platform:

Replies:

39842 Jan 19,2006 11:33 AM UTC Jan 19,2006 02:10 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 19, 2006 11:33 AM UTC

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

Administrator [Syncfusion]
Replied On January 19, 2006 02:10 PM UTC

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;