Add a listener on the beforechange
event of the paging toolbar. Something like this:
{
xtype: 'pagingtoolbar',
// ...
listeners: {
beforechange: function() {
this.up('grid').down('textfield[name=searchField]').setValue('');
}
}
}