Hi Randy,
We are a little bit confused about your requirement because we have checked your provided code snippet and we saw that there is no SearchBox used in the MainTab. So, could you please let us know where two search boxes should be loaded in the view and also let us know if you want to filter the records for both grids or a single grid? Based on that we will implement the filter operation.
Regards,
Karthik Raja