Ticket S31977
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

ASPxFilterControl - Provide the capability to compare filter values among themselves

ASPxFilterControl - Allow construct rules [Column1] [operation] [Column2] like in WinForms

created 16 years ago

This question seems so simple but I cannot find any reference to it in the knowledge base. I need to filter the rows in a grid based on one column's equality to another column. Example might be "where column_a not equal to column_b". How can I accomplish this?
Shouldn't this be possible using the create filter option when ShowFilterBar is true?
Proposed Solution:
add a checkbox or combo next to condition:
Quantity Is greater than [x] column Store
here [x] column is a checkbox
or it can be a "column/value" combobox

Answers approved by DevExpress Support

created 9 years ago

Hello,

We have implemented the Operand Type button, which allows end-users to select an operand type: a value or another field's value. Please refer to the ASPxFilterControl - Provide the capability to compare filter values among themselves thread for more information. You can see this functionality in action in the How to construct rules like [Column1] [operation] [Column2] in ASPxGridView FilterBuilder example.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.