@shival99/z-ui 2.0.83 → 2.0.84
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.
|
@@ -8812,9 +8812,6 @@ class ZTableComponent {
|
|
|
8812
8812
|
}, 100);
|
|
8813
8813
|
}
|
|
8814
8814
|
onToggleColumnPin(columnId, position) {
|
|
8815
|
-
if (this.isGroupingColumn(columnId)) {
|
|
8816
|
-
return;
|
|
8817
|
-
}
|
|
8818
8815
|
const column = this.table.getColumn(columnId);
|
|
8819
8816
|
if (!column) {
|
|
8820
8817
|
return;
|
|
@@ -8847,9 +8844,6 @@ class ZTableComponent {
|
|
|
8847
8844
|
}, 100);
|
|
8848
8845
|
}
|
|
8849
8846
|
handleColumnPin(columnId, position) {
|
|
8850
|
-
if (this.isGroupingColumn(columnId)) {
|
|
8851
|
-
return;
|
|
8852
|
-
}
|
|
8853
8847
|
const column = this.table.getColumn(columnId);
|
|
8854
8848
|
if (!column) {
|
|
8855
8849
|
return;
|
|
@@ -9171,14 +9165,6 @@ class ZTableComponent {
|
|
|
9171
9165
|
return;
|
|
9172
9166
|
}
|
|
9173
9167
|
const groupingColumnIdSet = new Set(columnIds);
|
|
9174
|
-
const currentPinning = this.columnPinning();
|
|
9175
|
-
if (currentPinning.left?.some(columnId => groupingColumnIdSet.has(columnId)) ||
|
|
9176
|
-
currentPinning.right?.some(columnId => groupingColumnIdSet.has(columnId))) {
|
|
9177
|
-
this._setColumnPinning({
|
|
9178
|
-
left: currentPinning.left?.filter(columnId => !groupingColumnIdSet.has(columnId)),
|
|
9179
|
-
right: currentPinning.right?.filter(columnId => !groupingColumnIdSet.has(columnId)),
|
|
9180
|
-
});
|
|
9181
|
-
}
|
|
9182
9168
|
const currentOrder = this.columnOrder().length
|
|
9183
9169
|
? this.columnOrder()
|
|
9184
9170
|
: this.table.getAllLeafColumns().map(column => column.id);
|