Ticket Q206534
Visible to All Users

Filter TdxMemData via a TcxDBFilterControl

created 16 years ago

How do I use a TcxDBFilterControl to filter a TdxMemData? The TdxMemData does not support the Filter and Filtered properties. Is there any other code in my Suite from DevExpress that I can use to parse this filter string and compare it to the current record in the TdxMemData? Or will I need to implement my own parser and evaluator for this? Or is there another way to attach a TdxMemData to a TcxDBFilterControl?

Comments (1)
DevExpress Support Team 16 years ago

    Hello,
    Sorry, but there is no easy way to do this.
    Unfortunately, the only way to filter the ExpressMemData is to handle its OnFilterRecord event. I suggest that you review the "How to filter the ExpressMemData" article which can be found at: www.devexpress.com/kbA999 in this regard.
    The only solution we can suggest to you is to handle the Filtercontrol's OnApplyFilter event and parse its FilterText as you need.
    Thanks,
    Valdemar

    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.