【发布时间】:2019-07-06 09:14:16
【问题描述】:
尝试在 ag-grid 过滤器文本中显示默认值。在过滤器参数中,我想给用户显示一个默认值,不仅要应用于结果
this.columnDefs = [
{
headerName: this.pageData["tbm.line.list.grid.phonenumber"],
field: 'tn',
/*sort: "asc",*/
sortable: true,
filter: "agTextColumnFilter",
filterParams: { filterOptions: ['contains'], apply: true },
//tooltip: (params) => 'Address: ' + params.value,
headerTooltip: 'Phone Number',
// editable: true,
// checkboxSelection: true,
// headerCheckboxSelection: true,
// headerCheckboxSelectionFilteredOnly: true,
width: 150
},
【问题讨论】:
标签: angular ag-grid ag-grid-angular