@@ -1041,6 +1041,63 @@ export class IgGridTooltipsFeature extends Feature<IgGridTooltips> {
1041
1041
public id ( ) : string { return ; } ;
1042
1042
}
1043
1043
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
+
1044
1101
@Directive ( {
1045
1102
selector : 'features'
1046
1103
} )
@@ -1061,6 +1118,8 @@ export class Features implements AfterContentInit {
1061
1118
@ContentChild ( IgGridSummariesFeature ) summaries : IgGridSummariesFeature ;
1062
1119
@ContentChild ( IgGridColumnFixingFeature ) columnFixing : IgGridColumnFixingFeature ;
1063
1120
@ContentChild ( IgGridTooltipsFeature ) tooltips : IgGridTooltipsFeature ;
1121
+ @ContentChild ( IgGridAppendRowsOnDemandFeature ) appendRowsOnDemand : IgGridAppendRowsOnDemand ;
1122
+ @ContentChild ( IgGridMultiColumnHeadersFeature ) multiColumnHeaders : IgGridMultiColumnHeaders ;
1064
1123
1065
1124
ngAfterContentInit ( ) {
1066
1125
this . filtering ? this . allFeatures . push ( this . filtering ) : null ;
@@ -1071,16 +1130,16 @@ export class Features implements AfterContentInit {
1071
1130
this . moving ? this . allFeatures . push ( this . moving ) : null ;
1072
1131
this . hiding ? this . allFeatures . push ( this . hiding ) : null ;
1073
1132
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 ;
1075
1134
this . resizing ? this . allFeatures . push ( this . resizing ) : null ;
1076
1135
this . selection ? this . allFeatures . push ( this . selection ) : null ;
1077
1136
this . rowSelectors ? this . allFeatures . push ( this . rowSelectors ) : null ;
1078
1137
this . summaries ? this . allFeatures . push ( this . summaries ) : null ;
1079
1138
this . columnFixing ? this . allFeatures . push ( this . columnFixing ) : null ;
1080
1139
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 ;
1081
1142
}
1082
-
1083
-
1084
1143
}
1085
1144
1086
1145
export class IgControlBase < Model > implements DoCheck {
@@ -5691,7 +5750,7 @@ export class IgSpreadsheetComponent extends IgControlBase<IgSpreadsheet> {
5691
5750
}
5692
5751
5693
5752
@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 ]
5696
5755
} )
5697
5756
export class IgniteUIModule { }
0 commit comments