From 84d2ed88211f909a0fa4dda488f4cbf9d7365989 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Fri, 20 May 2016 15:25:25 +0100 Subject: [PATCH] #82 minor fixes --- .../app/components/datatable/datatable-demo.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo-shell-ng2/app/components/datatable/datatable-demo.component.ts b/demo-shell-ng2/app/components/datatable/datatable-demo.component.ts index dcc30cc348..c2b0ddbd15 100644 --- a/demo-shell-ng2/app/components/datatable/datatable-demo.component.ts +++ b/demo-shell-ng2/app/components/datatable/datatable-demo.component.ts @@ -89,8 +89,8 @@ export class DataTableDemoComponent { replaceColumns() { let schema = [ - { type: 'text', key: 'id', sortable: true }, - { type: 'text', key: 'name', sortable: true, cssClass: 'full-width name-column' } + { type: 'text', key: 'id', title: 'Id', sortable: true }, + { type: 'text', key: 'name', title: 'Name', sortable: true, cssClass: 'full-width name-column' } ]; let columns = schema.map(col => new ObjectDataColumn(col)); this.data.setColumns(columns);