Skip to content

Commit e793416

Browse files
committed
Fix lint errors.
1 parent 95265fa commit e793416

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

projects/igniteui-angular/src/lib/grids/columns/column.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
263263
@WatchColumnChanges()
264264
@Input()
265265
public autosizeHeader = true;
266-
266+
267267
/**
268268
* Gets a value indicating whether the summary for the column is enabled.
269269
* ```typescript
@@ -2122,7 +2122,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
21222122
const size = !byHeader ? this.getLargestCellWidth() :
21232123
(Object.values(this.getHeaderCellWidths()).reduce((a, b) => a + b) + 'px');
21242124
const isPercentageWidth = this.width && typeof this.width === 'string' && this.width.indexOf('%') !== -1;
2125-
2125+
21262126
let newWidth;
21272127
if (isPercentageWidth) {
21282128
const gridAvailableSize = this.grid.calcWidth;
@@ -2162,7 +2162,8 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy {
21622162
public getHeaderCellWidths() {
21632163
const range = this.grid.document.createRange();
21642164

2165-
// We do not cover cases where there are children with width 100% and etc, because then we try to get new column size, based on header content, which is sized based on column size...
2165+
// We do not cover cases where there are children with width 100% and etc,
2166+
// because then we try to get new column size, based on header content, which is sized based on column size...
21662167
let headerWidth = getNodeSizeViaRange(range, this.headerCell.elementRef.nativeElement.children[0]);
21672168

21682169
if (this.sortable || this.filterable) {

projects/igniteui-angular/src/lib/grids/grid/column-resizing.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ describe('IgxGrid - Deferred Column Resizing #grid', () => {
681681

682682
it('should ignore header template during autosize if autosizeHeader is false.', () => {
683683
const column = grid.getColumnByName('ID');
684-
column.minWidth = "10px";
684+
column.minWidth = '10px';
685685
column.autosizeHeader = false;
686686
fixture.detectChanges();
687687

0 commit comments

Comments
 (0)