We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca60d09 commit 3d596c7Copy full SHA for 3d596c7
2 files changed
packages/pluggableWidgets/datagrid-web/src/helpers/state/column/BaseColumnInfo.ts
@@ -56,7 +56,7 @@ export class BaseColumnInfo {
56
this.allowEventPropagation = props.allowEventPropagation;
57
}
58
59
- private get minColumnWidth(): "auto" | "min-content" | `${number}px` {
+ get minColumnWidth(): "auto" | "min-content" | `${number}px` {
60
switch (this.minWidth) {
61
case "auto": {
62
return "auto";
packages/pluggableWidgets/datagrid-web/src/helpers/state/column/ColumnStore.tsx
@@ -225,7 +225,7 @@ export class ColumnStore implements GridColumn {
225
getCssWidth(): string {
226
if (this.size) {
227
if (this.parentStore.isLastVisible(this)) {
228
- return "minmax(min-content, auto)";
+ return `minmax(${this.baseInfo.minColumnWidth}, auto)`;
229
230
return `${this.size}px`;
231
0 commit comments