I searched in the forums for how to clear added grid filters and found only one old post about this
http://paramquery.com/forum/index.php?topic=519.msg3184;topicseen#msg3184, where the solution was to add $grid.pqGrid( "filter", { oper:'replace', data: [] } ); to the click event for the toolbar button.
That works to clear the filters from the grid and restore the data, however it leaves the text typed into the filter text fields. How do I clear out this text?
toolbar:
{ type: 'button', label: 'Clear Filters', listeners: [
{
"click": function (evt, ui) {
$grid.pqGrid( "filter", { oper:'replace', data: [] } );
}
}
]
},