@shival99/z-ui 1.1.17 → 1.2.0

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.
@@ -2106,10 +2106,10 @@ class ZTableComponent {
2106
2106
  }
2107
2107
  const actionInfo = this.actionColumnInfo();
2108
2108
  if (actionInfo && colDef.id === actionInfo.columnId) {
2109
- colDef.size = actionInfo.width;
2110
- colDef.minSize = actionInfo.width;
2111
- colDef.maxSize = actionInfo.width;
2112
- colDef.enableResizing = false;
2109
+ colDef.size = c.size ?? actionInfo.width;
2110
+ colDef.minSize = c.minSize ?? actionInfo.width;
2111
+ colDef.maxSize = c.maxSize ?? actionInfo.width;
2112
+ colDef.enableResizing = c.enableResizing ?? false;
2113
2113
  colDef.enableSorting = false;
2114
2114
  }
2115
2115
  return colDef;