cilog-lib 1.12.33 → 1.12.35
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/fesm2022/cilog-lib.mjs
CHANGED
|
@@ -1384,7 +1384,7 @@ class CilogGridComponent {
|
|
|
1384
1384
|
sortable: this.options().sortable ? true : false,
|
|
1385
1385
|
filter: !col.disableFilter ? 'agTextColumnFilter' : null,
|
|
1386
1386
|
suppressSizeToFit: col.width != null ? true : false,
|
|
1387
|
-
headerTooltip: col.libelle,
|
|
1387
|
+
headerTooltip: col.tooltipHeader ? col.libelle : null,
|
|
1388
1388
|
type: col.type == ColType.Number || col.type == ColType.Date ? 'rightAligned' : null,
|
|
1389
1389
|
valueGetter: (params) => {
|
|
1390
1390
|
return params.data[params.colDef.field].value;
|
|
@@ -1454,9 +1454,7 @@ class CilogGridComponent {
|
|
|
1454
1454
|
};
|
|
1455
1455
|
onGridReady(params) {
|
|
1456
1456
|
this.gridApi = params.api;
|
|
1457
|
-
|
|
1458
|
-
params.api.sizeColumnsToFit();
|
|
1459
|
-
}, 50);
|
|
1457
|
+
params.api.sizeColumnsToFit();
|
|
1460
1458
|
window.addEventListener('resize', () => {
|
|
1461
1459
|
setTimeout(() => {
|
|
1462
1460
|
this.gridApi.sizeColumnsToFit();
|