how to remove search button in datagrid/template grid

is there any way to remove search button in data grid . i am performing one action where not required edit and search button just required add and delete action. so edit button sucsessfully removed from page but search button not remove and it shows error. plz help me out in this
1 answers

If you are using XPATH or database as datasource, in the same tab you will be able to disable the search.

See below image and select Never for Show search bar. 

When using datasource as Microflow and association, it is disabled by default.