cilog-lib 1.13.8 → 1.13.10
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 +22 -20
- package/fesm2022/cilog-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cilog-lib.d.ts +1 -1
package/fesm2022/cilog-lib.mjs
CHANGED
|
@@ -1501,27 +1501,29 @@ class CilogGridComponent {
|
|
|
1501
1501
|
};
|
|
1502
1502
|
cols.push(colDef);
|
|
1503
1503
|
});
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
return {
|
|
1515
|
-
component: GridBoutonComponent,
|
|
1516
|
-
params: {
|
|
1517
|
-
icon: 'pi pi-times',
|
|
1518
|
-
severity: 'danger',
|
|
1519
|
-
onClick: this.onDeleteEvent.bind(this)
|
|
1504
|
+
if (this.options().rowsDeletable) {
|
|
1505
|
+
let colDelete = {
|
|
1506
|
+
headerName: '',
|
|
1507
|
+
width: 50,
|
|
1508
|
+
resizable: false,
|
|
1509
|
+
cellClass: 'no-padding-cell',
|
|
1510
|
+
suppressSizeToFit: true,
|
|
1511
|
+
cellRendererSelector: (params) => {
|
|
1512
|
+
if (params.node.isRowPinned()) {
|
|
1513
|
+
return undefined;
|
|
1520
1514
|
}
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1515
|
+
return {
|
|
1516
|
+
component: GridBoutonComponent,
|
|
1517
|
+
params: {
|
|
1518
|
+
icon: 'pi pi-times',
|
|
1519
|
+
severity: 'danger',
|
|
1520
|
+
onClick: this.onDeleteEvent.bind(this)
|
|
1521
|
+
}
|
|
1522
|
+
};
|
|
1523
|
+
}
|
|
1524
|
+
};
|
|
1525
|
+
cols.push(colDelete);
|
|
1526
|
+
}
|
|
1525
1527
|
return cols;
|
|
1526
1528
|
}, ...(ngDevMode ? [{ debugName: "colDefs" }] : /* istanbul ignore next */ []));
|
|
1527
1529
|
getTypeFiltre(col) {
|