Skip to content

Commit

Permalink
sample(esf): add grid config gen
Browse files Browse the repository at this point in the history
  • Loading branch information
tachojelev committed Aug 13, 2019
1 parent bf8dec2 commit f556fdb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions live-editing/configs/GridConfigGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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"],
Expand Down

0 comments on commit f556fdb

Please sign in to comment.