@progress/kendo-angular-grid 22.1.0-develop.8 → 23.0.0-develop.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/README.md +2 -2
- package/adaptiveness/adaptive-renderer.component.d.ts +1 -0
- package/aggregates/aggregate-types.d.ts +1 -1
- package/aggregates/status-bar-template.directive.d.ts +1 -1
- package/column-menu/column-chooser.component.d.ts +3 -3
- package/column-menu/column-menu-autosize-all.component.d.ts +4 -4
- package/column-menu/column-menu-autosize.component.d.ts +3 -3
- package/column-menu/column-menu-chooser.component.d.ts +4 -4
- package/column-menu/column-menu-expandable-item.interface.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +3 -3
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +2 -2
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-lock.component.d.ts +3 -3
- package/column-menu/column-menu-position.component.d.ts +2 -2
- package/column-menu/column-menu-settings.interface.d.ts +4 -4
- package/column-menu/column-menu-sort.component.d.ts +1 -1
- package/column-menu/column-menu-stick.component.d.ts +4 -4
- package/column-menu/column-menu-template.directive.d.ts +1 -1
- package/column-menu/column-menu.component.d.ts +3 -3
- package/column-menu/column-menu.service.d.ts +1 -1
- package/column-resizing/column-resize.interface.d.ts +1 -1
- package/columns/checkbox-column.component.d.ts +1 -1
- package/columns/column-base.d.ts +24 -17
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column.component.d.ts +6 -6
- package/columns/command-column.component.d.ts +1 -1
- package/columns/reorder-column.component.d.ts +1 -1
- package/columns/sort-settings.d.ts +6 -6
- package/columns/span-column.component.d.ts +5 -5
- package/common/cell-click-event-args.interface.d.ts +1 -1
- package/common/clipboard-types.d.ts +1 -1
- package/common/clipboard.directive.d.ts +1 -1
- package/common/fetch-data-callback.d.ts +1 -1
- package/common/pager-settings.d.ts +2 -2
- package/common/provider.service.d.ts +2 -0
- package/common/single-popup.service.d.ts +1 -1
- package/common/size-options.d.ts +1 -1
- package/csv/csv-command-tool.directive.d.ts +38 -0
- package/csv/csv-command.directive.d.ts +38 -0
- package/csv/csv-export-event.d.ts +15 -0
- package/csv/csv.component.d.ts +131 -0
- package/csv/csv.module.d.ts +32 -0
- package/csv/csv.service.d.ts +16 -0
- package/data/change-event-args.interface.d.ts +2 -2
- package/data/data.collection.d.ts +1 -1
- package/data/grid-item.interface.d.ts +4 -4
- package/databinding.directive.d.ts +3 -3
- package/directives.d.ts +10 -1
- package/dragdrop/column-reorder-config.d.ts +1 -1
- package/editing/add-command-tool.directive.d.ts +1 -1
- package/editing/add-command.directive.d.ts +3 -3
- package/editing/add-event-args.interface.d.ts +1 -1
- package/editing/cancel-command-tool.directive.d.ts +1 -1
- package/editing/cancel-command.directive.d.ts +3 -3
- package/editing/cancel-event-args.interface.d.ts +2 -2
- package/editing/cell-close-event.d.ts +1 -1
- package/editing/edit-command-tool.directive.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +3 -3
- package/editing/edit-event-args.interface.d.ts +1 -1
- package/editing/edit-row-options.interface.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/form/models.d.ts +1 -1
- package/editing/remove-command-tool.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +3 -3
- package/editing/remove-event-args.interface.d.ts +1 -1
- package/editing/save-command-tool.directive.d.ts +1 -1
- package/editing/save-command.directive.d.ts +3 -3
- package/editing/save-event-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +1 -1
- package/editing-directives/external-editing.directive.d.ts +1 -1
- package/editing-directives/in-cell-editing.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/editing-directives/template-editing.directive.d.ts +1 -1
- package/excel/excel-command-tool.directive.d.ts +1 -1
- package/excel/excel-command.directive.d.ts +2 -2
- package/excel/excel.component.d.ts +5 -5
- package/fesm2022/progress-kendo-angular-grid.mjs +962 -358
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -1
- package/filtering/cell/date-filter-cell.component.d.ts +2 -2
- package/filtering/cell/filter-cell-template.directive.d.ts +2 -2
- package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +2 -2
- package/filtering/filter.service.d.ts +1 -1
- package/filtering/filterable.d.ts +2 -2
- package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
- package/filtering/menu/filter-menu-container.component.d.ts +5 -1
- package/filtering/menu/filter-menu-template.directive.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -1
- package/filtering/operators/after-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/after-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-filter-operator.component.d.ts +2 -2
- package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
- package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
- package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
- package/grid.component.d.ts +80 -61
- package/grouping/group-header-column-template.directive.d.ts +1 -1
- package/grouping/group-header-template.directive.d.ts +1 -1
- package/grouping/group-key.interface.d.ts +3 -3
- package/grouping/group-rows-args.interface.d.ts +1 -1
- package/index.d.ts +6 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/messages.d.ts +14 -10
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/navigable-settings.d.ts +3 -3
- package/navigation/toolbar-tool-name.d.ts +1 -0
- package/package-metadata.mjs +2 -2
- package/package.json +29 -28
- package/pdf/pdf-command-tool.directive.d.ts +1 -1
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf.component.d.ts +2 -2
- package/rendering/cell-loading.template.directive.d.ts +1 -1
- package/rendering/cell-template.directive.d.ts +1 -1
- package/rendering/common/row-class.d.ts +4 -4
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/details/detail-template.directive.d.ts +4 -4
- package/rendering/details-expand.directive.d.ts +2 -2
- package/rendering/footer/footer-template.directive.d.ts +4 -4
- package/rendering/groups-expand.directive.d.ts +2 -2
- package/rendering/header/header-template.directive.d.ts +2 -2
- package/rendering/loading-template.directive.d.ts +1 -1
- package/rendering/no-records-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar-position.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/row-reordering/types.d.ts +2 -2
- package/schematics/ngAdd/index.js +7 -7
- package/scrolling/content-scroll-event.d.ts +1 -1
- package/scrolling/scroll-request.service.d.ts +2 -2
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/selectall-checkbox.directive.d.ts +2 -2
- package/selection/selection-checkbox.directive.d.ts +1 -1
- package/selection/selection-default.d.ts +1 -1
- package/selection/selection.directive.d.ts +1 -1
- package/selection/types.d.ts +7 -7
- package/state-management/redo-command-tool.d.ts +1 -1
- package/state-management/undo-command-tool.d.ts +1 -1
package/grid.component.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { CellSelectedFn, GridSelectionItem, SelectableSettings, SelectionEvent }
|
|
|
7
7
|
import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, QueryList, SimpleChange, NgZone, ChangeDetectorRef, TemplateRef, TrackByFunction, ViewContainerRef } from '@angular/core';
|
|
8
8
|
import { FormGroup } from '@angular/forms';
|
|
9
9
|
import { SortDescriptor, GroupDescriptor, CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
10
|
+
import { LicenseMessage } from '@progress/kendo-licensing';
|
|
10
11
|
import { GridAIRequestResponseService } from './rendering/toolbar/tools/ai-assistant/ai-request-response.service';
|
|
11
12
|
import { DetailTemplateDirective } from './rendering/details/detail-template.directive';
|
|
12
13
|
import { ScrollMode } from './scrolling/scrollmode';
|
|
@@ -34,6 +35,8 @@ import { PDFExportEvent } from './pdf/pdf-export-event';
|
|
|
34
35
|
import { ResponsiveService } from "./layout/responsive.service";
|
|
35
36
|
import { ExcelService } from './excel/excel.service';
|
|
36
37
|
import { ExcelExportEvent } from './excel/excel-export-event';
|
|
38
|
+
import { CSVService } from './csv/csv.service';
|
|
39
|
+
import { CSVExportEvent } from './csv/csv-export-event';
|
|
37
40
|
import { ColumnList } from './columns/column-list';
|
|
38
41
|
import { RowClassFn, RowSelectedFn, RowStickyFn, RowSelectableFn } from './rendering/common/row-class';
|
|
39
42
|
import { ToolbarTemplateDirective } from "./rendering/toolbar/toolbar-template.directive";
|
|
@@ -143,6 +146,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
143
146
|
private responsiveService;
|
|
144
147
|
private renderer;
|
|
145
148
|
private excelService;
|
|
149
|
+
private csvService;
|
|
146
150
|
private ngZone;
|
|
147
151
|
private scrollSyncService;
|
|
148
152
|
private domEvents;
|
|
@@ -163,7 +167,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
163
167
|
private idService;
|
|
164
168
|
/**
|
|
165
169
|
* Sets the data of the Grid. If you provide an array, the Grid gets the total count automatically.
|
|
166
|
-
* ([more information and example](
|
|
170
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/grid/data-binding/basics)).
|
|
167
171
|
*/
|
|
168
172
|
set data(value: Array<any> | GridDataResult | null);
|
|
169
173
|
get data(): Array<any> | GridDataResult | null;
|
|
@@ -178,7 +182,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
178
182
|
get hintContext(): any;
|
|
179
183
|
/**
|
|
180
184
|
* Defines the page size used by the Grid pager.
|
|
181
|
-
* Required for the [`paging`](
|
|
185
|
+
* Required for the [`paging`](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics) feature.
|
|
182
186
|
*/
|
|
183
187
|
pageSize: number | null | undefined;
|
|
184
188
|
/**
|
|
@@ -204,7 +208,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
204
208
|
detailRowHeight: number;
|
|
205
209
|
/**
|
|
206
210
|
* Defines the number of records to skip in the pager.
|
|
207
|
-
* Required for the [`paging`](
|
|
211
|
+
* Required for the [`paging`](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics) feature.
|
|
208
212
|
*/
|
|
209
213
|
get skip(): number | null | undefined;
|
|
210
214
|
set skip(value: number | null | undefined);
|
|
@@ -216,20 +220,20 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
216
220
|
scrollable: ScrollMode;
|
|
217
221
|
/**
|
|
218
222
|
* Enables the selection feature of the Grid. The `selectable` property can be set to `true`, `false`, or an object with additional settings.
|
|
219
|
-
* [See example](
|
|
223
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection).
|
|
220
224
|
*
|
|
221
225
|
* @default false
|
|
222
226
|
*/
|
|
223
227
|
selectable: SelectableSettings | boolean;
|
|
224
228
|
/**
|
|
225
|
-
* Sets the descriptors for sorting the data ([see example](
|
|
229
|
+
* Sets the descriptors for sorting the data ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/manual-sorting)).
|
|
226
230
|
*/
|
|
227
231
|
set sort(value: Array<SortDescriptor> | null | undefined);
|
|
228
232
|
get sort(): Array<SortDescriptor> | null | undefined;
|
|
229
233
|
/**
|
|
230
234
|
* Specifies the sizing for Grid elements like tables, buttons, and inputs.
|
|
231
235
|
*
|
|
232
|
-
* @default
|
|
236
|
+
* @default undefined
|
|
233
237
|
*/
|
|
234
238
|
set size(size: GridSize);
|
|
235
239
|
get size(): GridSize;
|
|
@@ -237,15 +241,15 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
237
241
|
* A function that defines how to track changes for the data rows.
|
|
238
242
|
* By default, the Grid tracks changes by the index of the data item.
|
|
239
243
|
* Edited rows are tracked by reference.
|
|
240
|
-
* [See example](
|
|
244
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/track-changes).
|
|
241
245
|
*/
|
|
242
246
|
trackBy: TrackByFunction<GridItem>;
|
|
243
247
|
/**
|
|
244
|
-
* Sets the filter descriptor for the data ([see examples](
|
|
248
|
+
* Sets the filter descriptor for the data ([see examples](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/manual-filtering)).
|
|
245
249
|
*/
|
|
246
250
|
filter: CompositeFilterDescriptor | null | undefined;
|
|
247
251
|
/**
|
|
248
|
-
* Sets the descriptors for grouping the data ([see example](
|
|
252
|
+
* Sets the descriptors for grouping the data ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/manual-grouping)).
|
|
249
253
|
*/
|
|
250
254
|
set group(value: Array<GroupDescriptor> | null | undefined);
|
|
251
255
|
get group(): Array<GroupDescriptor> | null | undefined;
|
|
@@ -314,24 +318,24 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
314
318
|
*/
|
|
315
319
|
gridData: DragTargetDataFn;
|
|
316
320
|
/**
|
|
317
|
-
* Enables the [filtering](
|
|
321
|
+
* Enables the [filtering](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics) feature of the Grid for columns with a `field` option.
|
|
318
322
|
*
|
|
319
323
|
* @default false
|
|
320
324
|
*/
|
|
321
325
|
filterable: FilterableSettings;
|
|
322
326
|
/**
|
|
323
|
-
* Enables [sorting](
|
|
327
|
+
* Enables [sorting](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/basics) feature of the Grid for columns with a `field` option.
|
|
324
328
|
* @default false
|
|
325
329
|
*/
|
|
326
330
|
sortable: SortSettings;
|
|
327
331
|
/**
|
|
328
|
-
* Configures the Grid pager ([see example](
|
|
332
|
+
* Configures the Grid pager ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/paging/pager-settings)).
|
|
329
333
|
* @default false
|
|
330
334
|
*/
|
|
331
335
|
pageable: PagerSettings | boolean;
|
|
332
336
|
get normalizedPageableSettings(): any;
|
|
333
337
|
/**
|
|
334
|
-
* If `true`, allows grouping by dragging column headers ([see example](
|
|
338
|
+
* If `true`, allows grouping by dragging column headers ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/basics)).
|
|
335
339
|
*
|
|
336
340
|
* @default false
|
|
337
341
|
*/
|
|
@@ -343,7 +347,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
343
347
|
*/
|
|
344
348
|
gridResizable: GridResizableSettings | boolean;
|
|
345
349
|
/**
|
|
346
|
-
* Enables row reordering feature of the Grid ([see example](
|
|
350
|
+
* Enables row reordering feature of the Grid ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/rows/reordering)).
|
|
347
351
|
*
|
|
348
352
|
* @default false
|
|
349
353
|
*/
|
|
@@ -351,20 +355,20 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
351
355
|
get rowReorderable(): boolean;
|
|
352
356
|
/**
|
|
353
357
|
* By default, navigation is enabled. To disable, set to `false`.
|
|
354
|
-
* To enable navigation for specific sections, provide a [`GridNavigableSection`](
|
|
358
|
+
* To enable navigation for specific sections, provide a [`GridNavigableSection`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridnavigablesection).
|
|
355
359
|
*/
|
|
356
360
|
set navigable(value: GridNavigableSettings);
|
|
357
361
|
get navigable(): GridNavigableSettings;
|
|
358
362
|
/**
|
|
359
363
|
* If `true`, resizes columns during initialization to fit headers and content.
|
|
360
364
|
* Columns with `autoSize` set to `false` are excluded.
|
|
361
|
-
* [See example](
|
|
365
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing).
|
|
362
366
|
*
|
|
363
367
|
* @default false
|
|
364
368
|
*/
|
|
365
369
|
autoSize: boolean;
|
|
366
370
|
/**
|
|
367
|
-
* Sets a function to apply custom CSS classes to each data row ([see example](
|
|
371
|
+
* Sets a function to apply custom CSS classes to each data row ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/rows)).
|
|
368
372
|
*/
|
|
369
373
|
set rowClass(fn: RowClassFn);
|
|
370
374
|
get rowClass(): RowClassFn;
|
|
@@ -374,7 +378,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
374
378
|
set rowSticky(fn: RowStickyFn);
|
|
375
379
|
get rowSticky(): RowStickyFn;
|
|
376
380
|
/**
|
|
377
|
-
* Sets a function to determine if a data row is selected ([see example](
|
|
381
|
+
* Sets a function to determine if a data row is selected ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/custom-selection#setting-the-selected-rows)).
|
|
378
382
|
*/
|
|
379
383
|
set rowSelected(fn: RowSelectedFn);
|
|
380
384
|
get rowSelected(): RowSelectedFn;
|
|
@@ -385,7 +389,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
385
389
|
get isRowSelectable(): RowSelectableFn;
|
|
386
390
|
/**
|
|
387
391
|
* Sets a function to determine if a data cell is selected.
|
|
388
|
-
* The function returns an object with `selected` and `item` properties ([see example](
|
|
392
|
+
* The function returns an object with `selected` and `item` properties ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/custom-selection#setting-the-selected-cells)).
|
|
389
393
|
*/
|
|
390
394
|
set cellSelected(fn: CellSelectedFn);
|
|
391
395
|
get cellSelected(): CellSelectedFn;
|
|
@@ -409,33 +413,33 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
409
413
|
*/
|
|
410
414
|
get currentState(): GridState;
|
|
411
415
|
/**
|
|
412
|
-
* If `true`, allows resizing columns by dragging header cell edges ([see example](
|
|
416
|
+
* If `true`, allows resizing columns by dragging header cell edges ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing)).
|
|
413
417
|
*
|
|
414
418
|
* @default false
|
|
415
419
|
*/
|
|
416
420
|
resizable: boolean | ResizeMode;
|
|
417
421
|
/**
|
|
418
|
-
* If `true`, allows reordering columns by dragging header cells ([see example](
|
|
422
|
+
* If `true`, allows reordering columns by dragging header cells ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/reordering)).
|
|
419
423
|
*
|
|
420
424
|
* @default false
|
|
421
425
|
*/
|
|
422
426
|
reorderable: boolean;
|
|
423
427
|
/**
|
|
424
|
-
* If `true`, displays the Grid loading indicator ([see example](
|
|
428
|
+
* If `true`, displays the Grid loading indicator ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/data-binding/basics)).
|
|
425
429
|
*
|
|
426
430
|
* @default false
|
|
427
431
|
*/
|
|
428
432
|
set loading(value: boolean);
|
|
429
433
|
get loading(): boolean;
|
|
430
434
|
/**
|
|
431
|
-
* If `true`, displays the column menu for columns ([see example](
|
|
435
|
+
* If `true`, displays the column menu for columns ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu)).
|
|
432
436
|
*
|
|
433
437
|
* @default false
|
|
434
438
|
*/
|
|
435
439
|
columnMenu: boolean | ColumnMenuSettings;
|
|
436
440
|
/**
|
|
437
441
|
* If `true`, hides the Grid header. The header is visible by default.
|
|
438
|
-
* The header includes column headers and the [filter row](
|
|
442
|
+
* The header includes column headers and the [filter row](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row).
|
|
439
443
|
*
|
|
440
444
|
* @default false
|
|
441
445
|
*/
|
|
@@ -467,15 +471,15 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
467
471
|
*/
|
|
468
472
|
filterChange: EventEmitter<CompositeFilterDescriptor>;
|
|
469
473
|
/**
|
|
470
|
-
* Fires when the page is changed through the UI ([see example](
|
|
474
|
+
* Fires when the page is changed through the UI ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics)).
|
|
471
475
|
*/
|
|
472
476
|
pageChange: EventEmitter<PageChangeEvent>;
|
|
473
477
|
/**
|
|
474
|
-
* Fires when the Grid data is grouped through the UI and the group descriptors change ([see example](
|
|
478
|
+
* Fires when the Grid data is grouped through the UI and the group descriptors change ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/basics)).
|
|
475
479
|
*/
|
|
476
480
|
groupChange: EventEmitter<Array<GroupDescriptor>>;
|
|
477
481
|
/**
|
|
478
|
-
* Fires when the Grid data is sorted through the UI and the sort descriptors change ([see example](
|
|
482
|
+
* Fires when the Grid data is sorted through the UI and the sort descriptors change ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/basics)).
|
|
479
483
|
*/
|
|
480
484
|
sortChange: EventEmitter<Array<SortDescriptor>>;
|
|
481
485
|
/**
|
|
@@ -511,31 +515,31 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
511
515
|
*/
|
|
512
516
|
detailCollapse: EventEmitter<DetailCollapseEvent>;
|
|
513
517
|
/**
|
|
514
|
-
* Fires when a row enters edit mode ([see example](
|
|
518
|
+
* Fires when a row enters edit mode ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#editing-records-1)).
|
|
515
519
|
*/
|
|
516
520
|
edit: EventEmitter<EditEvent>;
|
|
517
521
|
/**
|
|
518
|
-
* Fires when editing is canceled by clicking the **Cancel** command button ([see example](
|
|
522
|
+
* Fires when editing is canceled by clicking the **Cancel** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#canceling-editing-1)).
|
|
519
523
|
*/
|
|
520
524
|
cancel: EventEmitter<CancelEvent>;
|
|
521
525
|
/**
|
|
522
|
-
* Fires when a row is saved by clicking the **Save** command button ([see example](
|
|
526
|
+
* Fires when a row is saved by clicking the **Save** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#saving-records-1)).
|
|
523
527
|
*/
|
|
524
528
|
save: EventEmitter<SaveEvent>;
|
|
525
529
|
/**
|
|
526
|
-
* Fires when a row is removed by clicking the **Remove** command button ([see example](
|
|
530
|
+
* Fires when a row is removed by clicking the **Remove** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#removing-records-1)).
|
|
527
531
|
*/
|
|
528
532
|
remove: EventEmitter<RemoveEvent>;
|
|
529
533
|
/**
|
|
530
|
-
* Fires when a new row is added by clicking the **Add** command button ([see example](
|
|
534
|
+
* Fires when a new row is added by clicking the **Add** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#adding-records-1)).
|
|
531
535
|
*/
|
|
532
536
|
add: EventEmitter<AddEvent>;
|
|
533
537
|
/**
|
|
534
|
-
* Fires when a cell edit is closed ([see example](
|
|
538
|
+
* Fires when a cell edit is closed ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/in-cell-editing)).
|
|
535
539
|
*/
|
|
536
540
|
cellClose: EventEmitter<CellCloseEvent>;
|
|
537
541
|
/**
|
|
538
|
-
* Fires when a cell is clicked ([see example](
|
|
542
|
+
* Fires when a cell is clicked ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/in-cell-editing)).
|
|
539
543
|
*/
|
|
540
544
|
cellClick: EventEmitter<CellClickEvent>;
|
|
541
545
|
/**
|
|
@@ -546,6 +550,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
546
550
|
* Fires when the Excel export command is triggered.
|
|
547
551
|
*/
|
|
548
552
|
excelExport: EventEmitter<ExcelExportEvent>;
|
|
553
|
+
/**
|
|
554
|
+
* Fires when the CSV export command is triggered.
|
|
555
|
+
*/
|
|
556
|
+
csvExport: EventEmitter<CSVExportEvent>;
|
|
549
557
|
/**
|
|
550
558
|
* Fires when columns are resized.
|
|
551
559
|
*/
|
|
@@ -567,7 +575,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
567
575
|
*/
|
|
568
576
|
columnStickyChange: EventEmitter<ColumnStickyChangeEvent>;
|
|
569
577
|
/**
|
|
570
|
-
* Fires when the last record is scrolled into view ([see example](
|
|
578
|
+
* Fires when the last record is scrolled into view ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#endless-scrolling)).
|
|
571
579
|
*/
|
|
572
580
|
scrollBottom: EventEmitter<ScrollBottomEvent>;
|
|
573
581
|
/**
|
|
@@ -641,7 +649,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
641
649
|
/**
|
|
642
650
|
* @hidden
|
|
643
651
|
*/
|
|
644
|
-
licenseMessage?:
|
|
652
|
+
licenseMessage?: LicenseMessage;
|
|
645
653
|
columnsContainer: ColumnsContainer;
|
|
646
654
|
view: DataCollection;
|
|
647
655
|
get hasGroupFooters(): boolean;
|
|
@@ -732,6 +740,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
732
740
|
private columnsChangeSubscription;
|
|
733
741
|
private pdfSubscription;
|
|
734
742
|
private excelSubscription;
|
|
743
|
+
private csvSubscription;
|
|
735
744
|
private columnsContainerChangeSubscription;
|
|
736
745
|
private cellClickSubscription;
|
|
737
746
|
private footerChangeSubscription;
|
|
@@ -747,23 +756,23 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
747
756
|
private rowReorderSubscription;
|
|
748
757
|
private rtl;
|
|
749
758
|
private _rowSticky;
|
|
750
|
-
constructor(supportService: BrowserSupportService, selectionService: SelectionService, cellSelectionService: CellSelectionService, wrapper: ElementRef, groupInfoService: GroupInfoService, groupsService: GroupsService, changeNotification: ChangeNotificationService, detailsService: DetailsService, editService: EditService, filterService: FilterService, pdfService: PDFService, responsiveService: ResponsiveService, renderer: Renderer2, excelService: ExcelService, ngZone: NgZone, scrollSyncService: ScrollSyncService, domEvents: DomEventsService, columnResizingService: ColumnResizingService, changeDetectorRef: ChangeDetectorRef, columnReorderService: ColumnReorderService, columnInfoService: ColumnInfoService, navigationService: NavigationService, sortService: SortService, scrollRequestService: ScrollRequestService, localization: LocalizationService, ctx: ContextService, sizingService: SizingOptionsService, adaptiveGridService: AdaptiveGridService, rowReorderService: RowReorderService, dataMappingService: DataMappingService, aiRequestResponseService: GridAIRequestResponseService, idService: IdService);
|
|
759
|
+
constructor(supportService: BrowserSupportService, selectionService: SelectionService, cellSelectionService: CellSelectionService, wrapper: ElementRef, groupInfoService: GroupInfoService, groupsService: GroupsService, changeNotification: ChangeNotificationService, detailsService: DetailsService, editService: EditService, filterService: FilterService, pdfService: PDFService, responsiveService: ResponsiveService, renderer: Renderer2, excelService: ExcelService, csvService: CSVService, ngZone: NgZone, scrollSyncService: ScrollSyncService, domEvents: DomEventsService, columnResizingService: ColumnResizingService, changeDetectorRef: ChangeDetectorRef, columnReorderService: ColumnReorderService, columnInfoService: ColumnInfoService, navigationService: NavigationService, sortService: SortService, scrollRequestService: ScrollRequestService, localization: LocalizationService, ctx: ContextService, sizingService: SizingOptionsService, adaptiveGridService: AdaptiveGridService, rowReorderService: RowReorderService, dataMappingService: DataMappingService, aiRequestResponseService: GridAIRequestResponseService, idService: IdService);
|
|
751
760
|
/**
|
|
752
|
-
* Expands the master row at the specified data row index ([see example](
|
|
761
|
+
* Expands the master row at the specified data row index ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail)).
|
|
753
762
|
*
|
|
754
763
|
* This method is for backwards compatibility with legacy versions that track expanded state by row index.
|
|
755
|
-
* For new development, use the [`kendoGridDetailsExpandBy` directive](
|
|
756
|
-
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](
|
|
764
|
+
* For new development, use the [`kendoGridDetailsExpandBy` directive](https://www.telerik.com/kendo-angular-ui/components/grid/api/expanddetailsdirective)
|
|
765
|
+
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/expanded-state) for examples.
|
|
757
766
|
*
|
|
758
767
|
* @param index The data row index of the master row.
|
|
759
768
|
*/
|
|
760
769
|
expandRow(index: number): void;
|
|
761
770
|
/**
|
|
762
|
-
* Collapses the master row at the specified data row index ([see example](
|
|
771
|
+
* Collapses the master row at the specified data row index ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail)).
|
|
763
772
|
*
|
|
764
773
|
* This method is for backwards compatibility with legacy versions that track expanded state by row index.
|
|
765
|
-
* For new development, use the [`kendoGridDetailsExpandBy` directive](
|
|
766
|
-
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](
|
|
774
|
+
* For new development, use the [`kendoGridDetailsExpandBy` directive](https://www.telerik.com/kendo-angular-ui/components/grid/api/expanddetailsdirective)
|
|
775
|
+
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/expanded-state) for examples.
|
|
767
776
|
*
|
|
768
777
|
* @param index The data row index of the master row.
|
|
769
778
|
*/
|
|
@@ -772,7 +781,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
772
781
|
* Expands a group header at the given hierarchical index, such as `0_1` for the second inner group of the first master group.
|
|
773
782
|
*
|
|
774
783
|
* This method is for backwards compatibility with legacy versions that track expanded group state by hierarchical group index.
|
|
775
|
-
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](
|
|
784
|
+
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#skip).
|
|
776
785
|
*
|
|
777
786
|
* @param {string} index The underscore-separated hierarchical index of the group.
|
|
778
787
|
*/
|
|
@@ -781,7 +790,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
781
790
|
* Collapses a group header at the given hierarchical index, such as `0_1` for the second inner group of the first master group.
|
|
782
791
|
*
|
|
783
792
|
* This method is for backwards compatibility with legacy versions that track expanded group state by hierarchical group index.
|
|
784
|
-
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](
|
|
793
|
+
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#skip).
|
|
785
794
|
*
|
|
786
795
|
* @param {string} index The underscore-separated hierarchical index of the group.
|
|
787
796
|
*/
|
|
@@ -856,7 +865,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
856
865
|
*/
|
|
857
866
|
messageFor: (token: string) => string;
|
|
858
867
|
/**
|
|
859
|
-
* Switches the specified table row to edit mode ([see example](
|
|
868
|
+
* Switches the specified table row to edit mode ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#editing-records-1)).
|
|
860
869
|
*
|
|
861
870
|
* @param rowIndex The data row index to switch to edit mode.
|
|
862
871
|
* @param group The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that describes the edit form.
|
|
@@ -868,19 +877,19 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
868
877
|
*/
|
|
869
878
|
handleReorderEvents(ev: any, evType: string): void;
|
|
870
879
|
/**
|
|
871
|
-
* Closes the editor for the specified row ([see example](
|
|
880
|
+
* Closes the editor for the specified row ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#canceling-editing-1)).
|
|
872
881
|
*
|
|
873
882
|
* @param {number} index The row index to switch out of edit mode. If you do not provide an index, the new item editor closes.
|
|
874
883
|
*/
|
|
875
884
|
closeRow(index?: number): void;
|
|
876
885
|
/**
|
|
877
|
-
* Creates a new row editor ([see example](
|
|
886
|
+
* Creates a new row editor ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#adding-records-1)).
|
|
878
887
|
*
|
|
879
888
|
* @param {FormGroup} group The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that describes the edit form. If you pass a data item, the method builds the `FormGroup` from the data item fields.
|
|
880
889
|
*/
|
|
881
890
|
addRow(group: any): void;
|
|
882
891
|
/**
|
|
883
|
-
* Puts the specified cell in edit mode ([see example](
|
|
892
|
+
* Puts the specified cell in edit mode ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/in-cell-editing)).
|
|
884
893
|
*
|
|
885
894
|
* @param {number} rowIndex The data row index to switch to edit mode.
|
|
886
895
|
* @param {number|string|any} column The leaf column index, field name, or column instance to edit.
|
|
@@ -888,9 +897,9 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
888
897
|
*/
|
|
889
898
|
editCell(rowIndex: number, column: number | string | any, group?: any): void;
|
|
890
899
|
/**
|
|
891
|
-
* Closes the current cell in edit mode and fires the [`cellClose`](
|
|
900
|
+
* Closes the current cell in edit mode and fires the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cellclose) event.
|
|
892
901
|
*
|
|
893
|
-
* @returns {boolean} `true` if the cell closed. Returns `false` if the [`cellClose`](
|
|
902
|
+
* @returns {boolean} `true` if the cell closed. Returns `false` if the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cellclose) event was prevented.
|
|
894
903
|
*/
|
|
895
904
|
closeCell(): boolean;
|
|
896
905
|
/**
|
|
@@ -910,20 +919,30 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
910
919
|
*/
|
|
911
920
|
isEditingCell(): boolean;
|
|
912
921
|
/**
|
|
913
|
-
* Initiates the PDF export ([see example](
|
|
922
|
+
* Initiates the PDF export ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export)).
|
|
914
923
|
*/
|
|
915
924
|
saveAsPDF(): void;
|
|
916
925
|
/**
|
|
917
|
-
* Exports the Grid element to a Drawing [Group](
|
|
918
|
-
* ([see example](
|
|
926
|
+
* Exports the Grid element to a Drawing [Group](https://www.telerik.com/kendo-angular-ui/components/drawing/api/group) using the `kendo-grid-pdf` component options
|
|
927
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export#exporting-multiple-grids-to-the-same-pdf)).
|
|
919
928
|
*
|
|
920
929
|
* @returns {Promise} A promise that resolves with the Drawing `Group`.
|
|
921
930
|
*/
|
|
922
931
|
drawPDF(): Promise<any>;
|
|
923
932
|
/**
|
|
924
|
-
* Initiates the Excel export ([see example](
|
|
933
|
+
* Initiates the Excel export ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/excel-export)).
|
|
925
934
|
*/
|
|
926
935
|
saveAsExcel(): void;
|
|
936
|
+
/**
|
|
937
|
+
* Initiates the CSV export ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/csv-export)).
|
|
938
|
+
*/
|
|
939
|
+
saveAsCSV(): void;
|
|
940
|
+
/**
|
|
941
|
+
* Generates and returns the CSV-formatted string without triggering file download ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/csv-export)).
|
|
942
|
+
*
|
|
943
|
+
* @returns {string | Promise<string>} The CSV-formatted string representation of the Grid data, or a Promise that resolves to the string if async data is used.
|
|
944
|
+
*/
|
|
945
|
+
toCSVString(): string | Promise<string>;
|
|
927
946
|
/**
|
|
928
947
|
* Applies the given `GridState` object to the Grid.
|
|
929
948
|
*/
|
|
@@ -931,14 +950,14 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
931
950
|
private traverseColumns;
|
|
932
951
|
/**
|
|
933
952
|
* Applies the minimum possible width for the specified column so the whole text fits without wrapping.
|
|
934
|
-
* This method expects the Grid to be [`resizable`](
|
|
935
|
-
* [See example](
|
|
953
|
+
* This method expects the Grid to be [`resizable`](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing). Run this method after the Grid is populated with data.
|
|
954
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing#auto-fitting-the-content)
|
|
936
955
|
*/
|
|
937
956
|
autoFitColumn(column: ColumnBase): void;
|
|
938
957
|
/**
|
|
939
958
|
* Adjusts the width of the specified columns to fit the entire content, including headers, without wrapping.
|
|
940
959
|
* If you do not specify columns, `autoFitColumns` applies to all columns. Run this method after the Grid is populated with data.
|
|
941
|
-
* [See example](
|
|
960
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing#auto-fitting-the-content)
|
|
942
961
|
*/
|
|
943
962
|
autoFitColumns(columns?: Array<ColumnBase> | QueryList<ColumnBase>): void;
|
|
944
963
|
/**
|
|
@@ -1003,11 +1022,11 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
1003
1022
|
*/
|
|
1004
1023
|
focusPrevCell(wrap?: boolean): NavigationCell;
|
|
1005
1024
|
/**
|
|
1006
|
-
* Scrolls to the specified row and column ([see example](
|
|
1025
|
+
* Scrolls to the specified row and column ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-row-and-column)).
|
|
1007
1026
|
*/
|
|
1008
1027
|
scrollTo(request: ScrollRequest): void;
|
|
1009
1028
|
/**
|
|
1010
|
-
* Scrolls to the specified data item and column ([see example](
|
|
1029
|
+
* Scrolls to the specified data item and column ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-item)).
|
|
1011
1030
|
*/
|
|
1012
1031
|
scrollToItem(request: ScrollToItemRequest): void;
|
|
1013
1032
|
/**
|
|
@@ -1063,5 +1082,5 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
1063
1082
|
private shouldResetSelection;
|
|
1064
1083
|
private notifyReorderContainers;
|
|
1065
1084
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
1066
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "kendo-grid", ["kendoGrid"], { "data": { "alias": "data"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "height": { "alias": "height"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "size": { "alias": "size"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "group": { "alias": "group"; "required": false; }; "virtualColumns": { "alias": "virtualColumns"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "groupable": { "alias": "groupable"; "required": false; }; "gridResizable": { "alias": "gridResizable"; "required": false; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "autoSize": { "alias": "autoSize"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowSticky": { "alias": "rowSticky"; "required": false; }; "rowSelected": { "alias": "rowSelected"; "required": false; }; "isRowSelectable": { "alias": "isRowSelectable"; "required": false; }; "cellSelected": { "alias": "cellSelected"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "showInactiveTools": { "alias": "showInactiveTools"; "required": false; }; "isDetailExpanded": { "alias": "isDetailExpanded"; "required": false; }; "isGroupExpanded": { "alias": "isGroupExpanded"; "required": false; }; "dataLayoutMode": { "alias": "dataLayoutMode"; "required": false; }; }, { "filterChange": "filterChange"; "pageChange": "pageChange"; "groupChange": "groupChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowReorder": "rowReorder"; "dataStateChange": "dataStateChange"; "gridStateChange": "gridStateChange"; "groupExpand": "groupExpand"; "groupCollapse": "groupCollapse"; "detailExpand": "detailExpand"; "detailCollapse": "detailCollapse"; "edit": "edit"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "add": "add"; "cellClose": "cellClose"; "cellClick": "cellClick"; "pdfExport": "pdfExport"; "excelExport": "excelExport"; "columnResize": "columnResize"; "columnReorder": "columnReorder"; "columnVisibilityChange": "columnVisibilityChange"; "columnLockedChange": "columnLockedChange"; "columnStickyChange": "columnStickyChange"; "scrollBottom": "scrollBottom"; "contentScroll": "contentScroll"; }, ["columns", "detailTemplateChildren", "cellLoadingTemplateChildren", "loadingTemplateChildren", "statusBarTemplateChildren", "noRecordsTemplateChildren", "pagerTemplateChildren", "toolbarTemplateChildren", "columnMenuTemplates"], ["kendo-toolbar"], true, never>;
|
|
1085
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "kendo-grid", ["kendoGrid"], { "data": { "alias": "data"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "height": { "alias": "height"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "size": { "alias": "size"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "group": { "alias": "group"; "required": false; }; "virtualColumns": { "alias": "virtualColumns"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "groupable": { "alias": "groupable"; "required": false; }; "gridResizable": { "alias": "gridResizable"; "required": false; }; "rowReorderable": { "alias": "rowReorderable"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "autoSize": { "alias": "autoSize"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowSticky": { "alias": "rowSticky"; "required": false; }; "rowSelected": { "alias": "rowSelected"; "required": false; }; "isRowSelectable": { "alias": "isRowSelectable"; "required": false; }; "cellSelected": { "alias": "cellSelected"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "showInactiveTools": { "alias": "showInactiveTools"; "required": false; }; "isDetailExpanded": { "alias": "isDetailExpanded"; "required": false; }; "isGroupExpanded": { "alias": "isGroupExpanded"; "required": false; }; "dataLayoutMode": { "alias": "dataLayoutMode"; "required": false; }; }, { "filterChange": "filterChange"; "pageChange": "pageChange"; "groupChange": "groupChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowReorder": "rowReorder"; "dataStateChange": "dataStateChange"; "gridStateChange": "gridStateChange"; "groupExpand": "groupExpand"; "groupCollapse": "groupCollapse"; "detailExpand": "detailExpand"; "detailCollapse": "detailCollapse"; "edit": "edit"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "add": "add"; "cellClose": "cellClose"; "cellClick": "cellClick"; "pdfExport": "pdfExport"; "excelExport": "excelExport"; "csvExport": "csvExport"; "columnResize": "columnResize"; "columnReorder": "columnReorder"; "columnVisibilityChange": "columnVisibilityChange"; "columnLockedChange": "columnLockedChange"; "columnStickyChange": "columnStickyChange"; "scrollBottom": "scrollBottom"; "contentScroll": "contentScroll"; }, ["columns", "detailTemplateChildren", "cellLoadingTemplateChildren", "loadingTemplateChildren", "statusBarTemplateChildren", "noRecordsTemplateChildren", "pagerTemplateChildren", "toolbarTemplateChildren", "columnMenuTemplates"], ["kendo-toolbar"], true, never>;
|
|
1067
1086
|
}
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents the group-header column template of the Grid, allowing customization of group header content.
|
|
9
9
|
* To define the group header template, nest an `<ng-template>` tag with the `kendoGridGroupHeaderColumnTemplate`
|
|
10
|
-
* directive inside a `<kendo-grid-column>`. [See example](
|
|
10
|
+
* directive inside a `<kendo-grid-column>`. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/templates#header-column-template).
|
|
11
11
|
*
|
|
12
12
|
* The template context is set to the current data item and provides the following fields:
|
|
13
13
|
* - `group`—The current group item.
|
|
@@ -6,7 +6,7 @@ import { TemplateRef } from '@angular/core';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* The directive allows customizing the content of the group header cell in the Grid.
|
|
9
|
-
* Place an `<ng-template>` with the `kendoGridGroupHeaderTemplate` directive inside `<kendo-grid-column>` to set the group header template. ([See example](
|
|
9
|
+
* Place an `<ng-template>` with the `kendoGridGroupHeaderTemplate` directive inside `<kendo-grid-column>` to set the group header template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/templates#header-template)).
|
|
10
10
|
*
|
|
11
11
|
* The template context uses the current data item and provides these fields:
|
|
12
12
|
* - `group`—The current group item.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Shows the default format for the [`kendoGridExpandGroupBy`](
|
|
7
|
-
* The directive saves the expanded group keys. ([See example](
|
|
6
|
+
* Shows the default format for the [`kendoGridExpandGroupBy`](https://www.telerik.com/kendo-angular-ui/components/grid/api/expandgroupdirective) directive.
|
|
7
|
+
* The directive saves the expanded group keys. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/expanded-state#built-in-directive)).
|
|
8
8
|
*
|
|
9
9
|
* The Grid checks if a group is expanded or collapsed by comparing all of these field values.
|
|
10
10
|
*/
|
|
@@ -19,7 +19,7 @@ export interface GroupKey {
|
|
|
19
19
|
value: any;
|
|
20
20
|
/**
|
|
21
21
|
* Represents an array of `{ field: string, value: any }` items that lists all parent groups of the current group.
|
|
22
|
-
* The array starts from the direct parent group and goes up to the root group. [See example](
|
|
22
|
+
* The array starts from the direct parent group and goes up to the root group. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/expanded-state#default-configuration).
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
parentGroupKeys?: Array<{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { GroupResult } from "@progress/kendo-data-query";
|
|
6
6
|
/**
|
|
7
|
-
* Describes a group row at a specific position in the Grid. [See example](
|
|
7
|
+
* Describes a group row at a specific position in the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/expanded-state#custom-group-key-format).
|
|
8
8
|
*/
|
|
9
9
|
export interface GroupRowArgs {
|
|
10
10
|
/**
|
package/index.d.ts
CHANGED
|
@@ -151,6 +151,12 @@ export { ExcelExportEvent } from './excel/excel-export-event';
|
|
|
151
151
|
export { FetchDataCallback } from './common/fetch-data-callback';
|
|
152
152
|
export { ExcelCommandDirective } from './excel/excel-command.directive';
|
|
153
153
|
export { ExcelCommandToolbarDirective } from './excel/excel-command-tool.directive';
|
|
154
|
+
export { CSVModule } from './csv/csv.module';
|
|
155
|
+
export { CSVComponent, CSVFetchDataCallback } from './csv/csv.component';
|
|
156
|
+
export { CSVService } from './csv/csv.service';
|
|
157
|
+
export { CSVExportEvent } from './csv/csv-export-event';
|
|
158
|
+
export { CSVCommandDirective } from './csv/csv-command.directive';
|
|
159
|
+
export { CSVCommandToolbarDirective } from './csv/csv-command-tool.directive';
|
|
154
160
|
export { RowClassFn, RowClassArgs, RowSelectedFn, RowStickyFn, RowSelectableFn } from './rendering/common/row-class';
|
|
155
161
|
export { RowArgs } from './rendering/common/row-args';
|
|
156
162
|
export { EditEvent } from './editing/edit-event-args.interface';
|
|
@@ -7,7 +7,7 @@ import { GridMessages } from './messages';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* The component allows you to override the default component messages with custom ones.
|
|
10
|
-
* ([See example](
|
|
10
|
+
* ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).)
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```html
|