From 3607441e4257e515e67b30a7ba7cc484c8423fb1 Mon Sep 17 00:00:00 2001 From: swalters Date: Tue, 28 Mar 2017 09:16:21 -0500 Subject: [PATCH] frameworkFactory.gridOptionsFullWidthCellRenderer was missing --- src/aureliaFrameworkFactory.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/aureliaFrameworkFactory.ts b/src/aureliaFrameworkFactory.ts index dd0c32b..c9866df 100644 --- a/src/aureliaFrameworkFactory.ts +++ b/src/aureliaFrameworkFactory.ts @@ -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): {