diff --git a/src/bootstrap/datatable.html b/src/bootstrap/datatable.html old mode 100644 new mode 100755 index 05c8423..700de69 --- a/src/bootstrap/datatable.html +++ b/src/bootstrap/datatable.html @@ -52,7 +52,7 @@ - ${displayValue(row, columnLabel.column) | convertManager: columnLabel.converter} + diff --git a/src/datatable.js b/src/datatable.js old mode 100644 new mode 100755 index 9b071d4..cddf4bb --- a/src/datatable.js +++ b/src/datatable.js @@ -91,6 +91,14 @@ export class DataTable { }); } + gatherData(criteria = {}) { + return this.repository.find(criteria || {}, true).then(result => { + return result; + }).catch(error => { + this.triggerEvent('exception', {on: 'load', error: error}); + }); + } + populateEntity(row) { return this.repository.getPopulatedEntity(row); }