Formatting labels
Change-Id: I131f27f2f6fcd5cd76f4fbc13c632f7cd1aa17d0
diff --git a/src/app/core/table/table.ts b/src/app/core/table/table.ts
index 1d40092..77067fa 100644
--- a/src/app/core/table/table.ts
+++ b/src/app/core/table/table.ts
@@ -4,6 +4,23 @@
import './table.scss';
import * as _ from 'lodash';
+enum EXosTableColType {
+ 'boolean',
+ 'array',
+ 'object',
+ 'custom',
+ 'date' ,
+ 'icon'
+}
+
+export interface IXosTableColumn {
+ label: string;
+ prop: string;
+ type?: string; // understand why enum does not work
+ formatter?(item: any): string;
+ link?(item: any): string;
+}
+
interface IXosTableCgfOrder {
reverse: boolean;
field: string;