how to clear the filter on grid reload

how can i clear the filter on reload of the grid. could you also tell me if there is a command for the hiding the filters.

thanks in advance

There are no special API for acessing filters elements.
If you are using select or text filters, the next code will work

for (var i=0; i<grid.filters; i++)
grid.filters[i].value="";

>>if there is a command for the hiding the filters.
there are no such API also, but you can hide all row in header, where filter placed by
grid.hdr.rows[2].style.display=“none”;
2 - row index in header