Skip to content

Commit

Permalink
fix(headers): calculate width's for column headers even if the data i…
Browse files Browse the repository at this point in the history
…s empty

Closes #14
  • Loading branch information
Den-dp committed Feb 27, 2017
1 parent 13a566e commit 9e770f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/UiGridAutoFitColumnsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ export class UiGridAutoFitColumnsService {
}

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

Expand Down

0 comments on commit 9e770f8

Please sign in to comment.