@shival99/z-ui 1.2.39 → 1.2.40

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.
@@ -2604,11 +2604,14 @@ class ZTableComponent {
2604
2604
  }
2605
2605
  const actionInfo = this.actionColumnInfo();
2606
2606
  if (actionInfo && colDef.id === actionInfo.columnId) {
2607
- colDef.size = c.size ?? actionInfo.width;
2608
- colDef.minSize = c.minSize ?? actionInfo.width;
2609
- colDef.maxSize = c.maxSize ?? actionInfo.width;
2607
+ const defaultWidth = actionInfo.width + 15;
2608
+ const width = c.size ?? c.minSize ?? c.maxSize ?? defaultWidth;
2609
+ colDef.size = width;
2610
+ colDef.minSize = width;
2611
+ colDef.maxSize = width;
2610
2612
  colDef.enableResizing = c.enableResizing ?? false;
2611
2613
  colDef.enableSorting = false;
2614
+ colDef.enablePinning = false;
2612
2615
  }
2613
2616
  return colDef;
2614
2617
  });