开发者

Clearing filters in a grid

开发者 https://www.devze.com 2022-12-18 22:15 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消