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.
Doing this when grid's render event is fired:
Ext.getCmp('my_textbox_id').reset();
You can use javascript to clear your textbox check. Just search google on how to do this.
Check and uncheck checkboxes in Javascript
精彩评论