Skip to content

Commit 9e770f8

Browse files
committed
fix(headers): calculate width's for column headers even if the data is empty
Closes #14
1 parent 13a566e commit 9e770f8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/UiGridAutoFitColumnsService.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ export class UiGridAutoFitColumnsService {
8787
}
8888

8989
columnsProcessor(renderedColumnsToProcess?: Array<IExtendedGridColumn>, rows?: Array<uiGrid.IGridRow>) {
90-
if (!rows.length) {
91-
return renderedColumnsToProcess;
92-
}
9390
// TODO: respect existing colDef options
9491
// if (col.colDef.enableColumnAutoFitting === false) return;
9592

0 commit comments

Comments
 (0)