enter image description here我使用agTextColumnFilter按文本过滤ag-grid列。我仅使用一个“包含”过滤器选项,因此尝试使用filteroptions隐藏文本框。有办法吗?我阅读了文档,但找不到任何方法。我怎样才能做到这一点
columnDefs = [
{
headerName: 'Column name',
field: 'Columns',
tooltipField: 'Columns',
suppressSizeToFit: true,
menuTabs: ['filterMenuTab'],
filter: 'agTextCotestlumnFilter',
filterParams: {
textCustomComparator: this.compareOverride,
filterOptions: ['contains'],
suppressAndOrCondition: true,
applyButton: true,
clearButton: true,
newRowsAction: 'keep',
}
}
]