@universis/ngx-tables 0.7.4 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/universis-ngx-tables.umd.js +5 -1
- package/bundles/universis-ngx-tables.umd.js.map +1 -1
- package/bundles/universis-ngx-tables.umd.min.js +1 -1
- package/bundles/universis-ngx-tables.umd.min.js.map +1 -1
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +6 -2
- package/esm5/lib/components/advanced-table/advanced-table.component.js +6 -2
- package/fesm2015/universis-ngx-tables.js +5 -1
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +5 -1
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/package.json +1 -1
|
@@ -1131,6 +1131,7 @@ var AdvancedTableComponent = /** @class */ (function () {
|
|
|
1131
1131
|
}, 0);
|
|
1132
1132
|
}
|
|
1133
1133
|
});
|
|
1134
|
+
var drawIndex_1 = 1;
|
|
1134
1135
|
tableElement_1.on('order.dt', function (event) {
|
|
1135
1136
|
if (_this.dataTable) {
|
|
1136
1137
|
var order = _this.dataTable.order();
|
|
@@ -1143,8 +1144,11 @@ var AdvancedTableComponent = /** @class */ (function () {
|
|
|
1143
1144
|
if (_this.dataTable) {
|
|
1144
1145
|
var info = _this.dataTable.page.info();
|
|
1145
1146
|
_this.page.emit(info);
|
|
1147
|
+
if (drawIndex_1 > 1)
|
|
1148
|
+
return;
|
|
1146
1149
|
try {
|
|
1147
|
-
|
|
1150
|
+
drawIndex_1++;
|
|
1151
|
+
setTimeout(function () { _this.dataTable.columns.adjust(); }, 1);
|
|
1148
1152
|
}
|
|
1149
1153
|
catch (err) {
|
|
1150
1154
|
console.error('ERROR', 'An error occurred while adjusting table columns');
|