@easydata/crud 1.4.0-rc02 → 1.4.0
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/dist/browser/easydata.js +31 -28
- package/dist/browser/easydata.js.map +1 -1
- package/dist/browser/easydata.min.js +1 -1
- package/dist/browser/easydata.min.js.map +1 -1
- package/dist/bundles/easydata.crud.js +10 -7
- package/dist/bundles/easydata.crud.js.map +1 -1
- package/dist/bundles/easydata.crud.min.js +1 -1
- package/dist/bundles/easydata.crud.min.js.map +1 -1
- package/package.json +3 -3
|
@@ -4511,7 +4511,7 @@ var easy_grid_EasyGrid = /** @class */ (function () {
|
|
|
4511
4511
|
pageSizeItems: [20, 30, 50, 100, 200]
|
|
4512
4512
|
},
|
|
4513
4513
|
columnWidths: {
|
|
4514
|
-
autoResize: AutoResizeColumns.
|
|
4514
|
+
autoResize: AutoResizeColumns.Always,
|
|
4515
4515
|
stringColumns: {
|
|
4516
4516
|
min: 100,
|
|
4517
4517
|
max: 500,
|
|
@@ -4749,9 +4749,6 @@ var easy_grid_EasyGrid = /** @class */ (function () {
|
|
|
4749
4749
|
.then(function () {
|
|
4750
4750
|
_this.firstRender = false;
|
|
4751
4751
|
_this.rowsOnPagePromise = null;
|
|
4752
|
-
if (needAutoResize) {
|
|
4753
|
-
_this.resizeColumns();
|
|
4754
|
-
}
|
|
4755
4752
|
});
|
|
4756
4753
|
}
|
|
4757
4754
|
else {
|
|
@@ -4924,9 +4921,15 @@ var easy_grid_EasyGrid = /** @class */ (function () {
|
|
|
4924
4921
|
_this.updateTotalsState(groups_1, row, true);
|
|
4925
4922
|
}
|
|
4926
4923
|
}
|
|
4927
|
-
var
|
|
4928
|
-
|
|
4929
|
-
.
|
|
4924
|
+
var needAutoResize = _this.options.columnWidths.autoResize !== AutoResizeColumns.Never;
|
|
4925
|
+
if (needAutoResize) {
|
|
4926
|
+
_this.resizeColumns();
|
|
4927
|
+
}
|
|
4928
|
+
else {
|
|
4929
|
+
var containerWidth = _this.getContainerWidth();
|
|
4930
|
+
domel(_this.bodyCellContainerDiv)
|
|
4931
|
+
.setStyle('width', containerWidth + "px");
|
|
4932
|
+
}
|
|
4930
4933
|
return rowsToRender;
|
|
4931
4934
|
})
|
|
4932
4935
|
.catch(function (error) { console.error(error); return 0; });
|