Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 3a99f20

Browse files
authored
Merge pull request #96 from edwardbr/patch-1
Formatter returns a string or an object
2 parents bc4919f + 975e04d commit 3a99f20

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
import { Column } from './column.interface';
2-
3-
export type Formatter = (row: number, cell: number, value: any, columnDef: Column, dataContext: any, grid?: any) => string;
1+
import {Column} from './column.interface';
2+
export declare type Formatter = (row: number, cell: number, value: any, columnDef: Column, dataContext: any, grid?: any) => string | { text: string; removeClasses: string; addClasses: string; };

0 commit comments

Comments
 (0)