@@ -1041,6 +1041,63 @@ export class IgGridTooltipsFeature extends Feature<IgGridTooltips> {
10411041 public id ( ) : string { return ; } ;
10421042}
10431043
1044+ @Directive ( {
1045+ selector : 'append-rows-on-demand' ,
1046+ inputs : [ "type" , "chunkSize" , "recordCountKey" , "chunkSizeUrlKey" , "chunkIndexUrlKey" , "defaultChunkIndex" , "currentChunkIndex" , "loadTrigger" , "loadMoreDataButtonText" ] ,
1047+ outputs : [ "rowsRequesting" , "rowsRequested" ]
1048+ } )
1049+ export class IgGridAppendRowsOnDemandFeature extends Feature < IgGridAppendRowsOnDemand > {
1050+ constructor ( el : ElementRef ) {
1051+ super ( el ) ;
1052+ }
1053+
1054+ /**
1055+ * Destroys the append rows on demand widget
1056+ */
1057+ public destroy ( ) : void { return ; } ;
1058+
1059+ /**
1060+ * Loads the next chunk of data.
1061+ */
1062+ public nextChunk ( ) : void { return ; } ;
1063+ }
1064+
1065+ @Directive ( {
1066+ selector : 'multi-column-headers' ,
1067+ inputs : [ "inherit" ] ,
1068+ outputs : [ "groupCollapsing" , "groupCollapsed" , "groupExpanding" , "groupExpanded" ]
1069+ } )
1070+ export class IgGridMultiColumnHeadersFeature extends Feature < IgGridMultiColumnHeaders > {
1071+ constructor ( el : ElementRef ) {
1072+ super ( el ) ;
1073+ }
1074+
1075+ /**
1076+ * Destroys the widget
1077+ */
1078+ public destroy ( ) : void { return ; } ;
1079+
1080+ /**
1081+ * Collapses an expanded group. If the group is collapsed, the method does nothing.
1082+ * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.
1083+ */
1084+ public collapseGroup ( groupKey : string , callback ?: Function ) : void { return ; } ;
1085+ /**
1086+ * Expands a collapsed group. If the group is expanded, the method does nothing.
1087+ * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.
1088+ */
1089+ public expandGroup ( groupKey : string , callback ?: Function ) : void { return ; } ;
1090+ /**
1091+ * Returns multicolumn headers array. if there aren"t multicolumn headers returns undefined.
1092+ */
1093+ public getMultiColumnHeaders ( ) : Array < Column > { return ; } ;
1094+ /**
1095+ * Toggles a collapsible group.
1096+ * Note: This method is asynchronous which means that it returns immediately and any subsequent code will execute in parallel. This may lead to runtime errors. To avoid them put the subsequent code in the callback parameter provided by the method.
1097+ */
1098+ public toggleGroup ( groupKey : string , callback ?: Function ) : void { return ; } ;
1099+ }
1100+
10441101@Directive ( {
10451102 selector : 'features'
10461103} )
@@ -1061,6 +1118,8 @@ export class Features implements AfterContentInit {
10611118 @ContentChild ( IgGridSummariesFeature ) summaries : IgGridSummariesFeature ;
10621119 @ContentChild ( IgGridColumnFixingFeature ) columnFixing : IgGridColumnFixingFeature ;
10631120 @ContentChild ( IgGridTooltipsFeature ) tooltips : IgGridTooltipsFeature ;
1121+ @ContentChild ( IgGridAppendRowsOnDemandFeature ) appendRowsOnDemand : IgGridAppendRowsOnDemand ;
1122+ @ContentChild ( IgGridMultiColumnHeadersFeature ) multiColumnHeaders : IgGridMultiColumnHeaders ;
10641123
10651124 ngAfterContentInit ( ) {
10661125 this . filtering ? this . allFeatures . push ( this . filtering ) : null ;
@@ -1071,16 +1130,16 @@ export class Features implements AfterContentInit {
10711130 this . moving ? this . allFeatures . push ( this . moving ) : null ;
10721131 this . hiding ? this . allFeatures . push ( this . hiding ) : null ;
10731132 this . responsive ? this . allFeatures . push ( this . responsive ) : null ;
1074- this . responsive ? this . allFeatures . push ( this . responsive ) : null ;
1133+ this . cellMerging ? this . allFeatures . push ( this . cellMerging ) : null ;
10751134 this . resizing ? this . allFeatures . push ( this . resizing ) : null ;
10761135 this . selection ? this . allFeatures . push ( this . selection ) : null ;
10771136 this . rowSelectors ? this . allFeatures . push ( this . rowSelectors ) : null ;
10781137 this . summaries ? this . allFeatures . push ( this . summaries ) : null ;
10791138 this . columnFixing ? this . allFeatures . push ( this . columnFixing ) : null ;
10801139 this . tooltips ? this . allFeatures . push ( this . tooltips ) : null ;
1140+ this . appendRowsOnDemand ? this . allFeatures . push ( this . appendRowsOnDemand ) : null ;
1141+ this . multiColumnHeaders ? this . allFeatures . push ( this . multiColumnHeaders ) : null ;
10811142 }
1082-
1083-
10841143}
10851144
10861145export class IgControlBase < Model > implements DoCheck {
@@ -5691,7 +5750,7 @@ export class IgSpreadsheetComponent extends IgControlBase<IgSpreadsheet> {
56915750}
56925751
56935752@NgModule ( {
5694- declarations : [ Column , IgGridSortingFeature , IgGridFilteringFeature , IgGridPagingFeature , IgGridUpdatingFeature , IgGridGroupByFeature , IgGridColumnMovingFeature , IgGridHidingFeature , IgGridCellMergingFeature , IgGridResponsiveFeature , IgGridResizingFeature , IgGridSelectionFeature , IgGridRowSelectorsFeature , IgGridSummariesFeature , IgGridColumnFixingFeature , IgGridTooltipsFeature , Features , IgGridComponent , IgTreeGridComponent , IgHierarchicalGridComponent , IgComboComponent , IgCheckboxEditorComponent , IgCurrencyEditorComponent , IgDateEditorComponent , IgDatePickerComponent , IgMaskEditorComponent , IgNumericEditorComponent , IgPercentEditorComponent , IgTextEditorComponent , IgTreeComponent , IgDialogComponent , IgSplitterComponent , IgLayoutManagerComponent , IgTileManagerComponent , IgHtmlEditorComponent , IgValidatorComponent , IgPivotDataSelectorComponent , IgPivotGridComponent , IgDataChartComponent , IgPieChartComponent , IgDoughnutChartComponent , IgFunnelChartComponent , IgRadialGaugeComponent , IgZoombarComponent , IgMapComponent , IgSparklineComponent , IgBulletGraphComponent , IgLinearGaugeComponent , IgQRCodeBarcodeComponent , IgUploadComponent , IgPopoverComponent , IgNotifierComponent , IgRatingComponent , IgVideoPlayerComponent , IgRadialMenuComponent , IgSplitButtonComponent , IgSpreadsheetComponent , IgSchedulerComponent ] ,
5695- exports : [ Column , IgGridSortingFeature , IgGridFilteringFeature , IgGridPagingFeature , IgGridUpdatingFeature , IgGridGroupByFeature , IgGridColumnMovingFeature , IgGridHidingFeature , IgGridCellMergingFeature , IgGridResponsiveFeature , IgGridResizingFeature , IgGridSelectionFeature , IgGridRowSelectorsFeature , IgGridSummariesFeature , IgGridColumnFixingFeature , IgGridTooltipsFeature , Features , IgGridComponent , IgTreeGridComponent , IgHierarchicalGridComponent , IgComboComponent , IgCheckboxEditorComponent , IgCurrencyEditorComponent , IgDateEditorComponent , IgDatePickerComponent , IgMaskEditorComponent , IgNumericEditorComponent , IgPercentEditorComponent , IgTextEditorComponent , IgTreeComponent , IgDialogComponent , IgSplitterComponent , IgLayoutManagerComponent , IgTileManagerComponent , IgHtmlEditorComponent , IgValidatorComponent , IgPivotDataSelectorComponent , IgPivotGridComponent , IgDataChartComponent , IgPieChartComponent , IgDoughnutChartComponent , IgFunnelChartComponent , IgRadialGaugeComponent , IgZoombarComponent , IgMapComponent , IgSparklineComponent , IgBulletGraphComponent , IgLinearGaugeComponent , IgQRCodeBarcodeComponent , IgUploadComponent , IgPopoverComponent , IgNotifierComponent , IgRatingComponent , IgVideoPlayerComponent , IgRadialMenuComponent , IgSplitButtonComponent , IgSpreadsheetComponent , IgSchedulerComponent ]
5753+ declarations : [ Column , IgGridSortingFeature , IgGridFilteringFeature , IgGridPagingFeature , IgGridUpdatingFeature , IgGridGroupByFeature , IgGridColumnMovingFeature , IgGridHidingFeature , IgGridCellMergingFeature , IgGridResponsiveFeature , IgGridResizingFeature , IgGridSelectionFeature , IgGridRowSelectorsFeature , IgGridSummariesFeature , IgGridColumnFixingFeature , IgGridTooltipsFeature , IgGridAppendRowsOnDemandFeature , Features , IgGridComponent , IgTreeGridComponent , IgHierarchicalGridComponent , IgComboComponent , IgCheckboxEditorComponent , IgCurrencyEditorComponent , IgDateEditorComponent , IgDatePickerComponent , IgMaskEditorComponent , IgNumericEditorComponent , IgPercentEditorComponent , IgTextEditorComponent , IgTreeComponent , IgDialogComponent , IgSplitterComponent , IgLayoutManagerComponent , IgTileManagerComponent , IgHtmlEditorComponent , IgValidatorComponent , IgPivotDataSelectorComponent , IgPivotGridComponent , IgDataChartComponent , IgPieChartComponent , IgDoughnutChartComponent , IgFunnelChartComponent , IgRadialGaugeComponent , IgZoombarComponent , IgMapComponent , IgSparklineComponent , IgBulletGraphComponent , IgLinearGaugeComponent , IgQRCodeBarcodeComponent , IgUploadComponent , IgPopoverComponent , IgNotifierComponent , IgRatingComponent , IgVideoPlayerComponent , IgRadialMenuComponent , IgSplitButtonComponent , IgSpreadsheetComponent , IgSchedulerComponent ] ,
5754+ exports : [ Column , IgGridSortingFeature , IgGridFilteringFeature , IgGridPagingFeature , IgGridUpdatingFeature , IgGridGroupByFeature , IgGridColumnMovingFeature , IgGridHidingFeature , IgGridCellMergingFeature , IgGridResponsiveFeature , IgGridResizingFeature , IgGridSelectionFeature , IgGridRowSelectorsFeature , IgGridSummariesFeature , IgGridColumnFixingFeature , IgGridTooltipsFeature , IgGridAppendRowsOnDemandFeature , Features , IgGridComponent , IgTreeGridComponent , IgHierarchicalGridComponent , IgComboComponent , IgCheckboxEditorComponent , IgCurrencyEditorComponent , IgDateEditorComponent , IgDatePickerComponent , IgMaskEditorComponent , IgNumericEditorComponent , IgPercentEditorComponent , IgTextEditorComponent , IgTreeComponent , IgDialogComponent , IgSplitterComponent , IgLayoutManagerComponent , IgTileManagerComponent , IgHtmlEditorComponent , IgValidatorComponent , IgPivotDataSelectorComponent , IgPivotGridComponent , IgDataChartComponent , IgPieChartComponent , IgDoughnutChartComponent , IgFunnelChartComponent , IgRadialGaugeComponent , IgZoombarComponent , IgMapComponent , IgSparklineComponent , IgBulletGraphComponent , IgLinearGaugeComponent , IgQRCodeBarcodeComponent , IgUploadComponent , IgPopoverComponent , IgNotifierComponent , IgRatingComponent , IgVideoPlayerComponent , IgRadialMenuComponent , IgSplitButtonComponent , IgSpreadsheetComponent , IgSchedulerComponent ]
56965755} )
56975756export class IgniteUIModule { }
0 commit comments