@@ -2,10 +2,12 @@ import {
2
2
AfterContentInit ,
3
3
ChangeDetectionStrategy ,
4
4
Component ,
5
+ EventEmitter ,
5
6
forwardRef ,
6
7
HostBinding ,
7
8
Input ,
8
9
OnInit ,
10
+ Output ,
9
11
TemplateRef ,
10
12
ViewChild
11
13
} from '@angular/core' ;
@@ -26,7 +28,11 @@ import { PivotUtil } from './pivot-util';
26
28
import { GridPagingMode , GridSummaryCalculationMode , GridSummaryPosition } from '../common/enums' ;
27
29
import { WatchChanges } from '../watch-changes' ;
28
30
import { OverlaySettings } from '../../services/public_api' ;
29
- import { IColumnVisibilityChangedEventArgs } from '../common/events' ;
31
+ import {
32
+ IColumnMovingEndEventArgs , IColumnMovingEventArgs , IColumnMovingStartEventArgs ,
33
+ IColumnVisibilityChangedEventArgs , IGridEditDoneEventArgs , IGridEditEventArgs ,
34
+ IPinColumnCancellableEventArgs , IPinColumnEventArgs , IPinRowEventArgs , IRowDataEventArgs , IRowDragEndEventArgs , IRowDragStartEventArgs
35
+ } from '../common/events' ;
30
36
import { IgxGridRowComponent } from '../grid/grid-row.component' ;
31
37
import { DropPosition } from '../moving/moving.service' ;
32
38
import { RowType } from '../common/row.interface' ;
@@ -87,10 +93,153 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
87
93
@ViewChild ( 'headerTemplate' , { read : TemplateRef , static : true } )
88
94
public headerTemplate : TemplateRef < any > ;
89
95
96
+ /**
97
+ * @hidden @interal
98
+ */
99
+ @Input ( )
100
+ public addRowEmptyTemplate : TemplateRef < any > ;
101
+
102
+ /**
103
+ * @hidden @internal
104
+ */
105
+ @Input ( )
106
+ public snackbarDisplayTime = 6000 ;
107
+
108
+ /**
109
+ * @hidden @internal
110
+ */
111
+ @Output ( )
112
+ public cellEdit = new EventEmitter < IGridEditEventArgs > ( ) ;
113
+
114
+ /**
115
+ * @hidden @internal
116
+ */
117
+ @Output ( )
118
+ public cellEditDone = new EventEmitter < IGridEditDoneEventArgs > ( ) ;
119
+
120
+ /**
121
+ * @hidden @internal
122
+ */
123
+ @Output ( )
124
+ public cellEditEnter = new EventEmitter < IGridEditEventArgs > ( ) ;
125
+
126
+ /**
127
+ * @hidden @internal
128
+ */
129
+ @Output ( )
130
+ public cellEditExit = new EventEmitter < IGridEditDoneEventArgs > ( ) ;
131
+
132
+ /**
133
+ * @hidden @internal
134
+ */
135
+ @Output ( )
136
+ public columnMovingStart = new EventEmitter < IColumnMovingStartEventArgs > ( ) ;
137
+
138
+ /**
139
+ * @hidden @internal
140
+ */
141
+ @Output ( )
142
+ public columnMoving = new EventEmitter < IColumnMovingEventArgs > ( ) ;
143
+
144
+ /**
145
+ * @hidden @internal
146
+ */
147
+ @Output ( )
148
+ public columnMovingEnd = new EventEmitter < IColumnMovingEndEventArgs > ( ) ;
149
+
150
+ /**
151
+ * @hidden @internal
152
+ */
153
+ @Output ( )
154
+ public columnPin = new EventEmitter < IPinColumnCancellableEventArgs > ( ) ;
155
+
156
+ /**
157
+ * @hidden @internal
158
+ */
159
+ @Output ( )
160
+ public columnPinned = new EventEmitter < IPinColumnEventArgs > ( ) ;
161
+
162
+ /**
163
+ * @hidden @internal
164
+ */
165
+ @Output ( )
166
+ public rowAdd = new EventEmitter < IGridEditEventArgs > ( ) ;
167
+
168
+ /**
169
+ * @hidden @internal
170
+ */
171
+ @Output ( )
172
+ public rowAdded = new EventEmitter < IRowDataEventArgs > ( ) ;
173
+
174
+ /**
175
+ * @hidden @internal
176
+ */
177
+ @Output ( )
178
+ public rowDeleted = new EventEmitter < IRowDataEventArgs > ( ) ;
179
+
180
+ /**
181
+ * @hidden @internal
182
+ */
183
+ @Output ( )
184
+ public rowDelete = new EventEmitter < IGridEditEventArgs > ( ) ;
185
+
186
+ /**
187
+ * @hidden @internal
188
+ */
189
+ @Output ( )
190
+ public rowDragStart = new EventEmitter < IRowDragStartEventArgs > ( ) ;
191
+
192
+ /**
193
+ * @hidden @internal
194
+ */
195
+ @Output ( )
196
+ public rowDragEnd = new EventEmitter < IRowDragEndEventArgs > ( ) ;
197
+
198
+ /**
199
+ * @hidden @internal
200
+ */
201
+ @Output ( )
202
+ public rowEditEnter = new EventEmitter < IGridEditEventArgs > ( ) ;
203
+
204
+ /**
205
+ * @hidden @internal
206
+ */
207
+ @Output ( )
208
+ public rowEdit = new EventEmitter < IGridEditEventArgs > ( ) ;
209
+
210
+ /**
211
+ * @hidden @internal
212
+ */
213
+ @Output ( )
214
+ public rowEditDone = new EventEmitter < IGridEditDoneEventArgs > ( ) ;
215
+
216
+ /**
217
+ * @hidden @internal
218
+ */
219
+ @Output ( )
220
+ public rowEditExit = new EventEmitter < IGridEditDoneEventArgs > ( ) ;
221
+
222
+ /**
223
+ * @hidden @internal
224
+ */
225
+ @Output ( )
226
+ public rowPinning = new EventEmitter < IPinRowEventArgs > ( ) ;
227
+
228
+ /**
229
+ * @hidden @internal
230
+ */
231
+ @Output ( )
232
+ public rowPinned = new EventEmitter < IPinRowEventArgs > ( ) ;
90
233
91
234
public columnGroupStates = new Map < string , boolean > ( ) ;
92
235
public pivotKeys : IPivotKeys = { aggregations : 'aggregations' , records : 'records' , children : 'children' , level : 'level' } ;
93
236
public isPivot = true ;
237
+
238
+ /**
239
+ * @hidden @internal
240
+ */
241
+ public dragRowID = null ;
242
+
94
243
protected _defaultExpandState = true ;
95
244
private _data ;
96
245
private _filteredData ;
0 commit comments