Questions about html filter in ng2-smart-table
未关闭
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 867
- PR 合并指标
- 30 天内没有已合并 PR
描述
I have 2 questions:
1 - What configuration do I need to make so that a column filter is activated when typing 1 character? In my implementation it works from 2 characters.
2 - I put the type of a column in my table as html because it shows a stripe with status color. As the column type is html how can I filter this column? Below is an example of a piece of code.
statusRDO: {
title: 'Status RDO',
type: 'html',
valuePrepareFunction: (row, data) => {
if (data.status === "1"){
return `
PREENCHENDO RELATÓRIO
`;
}
else if (data.status === "2"){
return `
REVISAR RELATÓRIO
`;
}
else if (data.status === "3"){
return `
APROVADO
`;
}
},
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。