@@ -51,6 +51,7 @@ import { GridFilteringStyleComponent } from "../../src/app/grid/grid-filtering-s
5151import { FilteringTemplateSampleComponent } from "../../src/app/grid/grid-filtering-template-sample/grid-filtering-template-sample.component" ;
5252import { GridGroupByPagingSampleComponent } from "../../src/app/grid/grid-group-by-paging-sample/grid-group-by-paging-sample.component" ;
5353import { GridGroupBySampleComponent } from "../../src/app/grid/grid-groupby-sample/grid-groupby-sample.component" ;
54+ import { GridGroupByCustomSampleComponent } from "../../src/app/grid/grid-groupby-custom-sample/grid-groupby-custom-sample.component" ;
5455import { GridGroupByStyling } from "../../src/app/grid/grid-groupby-styling/grid-groupby-styling.component" ;
5556import { GridGroupBySummarySampleComponent } from "../../src/app/grid/grid-groupby-summary-sample/grid-groupby-summary-sample.component" ;
5657import { GridGroupBySummaryStylingSampleComponent } from "../../src/app/grid/grid-groupby-summary-styling-sample/grid-groupby-summary-styling-sample.component" ;
@@ -65,6 +66,7 @@ import { GridMultiRowLayoutStylingComponent } from "../../src/app/grid/grid-mult
6566import { GridMultiRowLayoutComponent } from "../../src/app/grid/grid-multi-row-layout/grid-multi-row-layout.component" ;
6667import { GridMultipleRowDragComponent } from "../../src/app/grid/grid-multiple-row-drag/grid-multiple-row-drag.component" ;
6768import { GridNestedDataBindComponent } from "../../src/app/grid/grid-nested-data-binding/grid-nested-data-bind" ;
69+ import { GridNestedDataBindAminoacidComponent } from "../../src/app/grid/grid-nested-data-binding-2/grid-nested-data-bind2" ;
6870import { GridPagerSampleComponent } from "../../src/app/grid/grid-pager-sample/grid-pager-sample.component" ;
6971import { PagingSampleComponent } from "../../src/app/grid/grid-paging-sample/grid-paging-sample.component" ;
7072import { RemoteFilteringSampleComponent } from "../../src/app/grid/grid-remote-filtering-sample/remote-filtering-sample.component" ;
@@ -114,7 +116,7 @@ import { RemoteServiceVirt } from "../../src/app/grid/services/remoteService";
114116import { AppModuleConfig } from "./core/AppModuleConfig" ;
115117import { Config } from "./core/Config" ;
116118import { IConfigGenerator } from "./core/IConfigGenerator" ;
117-
119+ import { GridSortingIndicatorsComponent } from '../../src/app/grid/grid-sorting-indicators/grid-sorting-indicators.component'
118120export class GridConfigGenerator implements IConfigGenerator {
119121 public generateConfigs ( ) : Config [ ] {
120122 const configs = new Array < Config > ( ) ;
@@ -146,6 +148,17 @@ export class GridConfigGenerator implements IConfigGenerator {
146148 } )
147149 } ) ) ;
148150
151+ configs . push ( new Config ( {
152+ component : GridGroupByCustomSampleComponent ,
153+ additionalFiles : [ "/src/app/directives/prevent-scroll.directive.ts" , "/src/app/data/invoiceData.ts" ] ,
154+ appModuleConfig : new AppModuleConfig ( {
155+ imports : [ IgxButtonModule , IgxGridModule ,
156+ IgxSwitchModule , GridGroupBySampleComponent , IgxIconModule , IgxBadgeModule , IgxPreventDocumentScrollModule ] ,
157+ ngDeclarations : [ GridGroupBySampleComponent ] ,
158+ ngImports : [ IgxPreventDocumentScrollModule , IgxButtonModule , IgxGridModule , IgxIconModule , IgxBadgeModule ]
159+ } )
160+ } ) ) ;
161+
149162 configs . push ( new Config ( {
150163 component : GridGroupBySampleComponent ,
151164 additionalFiles : [ "/src/app/directives/prevent-scroll.directive.ts" , "/src/app/data/invoiceData.ts" ] ,
@@ -162,10 +175,10 @@ export class GridConfigGenerator implements IConfigGenerator {
162175 additionalFiles : [ "/src/app/directives/prevent-scroll.directive.ts" , "/src/app/data/invoiceData.ts" ] ,
163176 appModuleConfig : new AppModuleConfig ( {
164177 imports : [ IgxButtonModule , IgxButtonGroupModule , IgxGridModule ,
165- IgxSwitchModule , GridGroupBySummarySampleComponent , IgxIconModule , IgxBadgeModule , IgxPreventDocumentScrollModule ] ,
178+ IgxSwitchModule , GridGroupBySummarySampleComponent , IgxIconModule , IgxBadgeModule , IgxPreventDocumentScrollModule , IgxSwitchModule ] ,
166179 ngDeclarations : [ GridGroupBySummarySampleComponent ] ,
167180 ngImports : [ IgxPreventDocumentScrollModule , IgxButtonModule , IgxButtonGroupModule , IgxGridModule ,
168- IgxIconModule , IgxBadgeModule ]
181+ IgxIconModule , IgxBadgeModule , IgxSwitchModule ]
169182 } )
170183 } ) ) ;
171184
@@ -628,7 +641,7 @@ export class GridConfigGenerator implements IConfigGenerator {
628641 } )
629642 } ) ) ;
630643
631- //Grid with Action Strip
644+ // Grid with Action Strip
632645 configs . push ( new Config ( {
633646 component : GridActionStripSampleComponent ,
634647 additionalFiles : [ "/src/app/directives/prevent-scroll.directive.ts" , "/src/app/data/nwindData.ts" , "/src/app/data/utils.ts" ,
@@ -838,6 +851,16 @@ export class GridConfigGenerator implements IConfigGenerator {
838851 } )
839852 } ) ) ;
840853
854+ configs . push ( new Config ( {
855+ component : GridNestedDataBindAminoacidComponent ,
856+ additionalFiles : [ "/src/app/directives/prevent-scroll.directive.ts" , "/src/app/grid/grid-nested-data-binding-2/data.ts" ] ,
857+ appModuleConfig : new AppModuleConfig ( {
858+ imports : [ GridNestedDataBindAminoacidComponent , IgxGridModule , IgxPreventDocumentScrollModule ] ,
859+ ngDeclarations : [ GridNestedDataBindAminoacidComponent ] ,
860+ ngImports : [ IgxPreventDocumentScrollModule , IgxGridModule ]
861+ } )
862+ } ) ) ;
863+
841864 configs . push ( new Config ( {
842865 component : GridCompositeDataComponent ,
843866 additionalFiles : [ "/src/app/directives/prevent-scroll.directive.ts" , "/src/app/data/customers.ts" ] ,
@@ -1230,6 +1253,17 @@ export class GridConfigGenerator implements IConfigGenerator {
12301253 } )
12311254 } ) ) ;
12321255
1256+ configs . push ( new Config ( {
1257+ component : GridSortingIndicatorsComponent ,
1258+ additionalFiles : [ "/src/app/directives/prevent-scroll.directive.ts" , "/src/app/data/utils.ts" , "/src/app/grid/services/financialData.ts" ] ,
1259+ appModuleConfig : new AppModuleConfig ( {
1260+ imports : [ GridSortingIndicatorsComponent , IgxGridModule , IgxPreventDocumentScrollModule ] ,
1261+ ngDeclarations : [ GridSortingIndicatorsComponent ] ,
1262+ ngImports : [ IgxPreventDocumentScrollModule , IgxGridModule ] ,
1263+ ngProviders : [ ]
1264+ } )
1265+ } ) ) ;
1266+
12331267 return configs ;
12341268 }
12351269}
0 commit comments