Ticket T131766
Visible to All Users

Search via Find Panel does not filters

created 11 years ago

Good Day,

According to current Find Panel documentation "When searching, a grid control filters records, displaying only those that contain the entered search string". But I does not in my case.

Found this article https://www.devexpress.com/Support/Center/Example/Details/E2801. CustomRowFilter event is not being handled in my grid.
Please help.

Show previous comments (3)

    Hi Alisher,
    You wrote "The best solution in this case is to filter data at the data source level". Im using XPInstantFeedbackSource. If I understood you correctly I need to

    1. Create a new instance of data source (cause I cannot assign the FixedFilterCriteria property after binding to grid)
    2. Read ColumnViewOptionsFind.FindFilterColumns and ColumnView.FindFilterText and convert these values to CriteriaOperator.
    3. Assign CriteriaOperator to new data source.
    4. Assign new data source to my grid.
      If this is the best solution its hard to imagine how will look the worst. All I need is just to make invisible all rows which cells were not highlighted. Can I do this?
    Alisher (DevExpress Support) 11 years ago

      Hi Anatoliy,

      It appears that I misunderstand the issue you described. I apologize for this. Your last reply makes the situation clearer. From what I gather, the issue is that GridControl FindPanel highlights, but not filters records. If so, I just checked our Instant Feedback demo and the filtering works fine in it.
      So, I suppose that the issue may occur due to the specifics of your project. Would you please turn on the CLR exceptions (Control+D, E combination, and then check the CLR exceptions check box) in order to see if the application throws them. Also provide us with the SQL profiler log so we can examine it.

      Please keep me posted.

        Hi Alisher,
        Thanks for support. Looks like result of misunderstanding is my weak description of the problem, sorry. Profiler log with some explanation is in my next private comment.

        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.