Implementing Custom search using Dataview and Datagrid Nesting

Hi Experts, Hope you are doing Good!   I am implementing custom search in nested structure of dataview and datagrid2 using 2 entitites. I have search button and a text box outside DG2. Can you please help me creating Microflow for Search button and providing Xpath datasource to DG2 I have attached images of Microflow and pages below for your reference.  
1 answers

What is your reason to create a custom search functionality? With the provided information I see no reason not to use the default search capabilities.