Date format support for datatable columns

This commit is contained in:
Denys Vuika
2016-07-04 17:56:52 +01:00
parent 7d6b1c922b
commit b02a465f27
3 changed files with 27 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ export interface DataTableAdapter {
getSorting(): DataSorting;
setSorting(sorting: DataSorting): void;
sort(key?: string, direction?: string): void;
}
export interface DataRow {
@@ -39,7 +39,8 @@ export interface DataRow {
export interface DataColumn {
key: string;
type: string; // text|image
type: string; // text|image|date
format?: string;
sortable?: boolean;
title?: string;
srTitle?: string;