diff --git a/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts b/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts index 7a2c52d74..207a783ec 100644 --- a/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts +++ b/aurelia-slickgrid/src/aurelia-slickgrid/aurelia-slickgrid.ts @@ -455,6 +455,7 @@ export class AureliaSlickgridCustomElement { refreshGridData(dataset: any[], totalCount?: number) { if (dataset && this.grid && this.dataview && typeof this.dataview.setItems === 'function') { this.dataview.setItems(dataset, this.gridOptions.datasetIdPropertyName); + this.dataview.reSort(); // this.grid.setData(dataset); this.grid.invalidate();