R.D. Henry and Co.
asked on 14 Jan 2022, 03:55 PM
| edited on 14 Jan 2022, 03:55 PM
How can I get all parent rows to expand when the search criteria is met? Currently, only the parent of the first occurrence of the search result expands.
Other parents have to be manually expanded to see if the search was found.
Thanks
1 Answer, 1 is accepted
0
Dinko | Tech Support Engineer
Telerik team
answered on 19 Jan 2022, 09:40 AM
Hi Curtis Hines,
What comes up to my mind is to get the GridViewSearchRowInfo row. In its SearchProgressChanged event handler, you can get all cells that match the searching criteria. Then you can get their row info object and set their IsExpanded property to true.
I have tested this approach on my side and it is working. But the project is pretty simple and I am not sure if it is going to cover all your scenarios but you can try it. You can share if it is working in your application.