This commit is contained in:
2023-04-25 14:40:03 +08:00
parent 08e58b3abc
commit d7728ebfd6
4 changed files with 29 additions and 5 deletions

View File

@ -45,7 +45,7 @@ interface GridColumnDefinition {
allcheck?: boolean;
events?: { [event: string]: any };
attrs?: { [key: string]: string } | ((item: GridItem | any) => { [key: string]: string });
// TODO: allowFilter?: boolean;
allowFilter?: boolean;
filter?: (item: GridItem | any) => any;
sortFilter?: (a: GridItem | any, b: GridItem | any) => -1 | 0 | 1;
bgFilter?: (item: GridItem | any) => string;