views:

135

answers:

2

Hi ,

I am working on clearing filters in the grid.

grid.filters.clearFilters() will clear the filters on page refresh i.e it will uncheck the checkbox and all the records are displayed but the text in the textbox is not cleared

How can i clear the texbox value when i hit page refresh.

A: 

You can use javascript to clear your textbox check. Just search google on how to do this.

Check and uncheck checkboxes in Javascript

Younes
A: 

Doing this when grid's render event is fired:

Ext.getCmp('my_textbox_id').reset();
rodrigoap
thanks..it is working :-)
xrx215