how do I clear filter text in grid.

How do I clear the text in the text filter of a grid ? I am using version 1.6



solution given in the doc ['getFilterElement(0).value="" ] is available in version >=2.1



You can get reference to the filter input directly with DOM:
grid.hdr.getElementsByTagName(“INPUT”)[0].value="";