Fix remove default sorting on the fist column

This commit is contained in:
mauriziovitale84
2016-11-17 16:43:23 +00:00
committed by Mario Romano
parent b0749e9ed3
commit d905aaa0cf
2 changed files with 2 additions and 9 deletions

View File

@@ -74,8 +74,6 @@ export class ObjectDataTableAdapter implements DataTableAdapter {
let sortable = this._columns.filter(c => c.sortable);
if (sortable.length > 0) {
this.sort(sortable[0].key, 'asc');
} else {
this.sort(this._columns[0].key, 'asc');
}
}
}