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
ASPxGridView - Instant Search Panel in Detail Grid
Answers approved by DevExpress Support
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.
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
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.