mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#82 minor fixes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user