We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0ef6e7 commit 261f417Copy full SHA for 261f417
projects/igniteui-angular/src/lib/grids/grid-base.component.ts
@@ -4655,7 +4655,7 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
4655
cols.forEach((item) => {
4656
const isWidthInPercent = item.width && typeof item.width === 'string' && item.width.indexOf('%') !== -1;
4657
if (isWidthInPercent) {
4658
- item.width = MINIMUM_COLUMN_WIDTH + 'px';
+ item.width = item.calcWidth || MINIMUM_COLUMN_WIDTH + 'px';
4659
}
4660
colSum += parseInt((item.width || item.defaultWidth), 10) || MINIMUM_COLUMN_WIDTH;
4661
});
0 commit comments