开发者

Clearing filters in a grid

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜