From f556fdbe2c4f01430167c69a79cc9b4167b04444 Mon Sep 17 00:00:00 2001 From: Tacho Date: Tue, 13 Aug 2019 09:38:03 +0300 Subject: [PATCH] sample(esf): add grid config gen IgniteUI/igniteui-angular#5448 --- live-editing/configs/GridConfigGenerator.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/live-editing/configs/GridConfigGenerator.ts b/live-editing/configs/GridConfigGenerator.ts index b34a8e9dc4..13237d1d95 100644 --- a/live-editing/configs/GridConfigGenerator.ts +++ b/live-editing/configs/GridConfigGenerator.ts @@ -76,6 +76,9 @@ import { import { ExcelStyleFilteringSample3Component } from "../../src/app/grid/grid-excel-style-filtering-sample-3/grid-excel-style-filtering-sample-3.component"; +import { + GridExcelStyleFilteringLoadOnDemandComponent +} from "../../src/app/grid/grid-excel-style-filtering-load-on-demand/grid-excel-style-filtering-load-on-demand.component"; import { FilteringSampleComponent } from "../../src/app/grid/grid-filtering-sample/grid-filtering-sample.component"; import { GridFilteringStyleComponent } from "../../src/app/grid/grid-filtering-style/grid-filtering-style.component"; import { @@ -155,6 +158,7 @@ import { DataService } from "../../src/app/grid/services/data.service"; import { RemoteFilteringService } from "../../src/app/grid/services/remoteFilteringService"; import { RemotePagingService } from "../../src/app/grid/services/remotePagingService"; import { RemoteServiceVirt } from "../../src/app/grid/services/remoteService"; +import { RemoteValuesService } from "../../src/app/grid/grid-excel-style-filtering-load-on-demand/remoteValues.service"; import { AppModuleConfig } from "./core/AppModuleConfig"; import { Config } from "./core/Config"; import { IConfigGenerator } from "./core/IConfigGenerator"; @@ -673,6 +677,18 @@ export class GridConfigGenerator implements IConfigGenerator { }) })); + configs.push(new Config({ + component: GridExcelStyleFilteringLoadOnDemandComponent, + additionalFiles: ["/src/app/grid/grid-excel-style-filtering-load-on-demand/remoteValues.service.ts", + "/src/app/grid/grid-excel-style-filtering-load-on-demand/employees.ts"], + appModuleConfig: new AppModuleConfig({ + imports: [GridExcelStyleFilteringLoadOnDemandComponent, IgxGridModule, RemoteValuesService], + ngDeclarations: [GridExcelStyleFilteringLoadOnDemandComponent], + ngImports: [IgxGridModule], + ngProviders: [RemoteValuesService] + }) + })); + configs.push(new Config({ component: GridMultiCellSelectionComponent, additionalFiles: ["/src/app/data/nwindData.ts"],