File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1919,14 +1919,14 @@ export class IgxColumnComponent implements AfterContentInit {
19191919 const colWidth = this . width ;
19201920 const isPercentageWidth = colWidth && typeof colWidth === 'string' && colWidth . indexOf ( '%' ) !== - 1 ;
19211921 if ( isPercentageWidth ) {
1922- this . _calcWidth = parseInt ( colWidth , 10 ) / 100 * grid . calcWidth ;
1922+ this . _calcWidth = parseFloat ( colWidth ) / 100 * grid . calcWidth ;
19231923 } else if ( ! colWidth ) {
19241924 // no width
19251925 this . _calcWidth = this . defaultWidth || grid . getPossibleColumnWidth ( ) ;
19261926 } else {
19271927 this . _calcWidth = this . width ;
19281928 }
1929- this . calcPixelWidth = parseInt ( this . _calcWidth , 10 ) ;
1929+ this . calcPixelWidth = parseFloat ( this . _calcWidth ) ;
19301930 }
19311931
19321932 /**
Original file line number Diff line number Diff line change @@ -3552,7 +3552,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
35523552 if ( this . hasColumnLayouts ) {
35533553 return '' ;
35543554 }
3555- const colWidth = parseInt ( column . calcWidth , 10 ) ;
3555+ const colWidth = parseFloat ( column . calcWidth ) ;
35563556 const minWidth = this . defaultHeaderGroupMinWidth ;
35573557
35583558 if ( colWidth < minWidth ) {
You can’t perform that action at this time.
0 commit comments