Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from swalters/FullWidthRowRenderer
Browse files Browse the repository at this point in the history
frameworkFactory.gridOptionsFullWidthCellRenderer was missing
  • Loading branch information
seanlandsman authored Mar 29, 2017
2 parents 018cced + 3607441 commit 0c3ed01
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/aureliaFrameworkFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,17 @@ export class AureliaFrameworkFactory implements IFrameworkFactory {
}

public gridOptionsFullWidthCellRenderer(gridOptions: GridOptions): {new (): ICellRendererComp;} | ICellRendererFunc | string {
return this._baseFrameworkFactory.gridOptionsFullWidthCellRenderer(gridOptions);
if (gridOptions.fullWidthCellRendererFramework) {
if (!gridOptions.fullWidthCellRendererFramework.$viewFactory) {
gridOptions.fullWidthCellRendererFramework.$viewFactory =
this._viewCompiler.compile(gridOptions.fullWidthCellRendererFramework.template, this._viewResources);
}
return this._componentFactory.createRendererFromTemplate(this._container, gridOptions.fullWidthCellRendererFramework.$viewFactory);
} else {
return this._baseFrameworkFactory.gridOptionsFullWidthCellRenderer(gridOptions);
}


}

public gridOptionsGroupRowRenderer(gridOptions: GridOptions): {
Expand Down

0 comments on commit 0c3ed01

Please sign in to comment.