我正在使用 gridx/grid 来制作网格,其中使用了“IndirectSelect 和 ExtendedSelect”复选框。问题是,当我选择一些复选框然后在过滤器中输入内容时,所有选中的复选框都未选中。
有没有办法在使用过滤器时保持复选框选中状态?
请帮忙。提前致谢。
以下是创建网格的代码:
this.grid=new Grid({
id: 'grid',
cacheClass: Cache,
store: this.store,
structure: this.layout,
vScrollerBuffSize: 300,
selectRowTriggerOnCell: true,
barTop: [
DropDownPager,
{ pluginClass: QuickFilter, style: 'text-align: right;' }
],
barBottom: [
LinkSizer,
{ pluginClass: Summary, style:'text-align:center' },
{ pluginClass: LinkPager, style: 'text-align: right;' }
],
modules: [
extendedSelect,
RowHeader,
IndirectSelect,
CellWidget,
ColumnResizer,
Bar,
VirtualVScroller,
{ moduleClass: Pagination, initialPageSize:10 },
Filter,
FilterBar
],
autoHeight: false
}, document.createElement('div'));