igniteui-webcomponents-grids 7.2.0-beta.0 → 7.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +24591 -11128
- package/grids/combined.js +29644 -28593
- package/grids/lib/igc-action-strip-component.d.ts +0 -39
- package/grids/lib/igc-base-exporter.d.ts +1 -25
- package/grids/lib/igc-base-toolbar-directive.d.ts +0 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +0 -2
- package/grids/lib/igc-column-component.d.ts +0 -489
- package/grids/lib/igc-column-exporting-event-args.d.ts +0 -5
- package/grids/lib/igc-column-group-component.d.ts +0 -55
- package/grids/lib/igc-column-layout-component.d.ts +0 -12
- package/grids/lib/igc-column-toggled-event-args.d.ts +1 -1
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +0 -2
- package/grids/lib/igc-csv-exporter-options.d.ts +0 -10
- package/grids/lib/igc-csv-exporter-service.d.ts +1 -23
- package/grids/lib/igc-data-clone-strategy.d.ts +0 -1
- package/grids/lib/igc-date-filtering-operand.d.ts +0 -2
- package/grids/lib/igc-date-summary-operand.d.ts +1 -38
- package/grids/lib/igc-dimensions-change.d.ts +1 -0
- package/grids/lib/igc-excel-exporter-options.d.ts +0 -27
- package/grids/lib/igc-excel-exporter-service.d.ts +1 -22
- package/grids/lib/igc-exporter-event-args.d.ts +12 -16
- package/grids/lib/igc-exporter-options-base.d.ts +4 -63
- package/grids/lib/igc-expression-tree.d.ts +1 -0
- package/grids/lib/igc-field-type.d.ts +0 -2
- package/grids/lib/igc-filtering-expressions-tree.d.ts +2 -0
- package/grids/lib/igc-filtering-operand.d.ts +0 -4
- package/grids/lib/igc-filtering-operation.d.ts +0 -2
- package/grids/lib/igc-grid-actions-base-directive.d.ts +0 -6
- package/grids/lib/igc-grid-base-component.d.ts +305 -0
- package/grids/lib/igc-grid-base-directive.d.ts +28 -1131
- package/grids/lib/igc-grid-component.d.ts +18 -512
- package/grids/lib/igc-grid-created-event-args.d.ts +4 -4
- package/grids/lib/igc-grid-editing-actions-component.d.ts +0 -7
- package/grids/lib/igc-grid-pinning-actions-component.d.ts +0 -12
- package/grids/lib/igc-grid-resource-strings.d.ts +1 -0
- package/grids/lib/igc-grid-state-base-directive.d.ts +0 -6
- package/grids/lib/igc-grid-state-component.d.ts +0 -5
- package/grids/lib/igc-grid-toolbar-actions-component.d.ts +0 -10
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -10
- package/grids/lib/igc-grid-toolbar-component.d.ts +0 -14
- package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +2 -2
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +0 -8
- package/grids/lib/igc-grid-toolbar-hiding-component.d.ts +0 -9
- package/grids/lib/igc-grid-toolbar-pinning-component.d.ts +0 -9
- package/grids/lib/igc-grid-toolbar-title-component.d.ts +0 -8
- package/grids/lib/igc-hierarchical-grid-base-component.d.ts +156 -0
- package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +0 -20
- package/grids/lib/igc-hierarchical-grid-component.d.ts +28 -184
- package/grids/lib/igc-number-filtering-operand.d.ts +0 -2
- package/grids/lib/igc-number-summary-operand.d.ts +1 -53
- package/grids/lib/igc-overlay-outlet-directive.d.ts +0 -3
- package/grids/lib/igc-paginator-component.d.ts +2 -81
- package/grids/lib/igc-pinning-config.d.ts +2 -0
- package/grids/lib/igc-pivot-aggregation.d.ts +8 -0
- package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
- package/grids/lib/igc-pivot-data-selector-component.d.ts +0 -87
- package/grids/lib/igc-pivot-date-dimension.d.ts +0 -3
- package/grids/lib/igc-pivot-grid-component.d.ts +0 -163
- package/grids/lib/igc-pivot-value.d.ts +1 -1
- package/grids/lib/igc-position-settings.d.ts +4 -0
- package/grids/lib/igc-position-strategy.d.ts +1 -4
- package/grids/lib/igc-query-builder-component.d.ts +1 -14
- package/grids/lib/igc-query-builder-header-component.d.ts +1 -13
- package/grids/lib/igc-row-data-cancelable-event-args.d.ts +28 -0
- package/grids/lib/igc-row-directive.d.ts +1 -55
- package/grids/lib/igc-row-island-base-component.d.ts +76 -0
- package/grids/lib/igc-row-island-component.d.ts +68 -1132
- package/grids/lib/igc-scroll-strategy.d.ts +1 -7
- package/grids/lib/igc-string-filtering-operand.d.ts +0 -4
- package/grids/lib/igc-summary-operand.d.ts +1 -33
- package/grids/lib/igc-summary-result.d.ts +0 -9
- package/grids/lib/igc-time-summary-operand.d.ts +0 -11
- package/grids/lib/igc-tree-grid-base-component.d.ts +226 -0
- package/grids/lib/igc-tree-grid-component.d.ts +23 -341
- package/grids/lib/igc-validation-errors.d.ts +4 -0
- package/grids/lib/index.d.ts +60 -56
- package/grids/lib/pivot-row-layout-type.d.ts +1 -1
- package/grids/lib/pivot-summary-position.d.ts +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/package.json +1 -1
- package/vscode.html-custom-data.json +1 -1
- package/web-types.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { IgcTreeGridBaseComponent } from './igc-tree-grid-base-component';
|
|
3
3
|
import { IgcColumnComponent } from './igc-column-component';
|
|
4
4
|
import { IgcColumnGroupComponent } from './igc-column-group-component';
|
|
5
5
|
import { IgcColumnLayoutComponent } from './igc-column-layout-component';
|
|
@@ -13,10 +13,9 @@ import { IgcGridToolbarPinningComponent } from './igc-grid-toolbar-pinning-compo
|
|
|
13
13
|
import { IgcActionStripComponent } from './igc-action-strip-component';
|
|
14
14
|
import { IgcGridEditingActionsComponent } from './igc-grid-editing-actions-component';
|
|
15
15
|
import { IgcGridPinningActionsComponent } from './igc-grid-pinning-actions-component';
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { IgcRowType } from './igc-row-type';
|
|
16
|
+
import { IgcColumnsAutoGeneratedEventArgs } from './igc-columns-auto-generated-event-args';
|
|
17
|
+
import { IgcActionStripToken } from './igc-action-strip-token';
|
|
18
|
+
import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
|
|
20
19
|
import { IgcGridBaseDirectiveEventMap } from './igc-grid-base-directive';
|
|
21
20
|
|
|
22
21
|
|
|
@@ -40,21 +39,13 @@ import { IgcGridBaseDirectiveEventMap } from './igc-grid-base-directive';
|
|
|
40
39
|
/**
|
|
41
40
|
* **Ignite UI for Angular Tree Grid** -
|
|
42
41
|
* [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/grid)
|
|
43
|
-
*
|
|
44
42
|
* The Ignite UI Tree Grid displays and manipulates hierarchical data with consistent schema formatted as a table and
|
|
45
43
|
* provides features such as sorting, filtering, editing, column pinning, paging, column moving and hiding.
|
|
46
|
-
*
|
|
47
44
|
* Example:
|
|
48
|
-
* ```html
|
|
49
|
-
* <igx-tree-grid [data]="employeeData" primaryKey="employeeID" foreignKey="PID" [autoGenerate]="false">
|
|
50
|
-
* <igx-column field="first" header="First Name"></igx-column>
|
|
51
|
-
* <igx-column field="last" header="Last Name"></igx-column>
|
|
52
|
-
* <igx-column field="role" header="Role"></igx-column>
|
|
53
|
-
* </igx-tree-grid>
|
|
54
|
-
* ```
|
|
55
45
|
*/
|
|
56
46
|
|
|
57
|
-
export declare class IgcTreeGridComponent extends
|
|
47
|
+
export declare class IgcTreeGridComponent extends EventEmitterMixin<IgcTreeGridComponentEventMap, Constructor<IgcTreeGridBaseComponent>>(IgcTreeGridBaseComponent)
|
|
48
|
+
|
|
58
49
|
{
|
|
59
50
|
|
|
60
51
|
/* blazorSuppress */
|
|
@@ -64,335 +55,26 @@ import { IgcGridBaseDirectiveEventMap } from './igc-grid-base-directive';
|
|
|
64
55
|
|
|
65
56
|
|
|
66
57
|
|
|
67
|
-
/**
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
public get childDataKey(): string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Sets the foreign key of the `IgxTreeGridComponent`.
|
|
82
|
-
* ```html
|
|
83
|
-
* <igx-tree-grid #grid [data]="employeeData" [primaryKey]="'employeeID'" [foreignKey]="'parentID'" [autoGenerate]="true">
|
|
84
|
-
* </igx-tree-grid>
|
|
85
|
-
* ```
|
|
86
|
-
*
|
|
87
|
-
* @memberof IgxTreeGridComponent
|
|
88
|
-
*/
|
|
89
|
-
public set foreignKey(value: string);
|
|
90
|
-
public get foreignKey(): string;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Sets the key indicating whether a row has children.
|
|
96
|
-
* This property is only used for load on demand scenarios.
|
|
97
|
-
* ```html
|
|
98
|
-
* <igx-tree-grid #grid [data]="employeeData" [primaryKey]="'employeeID'" [foreignKey]="'parentID'"
|
|
99
|
-
* [loadChildrenOnDemand]="loadChildren"
|
|
100
|
-
* [hasChildrenKey]="'hasEmployees'">
|
|
101
|
-
* </igx-tree-grid>
|
|
102
|
-
* ```
|
|
103
|
-
*
|
|
104
|
-
* @memberof IgxTreeGridComponent
|
|
105
|
-
*/
|
|
106
|
-
public set hasChildrenKey(value: string);
|
|
107
|
-
public get hasChildrenKey(): string;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Sets whether child records should be deleted when their parent gets deleted.
|
|
113
|
-
* By default it is set to true and deletes all children along with the parent.
|
|
114
|
-
* ```html
|
|
115
|
-
* <igx-tree-grid [data]="employeeData" [primaryKey]="'employeeID'" [foreignKey]="'parentID'" cascadeOnDelete="false">
|
|
116
|
-
* </igx-tree-grid>
|
|
117
|
-
* ```
|
|
118
|
-
*
|
|
119
|
-
* @memberof IgxTreeGridComponent
|
|
120
|
-
*/
|
|
121
|
-
public set cascadeOnDelete(value: boolean);
|
|
122
|
-
public get cascadeOnDelete(): boolean;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
/* csSuppress */
|
|
127
|
-
/**
|
|
128
|
-
* Sets a callback for loading child rows on demand.
|
|
129
|
-
* ```html
|
|
130
|
-
* <igx-tree-grid [data]="employeeData" [primaryKey]="'employeeID'" [foreignKey]="'parentID'" [loadChildrenOnDemand]="loadChildren">
|
|
131
|
-
* </igx-tree-grid>
|
|
132
|
-
* ```
|
|
133
|
-
* ```typescript
|
|
134
|
-
* public loadChildren = (parentID: any, done: (children: any[]) => void) => {
|
|
135
|
-
* this.dataService.getData(parentID, children => done(children));
|
|
136
|
-
* }
|
|
137
|
-
* ```
|
|
138
|
-
*
|
|
139
|
-
* @memberof IgxTreeGridComponent
|
|
140
|
-
*/
|
|
141
|
-
public set loadChildrenOnDemand(value: any);
|
|
142
|
-
public get loadChildrenOnDemand(): any;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Sets the value of the `id` attribute. If not provided it will be automatically generated.
|
|
148
|
-
* ```html
|
|
149
|
-
* <igx-tree-grid [id]="'igx-tree-grid-1'"></igx-tree-grid>
|
|
150
|
-
* ```
|
|
151
|
-
*
|
|
152
|
-
* @memberof IgxTreeGridComponent
|
|
153
|
-
*/
|
|
154
|
-
public set id(value: string);
|
|
155
|
-
public get id(): string;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Returns an array of the root level `ITreeGridRecord`s.
|
|
161
|
-
* ```typescript
|
|
162
|
-
* // gets the root record with index=2
|
|
163
|
-
* const states = this.grid.rootRecords[2];
|
|
164
|
-
* ```
|
|
165
|
-
*
|
|
166
|
-
* @memberof IgxTreeGridComponent
|
|
167
|
-
*/
|
|
168
|
-
public set rootRecords(value: IgcTreeGridRecord[]);
|
|
169
|
-
public get rootRecords(): IgcTreeGridRecord[];
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Returns an array of processed (filtered and sorted) root `ITreeGridRecord`s.
|
|
175
|
-
* ```typescript
|
|
176
|
-
* // gets the processed root record with index=2
|
|
177
|
-
* const states = this.grid.processedRootRecords[2];
|
|
178
|
-
* ```
|
|
179
|
-
*
|
|
180
|
-
* @memberof IgxTreeGridComponent
|
|
181
|
-
*/
|
|
182
|
-
public set processedRootRecords(value: IgcTreeGridRecord[]);
|
|
183
|
-
public get processedRootRecords(): IgcTreeGridRecord[];
|
|
58
|
+
/** @hidden @internal */
|
|
59
|
+
/* blazorInclude */
|
|
60
|
+
/* contentChildren */
|
|
61
|
+
/* blazorTreatAsCollection */
|
|
62
|
+
/* blazorCollectionName: ActionStripCollection */
|
|
63
|
+
/* blazorCollectionItemName: ActionStrip */
|
|
64
|
+
/* ngQueryListName: actionStripComponents */
|
|
65
|
+
public set actionStripComponents(value: IgcActionStripToken[]);
|
|
66
|
+
public get actionStripComponents(): IgcActionStripToken[];
|
|
184
67
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
/* treatAsRef */
|
|
188
|
-
/**
|
|
189
|
-
* Gets/Sets the array of data that populates the component.
|
|
190
|
-
* ```html
|
|
191
|
-
* <igx-tree-grid [data]="Data" [autoGenerate]="true"></igx-tree-grid>
|
|
192
|
-
* ```
|
|
193
|
-
*
|
|
194
|
-
* @memberof IgxTreeGridComponent
|
|
195
|
-
*/
|
|
196
|
-
public set data(value: any[]);
|
|
197
|
-
public get data(): any[];
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Sets the count of levels to be expanded in the `IgxTreeGridComponent`. By default it is
|
|
203
|
-
* set to `Infinity` which means all levels would be expanded.
|
|
204
|
-
* ```html
|
|
205
|
-
* <igx-tree-grid #grid [data]="employeeData" [childDataKey]="'employees'" expansionDepth="1" [autoGenerate]="true"></igx-tree-grid>
|
|
206
|
-
* ```
|
|
207
|
-
*
|
|
208
|
-
* @memberof IgxTreeGridComponent
|
|
209
|
-
*/
|
|
210
|
-
public set expansionDepth(value: number);
|
|
211
|
-
public get expansionDepth(): number;
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Template for the row loading indicator when load on demand is enabled.
|
|
217
|
-
* ```html
|
|
218
|
-
* <ng-template #rowLoadingTemplate>
|
|
219
|
-
* <igx-icon>loop</igx-icon>
|
|
220
|
-
* </ng-template>
|
|
221
|
-
*
|
|
222
|
-
* <igx-tree-grid #grid [data]="employeeData" [primaryKey]="'ID'" [foreignKey]="'parentID'"
|
|
223
|
-
* [loadChildrenOnDemand]="loadChildren"
|
|
224
|
-
* [rowLoadingIndicatorTemplate]="rowLoadingTemplate">
|
|
225
|
-
* </igx-tree-grid>
|
|
226
|
-
* ```
|
|
227
|
-
*
|
|
228
|
-
* @memberof IgxTreeGridComponent
|
|
229
|
-
*/
|
|
230
|
-
public set rowLoadingIndicatorTemplate(value: IgcRenderFunction<void>);
|
|
231
|
-
public get rowLoadingIndicatorTemplate(): IgcRenderFunction<void>;
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Returns an array of the selected `IgxGridCell`s.
|
|
237
|
-
*
|
|
238
|
-
* @example
|
|
239
|
-
* ```typescript
|
|
240
|
-
* const selectedCells = this.grid.selectedCells;
|
|
241
|
-
* ```
|
|
242
|
-
*/
|
|
243
|
-
public get selectedCells(): IgcCellType[];
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
public getDefaultExpandState(record: IgcTreeGridRecord): boolean;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Expands all rows.
|
|
253
|
-
* ```typescript
|
|
254
|
-
* this.grid.expandAll();
|
|
255
|
-
* ```
|
|
256
|
-
*
|
|
257
|
-
* @memberof IgxTreeGridComponent
|
|
258
|
-
*/
|
|
259
|
-
public expandAll(): void;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Collapses all rows.
|
|
265
|
-
*
|
|
266
|
-
* ```typescript
|
|
267
|
-
* this.grid.collapseAll();
|
|
268
|
-
* ```
|
|
269
|
-
*
|
|
270
|
-
* @memberof IgxTreeGridComponent
|
|
271
|
-
*/
|
|
272
|
-
public collapseAll(): void;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
/* blazorCSSuppress */
|
|
277
|
-
/**
|
|
278
|
-
* Creates a new `IgxTreeGridRowComponent` with the given data. If a parentRowID is not specified, the newly created
|
|
279
|
-
* row would be added at the root level. Otherwise, it would be added as a child of the row whose primaryKey matches
|
|
280
|
-
* the specified parentRowID. If the parentRowID does not exist, an error would be thrown.
|
|
281
|
-
* ```typescript
|
|
282
|
-
* const record = {
|
|
283
|
-
* ID: this.grid.data[this.grid1.data.length - 1].ID + 1,
|
|
284
|
-
* Name: this.newRecord
|
|
285
|
-
* };
|
|
286
|
-
* this.grid.addRow(record, 1); // Adds a new child row to the row with ID=1.
|
|
287
|
-
* ```
|
|
288
|
-
*
|
|
289
|
-
* @param data
|
|
290
|
-
* @param parentRowID
|
|
291
|
-
* @memberof IgxTreeGridComponent
|
|
292
|
-
*/
|
|
293
|
-
// TODO: remove evt emission
|
|
294
|
-
public addRow(data: any, parentRowID?: any): void;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* Enters add mode by spawning the UI with the context of the specified row by index.
|
|
300
|
-
*
|
|
301
|
-
* @remarks
|
|
302
|
-
* Accepted values for index are integers from 0 to this.grid.dataView.length
|
|
303
|
-
* @remarks
|
|
304
|
-
* When adding the row as a child, the parent row is the specified row.
|
|
305
|
-
* @remarks
|
|
306
|
-
* To spawn the UI on top, call the function with index = null or a negative number.
|
|
307
|
-
* In this case trying to add this row as a child will result in error.
|
|
308
|
-
* @example
|
|
309
|
-
* ```typescript
|
|
310
|
-
* this.grid.beginAddRowByIndex(10);
|
|
311
|
-
* this.grid.beginAddRowByIndex(10, true);
|
|
312
|
-
* this.grid.beginAddRowByIndex(null);
|
|
313
|
-
* ```
|
|
314
|
-
* @param index - The index to spawn the UI at. Accepts integers from 0 to this.grid.dataView.length
|
|
315
|
-
* @param asChild - Whether the record should be added as a child. Only applicable to igxTreeGrid.
|
|
316
|
-
*/
|
|
317
|
-
public beginAddRowByIndex(index: number, asChild?: boolean): void;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
* Returns an array of the current cell selection in the form of `[{ column.field: cell.value }, ...]`.
|
|
324
|
-
*
|
|
325
|
-
* @remarks
|
|
326
|
-
* If `formatters` is enabled, the cell value will be formatted by its respective column formatter (if any).
|
|
327
|
-
* If `headers` is enabled, it will use the column header (if any) instead of the column field.
|
|
328
|
-
*/
|
|
329
|
-
public getSelectedData(formatters?: boolean, headers?: boolean): any[];
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Returns the `IgxTreeGridRow` by index.
|
|
335
|
-
*
|
|
336
|
-
* @example
|
|
337
|
-
* ```typescript
|
|
338
|
-
* const myRow = treeGrid.getRowByIndex(1);
|
|
339
|
-
* ```
|
|
340
|
-
* @param index
|
|
341
|
-
*/
|
|
342
|
-
public getRowByIndex(index: number): IgcRowType;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Returns the `RowType` object by the specified primary key.
|
|
348
|
-
*
|
|
349
|
-
* @example
|
|
350
|
-
* ```typescript
|
|
351
|
-
* const myRow = this.treeGrid.getRowByIndex(1);
|
|
352
|
-
* ```
|
|
353
|
-
* @param index
|
|
354
|
-
*/
|
|
355
|
-
public getRowByKey(key: any): IgcRowType;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Returns a `CellType` object that matches the conditions.
|
|
361
|
-
*
|
|
362
|
-
* @example
|
|
363
|
-
* ```typescript
|
|
364
|
-
* const myCell = this.grid1.getCellByColumn(2, "UnitPrice");
|
|
365
|
-
* ```
|
|
366
|
-
* @param rowIndex
|
|
367
|
-
* @param columnField
|
|
368
|
-
*/
|
|
369
|
-
public getCellByColumn(rowIndex: number, columnField: string): IgcCellType;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Returns a `CellType` object that matches the conditions.
|
|
375
|
-
*
|
|
376
|
-
* @remarks
|
|
377
|
-
* Requires that the primaryKey property is set.
|
|
378
|
-
* @example
|
|
379
|
-
* ```typescript
|
|
380
|
-
* grid.getCellByKey(1, 'index');
|
|
381
|
-
* ```
|
|
382
|
-
* @param rowSelector match any rowID
|
|
383
|
-
* @param columnField
|
|
384
|
-
*/
|
|
385
|
-
public getCellByKey(rowSelector: any, columnField: string): IgcCellType;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
public pinRow(rowID: any, index?: number): boolean;
|
|
68
|
+
}
|
|
390
69
|
|
|
70
|
+
export declare interface IgcTreeGridComponentEventMap extends IgcGridBaseDirectiveEventMap {
|
|
391
71
|
|
|
72
|
+
columnsAutogenerated: CustomEvent<IgcColumnsAutoGeneratedEventArgs>;
|
|
392
73
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
74
|
+
/**
|
|
75
|
+
* Emitted when content children are resolved and collections in grid are updated.
|
|
76
|
+
*/
|
|
77
|
+
childrenResolved: CustomEvent<void>;
|
|
396
78
|
|
|
397
|
-
|
|
79
|
+
}
|
|
398
80
|
|
package/grids/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export { type IgcGridComponentEventMap, IgcGridComponent } from "./igc-grid-component";
|
|
2
|
+
export type { IgcGridBaseComponentEventMap, IgcGridBaseComponent } from "./igc-grid-base-component";
|
|
3
|
+
export type { IgcColumnsAutoGeneratedEventArgs } from "./igc-columns-auto-generated-event-args";
|
|
4
|
+
export type { IgcActionStripToken } from "./igc-action-strip-token";
|
|
5
|
+
export { type IgcHierarchicalGridComponentEventMap, IgcHierarchicalGridComponent } from "./igc-hierarchical-grid-component";
|
|
6
|
+
export type { IgcHierarchicalGridBaseComponentEventMap, IgcHierarchicalGridBaseComponent } from "./igc-hierarchical-grid-base-component";
|
|
7
|
+
export { type IgcRowIslandComponentEventMap, IgcRowIslandComponent } from "./igc-row-island-component";
|
|
8
|
+
export { type IgcTreeGridComponentEventMap, IgcTreeGridComponent } from "./igc-tree-grid-component";
|
|
9
|
+
export type { IgcTreeGridBaseComponentEventMap, IgcTreeGridBaseComponent } from "./igc-tree-grid-base-component";
|
|
1
10
|
export { type IgcGridStateComponentEventMap, IgcGridStateComponent } from "./igc-grid-state-component";
|
|
2
11
|
export type { IgcGridStateBaseDirective } from "./igc-grid-state-base-directive";
|
|
3
12
|
export type { IgcGridStateInfo } from "./igc-grid-state-info";
|
|
@@ -66,23 +75,9 @@ export { type IgcGridToolbarPinningComponentEventMap, IgcGridToolbarPinningCompo
|
|
|
66
75
|
export type { IgcToggleViewCancelableEventArgs } from "./igc-toggle-view-cancelable-event-args";
|
|
67
76
|
export type { IgcToggleViewEventArgs } from "./igc-toggle-view-event-args";
|
|
68
77
|
export type { IgcColumnToggledEventArgs } from "./igc-column-toggled-event-args";
|
|
69
|
-
export { type IgcGridComponentEventMap, IgcGridComponent } from "./igc-grid-component";
|
|
70
|
-
export type { IgcGridBaseDirectiveEventMap, IgcGridBaseDirective } from "./igc-grid-base-directive";
|
|
71
|
-
export type { IgcForOfState } from "./igc-for-of-state";
|
|
72
|
-
export type { IgcGroupingExpression } from "./igc-grouping-expression";
|
|
73
|
-
export type { IgcGroupByExpandState } from "./igc-group-by-expand-state";
|
|
74
|
-
export type { IgcGroupingDoneEventArgs } from "./igc-grouping-done-event-args";
|
|
75
|
-
export type { IgcGridMasterDetailContext } from "./igc-grid-master-detail-context";
|
|
76
|
-
export type { IgcGridGroupingStrategy } from "./igc-grid-grouping-strategy";
|
|
77
|
-
export type { IgcGroupByRowSelectorTemplateContext } from "./igc-group-by-row-selector-template-context";
|
|
78
|
-
export type { IgcGroupByRowTemplateContext } from "./igc-group-by-row-template-context";
|
|
79
|
-
export type { IgcRowType } from "./igc-row-type";
|
|
80
|
-
export type { IgcCellType } from "./igc-cell-type";
|
|
81
|
-
export { type IgcHierarchicalGridComponentEventMap, IgcHierarchicalGridComponent } from "./igc-hierarchical-grid-component";
|
|
82
|
-
export type { IgcHierarchicalGridBaseDirectiveEventMap, IgcHierarchicalGridBaseDirective } from "./igc-hierarchical-grid-base-directive";
|
|
83
|
-
export { type IgcRowIslandComponentEventMap, IgcRowIslandComponent } from "./igc-row-island-component";
|
|
84
78
|
export { type IgcPivotDataSelectorComponentEventMap, IgcPivotDataSelectorComponent } from "./igc-pivot-data-selector-component";
|
|
85
79
|
export { type IgcPivotGridComponentEventMap, IgcPivotGridComponent } from "./igc-pivot-grid-component";
|
|
80
|
+
export type { IgcGridBaseDirectiveEventMap, IgcGridBaseDirective } from "./igc-grid-base-directive";
|
|
86
81
|
export type { IgcDimensionsChange } from "./igc-dimensions-change";
|
|
87
82
|
export type { IgcPivotConfigurationChangedEventArgs } from "./igc-pivot-configuration-changed-event-args";
|
|
88
83
|
export type { IgcSortingExpression } from "./igc-sorting-expression";
|
|
@@ -92,41 +87,24 @@ export type { IgcPivotConfiguration } from "./igc-pivot-configuration";
|
|
|
92
87
|
export type { IgcPivotUISettings } from "./igc-pivot-ui-settings";
|
|
93
88
|
export { PivotDimensionType } from "./pivot-dimension-type";
|
|
94
89
|
export { SortingDirection } from "./sorting-direction";
|
|
95
|
-
export { type IgcTreeGridComponentEventMap, IgcTreeGridComponent } from "./igc-tree-grid-component";
|
|
96
|
-
export type { IgcTreeGridRecord } from "./igc-tree-grid-record";
|
|
97
90
|
export { IgcQueryBuilderHeaderComponent } from "./igc-query-builder-header-component";
|
|
98
91
|
export type { IgcQueryBuilderResourceStrings } from "./igc-query-builder-resource-strings";
|
|
99
92
|
export { type IgcQueryBuilderComponentEventMap, IgcQueryBuilderComponent } from "./igc-query-builder-component";
|
|
100
93
|
export type { IgcEntityType } from "./igc-entity-type";
|
|
101
94
|
export type { IgcQueryBuilderSearchValueContext } from "./igc-query-builder-search-value-context";
|
|
102
|
-
export type {
|
|
103
|
-
export type {
|
|
104
|
-
export type {
|
|
105
|
-
export type {
|
|
106
|
-
export type {
|
|
107
|
-
export type {
|
|
108
|
-
export type {
|
|
109
|
-
export {
|
|
110
|
-
export type {
|
|
95
|
+
export type { IgcForOfState } from "./igc-for-of-state";
|
|
96
|
+
export type { IgcGroupingExpression } from "./igc-grouping-expression";
|
|
97
|
+
export type { IgcGroupByExpandState } from "./igc-group-by-expand-state";
|
|
98
|
+
export type { IgcGroupingDoneEventArgs } from "./igc-grouping-done-event-args";
|
|
99
|
+
export type { IgcGridMasterDetailContext } from "./igc-grid-master-detail-context";
|
|
100
|
+
export type { IgcGridGroupingStrategy } from "./igc-grid-grouping-strategy";
|
|
101
|
+
export type { IgcGroupByRowSelectorTemplateContext } from "./igc-group-by-row-selector-template-context";
|
|
102
|
+
export type { IgcGroupByRowTemplateContext } from "./igc-group-by-row-template-context";
|
|
103
|
+
export type { IgcRowType } from "./igc-row-type";
|
|
104
|
+
export type { IgcCellType } from "./igc-cell-type";
|
|
111
105
|
export type { IgcBaseEventArgs } from "./igc-base-event-args";
|
|
112
|
-
export {
|
|
113
|
-
export type {
|
|
114
|
-
export { ColumnPinningPosition } from "./column-pinning-position";
|
|
115
|
-
export type { IgcSortingStrategy } from "./igc-sorting-strategy";
|
|
116
|
-
export type { IgcSummaryTemplateContext } from "./igc-summary-template-context";
|
|
117
|
-
export type { IgcCellTemplateContext } from "./igc-cell-template-context";
|
|
118
|
-
export type { IgcColumnPipeArgs } from "./igc-column-pipe-args";
|
|
119
|
-
export type { IgcColumnEditorOptions } from "./igc-column-editor-options";
|
|
120
|
-
export type { IgcPivotAggregator } from "./igc-pivot-aggregator";
|
|
121
|
-
export type { IgcPivotGridRecord } from "./igc-pivot-grid-record";
|
|
122
|
-
export type { IgcPivotGridColumn } from "./igc-pivot-grid-column";
|
|
123
|
-
export type { IgcValidationResourceStrings } from "./igc-validation-resource-strings";
|
|
124
|
-
export type { IgcRowExportingEventArgs } from "./igc-row-exporting-event-args";
|
|
125
|
-
export type { IgcColumnExportingEventArgs } from "./igc-column-exporting-event-args";
|
|
126
|
-
export type { IgcPositionStrategy } from "./igc-position-strategy";
|
|
127
|
-
export type { IgcScrollStrategy } from "./igc-scroll-strategy";
|
|
128
|
-
export type { IgcExporterOptions } from "./igc-exporter-options";
|
|
129
|
-
export type { IgcCancelableBrowserEventArgs } from "./igc-cancelable-browser-event-args";
|
|
106
|
+
export type { IgcHierarchicalGridBaseDirectiveEventMap, IgcHierarchicalGridBaseDirective } from "./igc-hierarchical-grid-base-directive";
|
|
107
|
+
export type { IgcRowIslandBaseComponentEventMap, IgcRowIslandBaseComponent } from "./igc-row-island-base-component";
|
|
130
108
|
export type { IgcGridTemplateContext } from "./igc-grid-template-context";
|
|
131
109
|
export type { IgcDataCloneStrategy } from "./igc-data-clone-strategy";
|
|
132
110
|
export type { IgcClipboardOptions } from "./igc-clipboard-options";
|
|
@@ -141,7 +119,6 @@ export type { IgcPinColumnCancellableEventArgs } from "./igc-pin-column-cancella
|
|
|
141
119
|
export type { IgcPinColumnEventArgs } from "./igc-pin-column-event-args";
|
|
142
120
|
export type { IgcGridEditEventArgs } from "./igc-grid-edit-event-args";
|
|
143
121
|
export type { IgcGridEditDoneEventArgs } from "./igc-grid-edit-done-event-args";
|
|
144
|
-
export type { IgcColumnsAutoGeneratedEventArgs } from "./igc-columns-auto-generated-event-args";
|
|
145
122
|
export type { IgcSortingEventArgs } from "./igc-sorting-event-args";
|
|
146
123
|
export type { IgcFilteringEventArgs } from "./igc-filtering-event-args";
|
|
147
124
|
export type { IgcRowDataEventArgs } from "./igc-row-data-event-args";
|
|
@@ -161,8 +138,8 @@ export type { IgcRowToggleEventArgs } from "./igc-row-toggle-event-args";
|
|
|
161
138
|
export type { IgcPinRowEventArgs } from "./igc-pin-row-event-args";
|
|
162
139
|
export type { IgcActiveNodeChangeEventArgs } from "./igc-active-node-change-event-args";
|
|
163
140
|
export type { IgcGridToolbarExportEventArgs } from "./igc-grid-toolbar-export-event-args";
|
|
141
|
+
export type { IgcGridSelectionRange } from "./igc-grid-selection-range";
|
|
164
142
|
export type { IgcForOfDataChangeEventArgs } from "./igc-for-of-data-change-event-args";
|
|
165
|
-
export type { IgcActionStripToken } from "./igc-action-strip-token";
|
|
166
143
|
export type { IgcGridRowDragGhostContext } from "./igc-grid-row-drag-ghost-context";
|
|
167
144
|
export type { IgcGridRowEditTextTemplateContext } from "./igc-grid-row-edit-text-template-context";
|
|
168
145
|
export type { IgcGridEmptyTemplateContext } from "./igc-grid-empty-template-context";
|
|
@@ -171,8 +148,10 @@ export type { IgcGridRowTemplateContext } from "./igc-grid-row-template-context"
|
|
|
171
148
|
export type { IgcGridHeaderTemplateContext } from "./igc-grid-header-template-context";
|
|
172
149
|
export { IgcGridToolbarComponent } from "./igc-grid-toolbar-component";
|
|
173
150
|
export { type IgcPaginatorComponentEventMap, IgcPaginatorComponent } from "./igc-paginator-component";
|
|
151
|
+
export { FilteringLogic } from "./filtering-logic";
|
|
174
152
|
export type { GridPagingMode } from "./grid-paging-mode";
|
|
175
153
|
export type { GridValidationTrigger } from "./grid-validation-trigger";
|
|
154
|
+
export type { IgcPinningConfig } from "./igc-pinning-config";
|
|
176
155
|
export type { FilterMode } from "./filter-mode";
|
|
177
156
|
export type { GridSummaryPosition } from "./grid-summary-position";
|
|
178
157
|
export type { GridSummaryCalculationMode } from "./grid-summary-calculation-mode";
|
|
@@ -189,25 +168,44 @@ export type { IgcSearchInfo } from "./igc-search-info";
|
|
|
189
168
|
export type { IgcOverlayOutletDirective } from "./igc-overlay-outlet-directive";
|
|
190
169
|
export type { IgcGridRowComponent } from "./igc-grid-row-component";
|
|
191
170
|
export { DropPosition } from "./drop-position";
|
|
171
|
+
export { ColumnPinningPosition } from "./column-pinning-position";
|
|
192
172
|
export type { IgcCellPosition } from "./igc-cell-position";
|
|
193
|
-
export type { IgcGroupByKey } from "./igc-group-by-key";
|
|
194
|
-
export type { IgcGroupByRowSelectorTemplateDetails } from "./igc-group-by-row-selector-template-details";
|
|
195
|
-
export type { IgcGridValidationState } from "./igc-grid-validation-state";
|
|
196
173
|
export type { IgcGridToolbarTemplateContext } from "./igc-grid-toolbar-template-context";
|
|
197
174
|
export type { IgcGridPaginatorTemplateContext } from "./igc-grid-paginator-template-context";
|
|
198
175
|
export type { IgcGridCreatedEventArgs } from "./igc-grid-created-event-args";
|
|
176
|
+
export type { IgcTreeGridRecord } from "./igc-tree-grid-record";
|
|
177
|
+
export type { IgcGridStateOptions } from "./igc-grid-state-options";
|
|
178
|
+
export type { IgcColumnState } from "./igc-column-state";
|
|
179
|
+
export type { IgcPagingState } from "./igc-paging-state";
|
|
180
|
+
export type { IgcGroupingState } from "./igc-grouping-state";
|
|
181
|
+
export type { IgcGridStateCollection } from "./igc-grid-state-collection";
|
|
182
|
+
export type { IgcFilterItem } from "./igc-filter-item";
|
|
183
|
+
export { FilteringExpressionsTreeType } from "./filtering-expressions-tree-type";
|
|
184
|
+
export type { IgcGroupedRecords } from "./igc-grouped-records";
|
|
185
|
+
export type { IgcSortingStrategy } from "./igc-sorting-strategy";
|
|
186
|
+
export type { IgcSummaryTemplateContext } from "./igc-summary-template-context";
|
|
187
|
+
export type { IgcCellTemplateContext } from "./igc-cell-template-context";
|
|
188
|
+
export type { IgcColumnPipeArgs } from "./igc-column-pipe-args";
|
|
189
|
+
export type { IgcColumnEditorOptions } from "./igc-column-editor-options";
|
|
190
|
+
export type { IgcPivotAggregator } from "./igc-pivot-aggregator";
|
|
191
|
+
export type { IgcPivotGridRecord } from "./igc-pivot-grid-record";
|
|
192
|
+
export type { IgcPivotGridColumn } from "./igc-pivot-grid-column";
|
|
193
|
+
export type { IgcValidationResourceStrings } from "./igc-validation-resource-strings";
|
|
194
|
+
export type { IgcRowExportingEventArgs } from "./igc-row-exporting-event-args";
|
|
195
|
+
export type { IgcColumnExportingEventArgs } from "./igc-column-exporting-event-args";
|
|
196
|
+
export type { IgcPositionStrategy } from "./igc-position-strategy";
|
|
197
|
+
export type { IgcScrollStrategy } from "./igc-scroll-strategy";
|
|
198
|
+
export type { IgcExporterOptions } from "./igc-exporter-options";
|
|
199
|
+
export type { IgcCancelableBrowserEventArgs } from "./igc-cancelable-browser-event-args";
|
|
200
|
+
export type { IgcCancelableEventArgs } from "./igc-cancelable-event-args";
|
|
199
201
|
export type { IgcPivotDimensionStrategy } from "./igc-pivot-dimension-strategy";
|
|
200
202
|
export type { IgcPivotKeys } from "./igc-pivot-keys";
|
|
201
203
|
export type { PivotRowLayoutType } from "./pivot-row-layout-type";
|
|
202
204
|
export type { PivotSummaryPosition } from "./pivot-summary-position";
|
|
203
205
|
export type { IgcFieldType } from "./igc-field-type";
|
|
204
|
-
export {
|
|
205
|
-
export type {
|
|
206
|
-
export type {
|
|
207
|
-
export type { PivotAggregationType } from "./pivot-aggregation-type";
|
|
208
|
-
export type { IgcPivotAggregation } from "./igc-pivot-aggregation";
|
|
209
|
-
export type { IgcPositionSettings } from "./igc-position-settings";
|
|
210
|
-
export type { IgcCancelableEventArgs } from "./igc-cancelable-event-args";
|
|
206
|
+
export type { IgcGroupByKey } from "./igc-group-by-key";
|
|
207
|
+
export type { IgcGroupByRowSelectorTemplateDetails } from "./igc-group-by-row-selector-template-details";
|
|
208
|
+
export type { IgcGridValidationState } from "./igc-grid-validation-state";
|
|
211
209
|
export type { ValidationStatus } from "./validation-status";
|
|
212
210
|
export type { GridKeydownTargetType } from "./grid-keydown-target-type";
|
|
213
211
|
export type { IgcForOfDataChangingEventArgs } from "./igc-for-of-data-changing-event-args";
|
|
@@ -215,10 +213,16 @@ export type { IgcHeaderType } from "./igc-header-type";
|
|
|
215
213
|
export type { IgcPageCancellableEventArgs } from "./igc-page-cancellable-event-args";
|
|
216
214
|
export type { IgcPageEventArgs } from "./igc-page-event-args";
|
|
217
215
|
export type { IgcPaginatorResourceStrings } from "./igc-paginator-resource-strings";
|
|
216
|
+
export { RowPinningPosition } from "./row-pinning-position";
|
|
218
217
|
export type { SortingOptionsMode } from "./sorting-options-mode";
|
|
219
218
|
export type { IgcHeadSelectorTemplateDetails } from "./igc-head-selector-template-details";
|
|
220
219
|
export type { IgcRowSelectorTemplateDetails } from "./igc-row-selector-template-details";
|
|
221
220
|
export type { IgcBaseSearchInfo } from "./igc-base-search-info";
|
|
221
|
+
export type { IgcFieldPipeArgs } from "./igc-field-pipe-args";
|
|
222
|
+
export type { IgcFieldEditorOptions } from "./igc-field-editor-options";
|
|
223
|
+
export type { PivotAggregationType } from "./pivot-aggregation-type";
|
|
224
|
+
export type { IgcPivotAggregation } from "./igc-pivot-aggregation";
|
|
225
|
+
export type { IgcPositionSettings } from "./igc-position-settings";
|
|
222
226
|
export type { IgcValidationErrors } from "./igc-validation-errors";
|
|
223
227
|
export { HorizontalAlignment } from "./horizontal-alignment";
|
|
224
228
|
export { VerticalAlignment } from "./vertical-alignment";
|