标签:fun ref arp ken lse ati number list 操作
表格列小箭头下拉下来的GridFilter 筛选操作
grid.getFilterPlugin().clearFilters();
grid.getFilterPlugin().getFilter(‘dataindex‘).setValue("value"); //string filter
grid.getFilterPlugin().getFilter(‘dataindex‘).setValue(true); //bool filter
grid.getFilterPlugin().getFilter(‘dataindex‘).setValue({gt:2, lt:9, eq:5}); //numeric filter
grid.getFilterPlugin().getFilter(‘dataindex‘).setValue({before: new Date(2008,0,1), after:..., on:...}); //date filter
grid.getFilterPlugin().getFilter(‘dataindex‘).setValue([‘item1‘, item2]); //list filter
grid.getFilterPlugin().getFilter(‘dataindex‘).setActive(false); //turn off filter
FilterHeader 操作见:https://examples2.ext.net/#/GridPanel/FilterHeader/Overview/
标签:fun ref arp ken lse ati number list 操作
原文地址:https://www.cnblogs.com/wkk2020/p/13180607.html