Ticket T183473
Visible to All Users

ASPxGridView - Instant Search Panel in Detail Grid

created 10 years ago

Hi
A question regarding the new feature for the ASPxGridView.
Does the Instant Search Panel can search also in the details grid of the master grid?
If it doesn't do that automatically, is it possible to simulate this functionality?
Thanks
Dimitris

Answers approved by DevExpress Support

created 10 years ago (modified 10 years ago)

Hi,

I have created a small sample project that covers your scenario and operates correctly as shown in the satellite screencast. I hope reviewing it will help you find a solution to this problem. If it does not help, please update my sample to illustrate the problem. Then, I will see what goes wrong and do my best to find a solution.

UPDATE:

If you wish to use a single search editor for master and detail grids, set the ASPxGridViewSearchPanelSettings.CustomEditorID property of the master grid and synchronize its ASPxGridView.SearchPanelFilter property value with a corresponding property value of the detail grid in its Load and BeforePerformDataSelect event handlers. Attached is the modified sample. I hope this information helps.

Thanks,
Alessandro.

    Show previous comments (5)
    Alessandro (DevExpress Support) 10 years ago

      Hi,

      In this scenario, the record you are referring to cannot be found because, initially, search is performed against records in the master grid. If there are no occurrences, records are filtered out. So, in this scenario, you might need to implement custom searching logic. For instance, you can use the E2408 - OBSOLETE - ASPxGridView - creating external filter with the ASPxTextBox and highlighting search text code example as a starting point.

        Hello.

        I like the solution in "T183473v2.zip ".

        But I want to achieve something else now. I would like the search of the master grid to look in every single detail grid of each row in the master grid and if the search finds a match in the detail grid, then only it should show the master rows.

        Do you have any idea how to achieve this?

        Thanks in advance

        Regards

        DevExpress Support Team 7 years ago

          Hello,

          I've created a separate ticket on your behalf (T634888: ASPxGridView - Instant Search Panel in Detail Grid). It has been placed in our processing queue and will be answered shortly.

          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.