@fluxhub/fluxhub-lib 11.0.136 → 11.0.138
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/fluxhub-fluxhub-lib.umd.js +4 -5
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +1 -1
- package/esm2015/lib/controls/win_grid_selection.js +5 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_grid_selection.d.ts +1 -0
- package/package.json +1 -1
|
@@ -19757,14 +19757,12 @@
|
|
|
19757
19757
|
this.data = data;
|
|
19758
19758
|
this.columnDefs = [];
|
|
19759
19759
|
this.rowData = [];
|
|
19760
|
+
this.selectAll = true;
|
|
19760
19761
|
this.gridOptions = {
|
|
19761
19762
|
debug: false,
|
|
19762
19763
|
rowMultiSelectWithClick: true,
|
|
19763
19764
|
enableRangeSelection: false,
|
|
19764
|
-
defaultColDef: {
|
|
19765
|
-
resizable: true,
|
|
19766
|
-
sortable: true,
|
|
19767
|
-
},
|
|
19765
|
+
defaultColDef: { resizable: true, sortable: true, floatingFilter: true },
|
|
19768
19766
|
rowDeselection: false,
|
|
19769
19767
|
};
|
|
19770
19768
|
if (this.data) {
|
|
@@ -19774,6 +19772,7 @@
|
|
|
19774
19772
|
this.rowData = this.data.rowData;
|
|
19775
19773
|
if (this.data.title)
|
|
19776
19774
|
this.title = this.data.title;
|
|
19775
|
+
this.selectAll = (this.data.selectAll || true);
|
|
19777
19776
|
}
|
|
19778
19777
|
}
|
|
19779
19778
|
fh_win_grid_selection.prototype.ngAfterViewInit = function () {
|
|
@@ -19787,7 +19786,7 @@
|
|
|
19787
19786
|
fh_win_grid_selection.prototype.onReady = function (a) {
|
|
19788
19787
|
var _this = this;
|
|
19789
19788
|
setTimeout(function () {
|
|
19790
|
-
if (_this.gridOptions.api)
|
|
19789
|
+
if (_this.gridOptions.api && _this.selectAll)
|
|
19791
19790
|
_this.gridOptions.api.selectAll();
|
|
19792
19791
|
}, 100);
|
|
19793
19792
|
};
|