Which search bar are you using? By default, the datagrid does not have a search bar if datasource is microflow.
Hi Priyanka,
If you are using data source as microflow on data grid then I assume that you have Set Up Server-Side Paging and Sorting for a Microflow Data Source and a non-persistable entity (e.g. Home_DataGrid) is created for you automatically and there is a data source microflow (e.g. DS_Home_DataGrid_Create). Can you try going to this microflow and set the default value of the search Boolean attribute as required and see if that works?
Update:
I tried it myself using the steps below and this works.
If you follow same steps as above and add your required search attribute to Home_DataGrid entity, set the default value and update the retrieve XPath accordingly then this should give you the desired results.
Hope this helps!