@progress/kendo-angular-grid 22.1.0-develop.9 → 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 +78 -60
- 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 +28 -27
- 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
|
@@ -35,6 +35,8 @@ import { PDFExportEvent } from './pdf/pdf-export-event';
|
|
|
35
35
|
import { ResponsiveService } from "./layout/responsive.service";
|
|
36
36
|
import { ExcelService } from './excel/excel.service';
|
|
37
37
|
import { ExcelExportEvent } from './excel/excel-export-event';
|
|
38
|
+
import { CSVService } from './csv/csv.service';
|
|
39
|
+
import { CSVExportEvent } from './csv/csv-export-event';
|
|
38
40
|
import { ColumnList } from './columns/column-list';
|
|
39
41
|
import { RowClassFn, RowSelectedFn, RowStickyFn, RowSelectableFn } from './rendering/common/row-class';
|
|
40
42
|
import { ToolbarTemplateDirective } from "./rendering/toolbar/toolbar-template.directive";
|
|
@@ -144,6 +146,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
144
146
|
private responsiveService;
|
|
145
147
|
private renderer;
|
|
146
148
|
private excelService;
|
|
149
|
+
private csvService;
|
|
147
150
|
private ngZone;
|
|
148
151
|
private scrollSyncService;
|
|
149
152
|
private domEvents;
|
|
@@ -164,7 +167,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
164
167
|
private idService;
|
|
165
168
|
/**
|
|
166
169
|
* Sets the data of the Grid. If you provide an array, the Grid gets the total count automatically.
|
|
167
|
-
* ([more information and example](
|
|
170
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/grid/data-binding/basics)).
|
|
168
171
|
*/
|
|
169
172
|
set data(value: Array<any> | GridDataResult | null);
|
|
170
173
|
get data(): Array<any> | GridDataResult | null;
|
|
@@ -179,7 +182,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
179
182
|
get hintContext(): any;
|
|
180
183
|
/**
|
|
181
184
|
* Defines the page size used by the Grid pager.
|
|
182
|
-
* Required for the [`paging`](
|
|
185
|
+
* Required for the [`paging`](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics) feature.
|
|
183
186
|
*/
|
|
184
187
|
pageSize: number | null | undefined;
|
|
185
188
|
/**
|
|
@@ -205,7 +208,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
205
208
|
detailRowHeight: number;
|
|
206
209
|
/**
|
|
207
210
|
* Defines the number of records to skip in the pager.
|
|
208
|
-
* Required for the [`paging`](
|
|
211
|
+
* Required for the [`paging`](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics) feature.
|
|
209
212
|
*/
|
|
210
213
|
get skip(): number | null | undefined;
|
|
211
214
|
set skip(value: number | null | undefined);
|
|
@@ -217,20 +220,20 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
217
220
|
scrollable: ScrollMode;
|
|
218
221
|
/**
|
|
219
222
|
* Enables the selection feature of the Grid. The `selectable` property can be set to `true`, `false`, or an object with additional settings.
|
|
220
|
-
* [See example](
|
|
223
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection).
|
|
221
224
|
*
|
|
222
225
|
* @default false
|
|
223
226
|
*/
|
|
224
227
|
selectable: SelectableSettings | boolean;
|
|
225
228
|
/**
|
|
226
|
-
* 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)).
|
|
227
230
|
*/
|
|
228
231
|
set sort(value: Array<SortDescriptor> | null | undefined);
|
|
229
232
|
get sort(): Array<SortDescriptor> | null | undefined;
|
|
230
233
|
/**
|
|
231
234
|
* Specifies the sizing for Grid elements like tables, buttons, and inputs.
|
|
232
235
|
*
|
|
233
|
-
* @default
|
|
236
|
+
* @default undefined
|
|
234
237
|
*/
|
|
235
238
|
set size(size: GridSize);
|
|
236
239
|
get size(): GridSize;
|
|
@@ -238,15 +241,15 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
238
241
|
* A function that defines how to track changes for the data rows.
|
|
239
242
|
* By default, the Grid tracks changes by the index of the data item.
|
|
240
243
|
* Edited rows are tracked by reference.
|
|
241
|
-
* [See example](
|
|
244
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/track-changes).
|
|
242
245
|
*/
|
|
243
246
|
trackBy: TrackByFunction<GridItem>;
|
|
244
247
|
/**
|
|
245
|
-
* 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)).
|
|
246
249
|
*/
|
|
247
250
|
filter: CompositeFilterDescriptor | null | undefined;
|
|
248
251
|
/**
|
|
249
|
-
* 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)).
|
|
250
253
|
*/
|
|
251
254
|
set group(value: Array<GroupDescriptor> | null | undefined);
|
|
252
255
|
get group(): Array<GroupDescriptor> | null | undefined;
|
|
@@ -315,24 +318,24 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
315
318
|
*/
|
|
316
319
|
gridData: DragTargetDataFn;
|
|
317
320
|
/**
|
|
318
|
-
* 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.
|
|
319
322
|
*
|
|
320
323
|
* @default false
|
|
321
324
|
*/
|
|
322
325
|
filterable: FilterableSettings;
|
|
323
326
|
/**
|
|
324
|
-
* 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.
|
|
325
328
|
* @default false
|
|
326
329
|
*/
|
|
327
330
|
sortable: SortSettings;
|
|
328
331
|
/**
|
|
329
|
-
* 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)).
|
|
330
333
|
* @default false
|
|
331
334
|
*/
|
|
332
335
|
pageable: PagerSettings | boolean;
|
|
333
336
|
get normalizedPageableSettings(): any;
|
|
334
337
|
/**
|
|
335
|
-
* 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)).
|
|
336
339
|
*
|
|
337
340
|
* @default false
|
|
338
341
|
*/
|
|
@@ -344,7 +347,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
344
347
|
*/
|
|
345
348
|
gridResizable: GridResizableSettings | boolean;
|
|
346
349
|
/**
|
|
347
|
-
* 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)).
|
|
348
351
|
*
|
|
349
352
|
* @default false
|
|
350
353
|
*/
|
|
@@ -352,20 +355,20 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
352
355
|
get rowReorderable(): boolean;
|
|
353
356
|
/**
|
|
354
357
|
* By default, navigation is enabled. To disable, set to `false`.
|
|
355
|
-
* 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).
|
|
356
359
|
*/
|
|
357
360
|
set navigable(value: GridNavigableSettings);
|
|
358
361
|
get navigable(): GridNavigableSettings;
|
|
359
362
|
/**
|
|
360
363
|
* If `true`, resizes columns during initialization to fit headers and content.
|
|
361
364
|
* Columns with `autoSize` set to `false` are excluded.
|
|
362
|
-
* [See example](
|
|
365
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing).
|
|
363
366
|
*
|
|
364
367
|
* @default false
|
|
365
368
|
*/
|
|
366
369
|
autoSize: boolean;
|
|
367
370
|
/**
|
|
368
|
-
* 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)).
|
|
369
372
|
*/
|
|
370
373
|
set rowClass(fn: RowClassFn);
|
|
371
374
|
get rowClass(): RowClassFn;
|
|
@@ -375,7 +378,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
375
378
|
set rowSticky(fn: RowStickyFn);
|
|
376
379
|
get rowSticky(): RowStickyFn;
|
|
377
380
|
/**
|
|
378
|
-
* 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)).
|
|
379
382
|
*/
|
|
380
383
|
set rowSelected(fn: RowSelectedFn);
|
|
381
384
|
get rowSelected(): RowSelectedFn;
|
|
@@ -386,7 +389,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
386
389
|
get isRowSelectable(): RowSelectableFn;
|
|
387
390
|
/**
|
|
388
391
|
* Sets a function to determine if a data cell is selected.
|
|
389
|
-
* 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)).
|
|
390
393
|
*/
|
|
391
394
|
set cellSelected(fn: CellSelectedFn);
|
|
392
395
|
get cellSelected(): CellSelectedFn;
|
|
@@ -410,33 +413,33 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
410
413
|
*/
|
|
411
414
|
get currentState(): GridState;
|
|
412
415
|
/**
|
|
413
|
-
* 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)).
|
|
414
417
|
*
|
|
415
418
|
* @default false
|
|
416
419
|
*/
|
|
417
420
|
resizable: boolean | ResizeMode;
|
|
418
421
|
/**
|
|
419
|
-
* 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)).
|
|
420
423
|
*
|
|
421
424
|
* @default false
|
|
422
425
|
*/
|
|
423
426
|
reorderable: boolean;
|
|
424
427
|
/**
|
|
425
|
-
* 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)).
|
|
426
429
|
*
|
|
427
430
|
* @default false
|
|
428
431
|
*/
|
|
429
432
|
set loading(value: boolean);
|
|
430
433
|
get loading(): boolean;
|
|
431
434
|
/**
|
|
432
|
-
* 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)).
|
|
433
436
|
*
|
|
434
437
|
* @default false
|
|
435
438
|
*/
|
|
436
439
|
columnMenu: boolean | ColumnMenuSettings;
|
|
437
440
|
/**
|
|
438
441
|
* If `true`, hides the Grid header. The header is visible by default.
|
|
439
|
-
* 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).
|
|
440
443
|
*
|
|
441
444
|
* @default false
|
|
442
445
|
*/
|
|
@@ -468,15 +471,15 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
468
471
|
*/
|
|
469
472
|
filterChange: EventEmitter<CompositeFilterDescriptor>;
|
|
470
473
|
/**
|
|
471
|
-
* 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)).
|
|
472
475
|
*/
|
|
473
476
|
pageChange: EventEmitter<PageChangeEvent>;
|
|
474
477
|
/**
|
|
475
|
-
* 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)).
|
|
476
479
|
*/
|
|
477
480
|
groupChange: EventEmitter<Array<GroupDescriptor>>;
|
|
478
481
|
/**
|
|
479
|
-
* 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)).
|
|
480
483
|
*/
|
|
481
484
|
sortChange: EventEmitter<Array<SortDescriptor>>;
|
|
482
485
|
/**
|
|
@@ -512,31 +515,31 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
512
515
|
*/
|
|
513
516
|
detailCollapse: EventEmitter<DetailCollapseEvent>;
|
|
514
517
|
/**
|
|
515
|
-
* 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)).
|
|
516
519
|
*/
|
|
517
520
|
edit: EventEmitter<EditEvent>;
|
|
518
521
|
/**
|
|
519
|
-
* 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)).
|
|
520
523
|
*/
|
|
521
524
|
cancel: EventEmitter<CancelEvent>;
|
|
522
525
|
/**
|
|
523
|
-
* 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)).
|
|
524
527
|
*/
|
|
525
528
|
save: EventEmitter<SaveEvent>;
|
|
526
529
|
/**
|
|
527
|
-
* 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)).
|
|
528
531
|
*/
|
|
529
532
|
remove: EventEmitter<RemoveEvent>;
|
|
530
533
|
/**
|
|
531
|
-
* 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)).
|
|
532
535
|
*/
|
|
533
536
|
add: EventEmitter<AddEvent>;
|
|
534
537
|
/**
|
|
535
|
-
* 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)).
|
|
536
539
|
*/
|
|
537
540
|
cellClose: EventEmitter<CellCloseEvent>;
|
|
538
541
|
/**
|
|
539
|
-
* 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)).
|
|
540
543
|
*/
|
|
541
544
|
cellClick: EventEmitter<CellClickEvent>;
|
|
542
545
|
/**
|
|
@@ -547,6 +550,10 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
547
550
|
* Fires when the Excel export command is triggered.
|
|
548
551
|
*/
|
|
549
552
|
excelExport: EventEmitter<ExcelExportEvent>;
|
|
553
|
+
/**
|
|
554
|
+
* Fires when the CSV export command is triggered.
|
|
555
|
+
*/
|
|
556
|
+
csvExport: EventEmitter<CSVExportEvent>;
|
|
550
557
|
/**
|
|
551
558
|
* Fires when columns are resized.
|
|
552
559
|
*/
|
|
@@ -568,7 +575,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
568
575
|
*/
|
|
569
576
|
columnStickyChange: EventEmitter<ColumnStickyChangeEvent>;
|
|
570
577
|
/**
|
|
571
|
-
* 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)).
|
|
572
579
|
*/
|
|
573
580
|
scrollBottom: EventEmitter<ScrollBottomEvent>;
|
|
574
581
|
/**
|
|
@@ -733,6 +740,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
733
740
|
private columnsChangeSubscription;
|
|
734
741
|
private pdfSubscription;
|
|
735
742
|
private excelSubscription;
|
|
743
|
+
private csvSubscription;
|
|
736
744
|
private columnsContainerChangeSubscription;
|
|
737
745
|
private cellClickSubscription;
|
|
738
746
|
private footerChangeSubscription;
|
|
@@ -748,23 +756,23 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
748
756
|
private rowReorderSubscription;
|
|
749
757
|
private rtl;
|
|
750
758
|
private _rowSticky;
|
|
751
|
-
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);
|
|
752
760
|
/**
|
|
753
|
-
* 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)).
|
|
754
762
|
*
|
|
755
763
|
* This method is for backwards compatibility with legacy versions that track expanded state by row index.
|
|
756
|
-
* For new development, use the [`kendoGridDetailsExpandBy` directive](
|
|
757
|
-
* 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.
|
|
758
766
|
*
|
|
759
767
|
* @param index The data row index of the master row.
|
|
760
768
|
*/
|
|
761
769
|
expandRow(index: number): void;
|
|
762
770
|
/**
|
|
763
|
-
* 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)).
|
|
764
772
|
*
|
|
765
773
|
* This method is for backwards compatibility with legacy versions that track expanded state by row index.
|
|
766
|
-
* For new development, use the [`kendoGridDetailsExpandBy` directive](
|
|
767
|
-
* 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.
|
|
768
776
|
*
|
|
769
777
|
* @param index The data row index of the master row.
|
|
770
778
|
*/
|
|
@@ -773,7 +781,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
773
781
|
* Expands a group header at the given hierarchical index, such as `0_1` for the second inner group of the first master group.
|
|
774
782
|
*
|
|
775
783
|
* This method is for backwards compatibility with legacy versions that track expanded group state by hierarchical group index.
|
|
776
|
-
* 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).
|
|
777
785
|
*
|
|
778
786
|
* @param {string} index The underscore-separated hierarchical index of the group.
|
|
779
787
|
*/
|
|
@@ -782,7 +790,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
782
790
|
* Collapses a group header at the given hierarchical index, such as `0_1` for the second inner group of the first master group.
|
|
783
791
|
*
|
|
784
792
|
* This method is for backwards compatibility with legacy versions that track expanded group state by hierarchical group index.
|
|
785
|
-
* 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).
|
|
786
794
|
*
|
|
787
795
|
* @param {string} index The underscore-separated hierarchical index of the group.
|
|
788
796
|
*/
|
|
@@ -857,7 +865,7 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
857
865
|
*/
|
|
858
866
|
messageFor: (token: string) => string;
|
|
859
867
|
/**
|
|
860
|
-
* 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)).
|
|
861
869
|
*
|
|
862
870
|
* @param rowIndex The data row index to switch to edit mode.
|
|
863
871
|
* @param group The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that describes the edit form.
|
|
@@ -869,19 +877,19 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
869
877
|
*/
|
|
870
878
|
handleReorderEvents(ev: any, evType: string): void;
|
|
871
879
|
/**
|
|
872
|
-
* 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)).
|
|
873
881
|
*
|
|
874
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.
|
|
875
883
|
*/
|
|
876
884
|
closeRow(index?: number): void;
|
|
877
885
|
/**
|
|
878
|
-
* 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)).
|
|
879
887
|
*
|
|
880
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.
|
|
881
889
|
*/
|
|
882
890
|
addRow(group: any): void;
|
|
883
891
|
/**
|
|
884
|
-
* 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)).
|
|
885
893
|
*
|
|
886
894
|
* @param {number} rowIndex The data row index to switch to edit mode.
|
|
887
895
|
* @param {number|string|any} column The leaf column index, field name, or column instance to edit.
|
|
@@ -889,9 +897,9 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
889
897
|
*/
|
|
890
898
|
editCell(rowIndex: number, column: number | string | any, group?: any): void;
|
|
891
899
|
/**
|
|
892
|
-
* 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.
|
|
893
901
|
*
|
|
894
|
-
* @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.
|
|
895
903
|
*/
|
|
896
904
|
closeCell(): boolean;
|
|
897
905
|
/**
|
|
@@ -911,20 +919,30 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
911
919
|
*/
|
|
912
920
|
isEditingCell(): boolean;
|
|
913
921
|
/**
|
|
914
|
-
* 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)).
|
|
915
923
|
*/
|
|
916
924
|
saveAsPDF(): void;
|
|
917
925
|
/**
|
|
918
|
-
* Exports the Grid element to a Drawing [Group](
|
|
919
|
-
* ([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)).
|
|
920
928
|
*
|
|
921
929
|
* @returns {Promise} A promise that resolves with the Drawing `Group`.
|
|
922
930
|
*/
|
|
923
931
|
drawPDF(): Promise<any>;
|
|
924
932
|
/**
|
|
925
|
-
* 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)).
|
|
926
934
|
*/
|
|
927
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>;
|
|
928
946
|
/**
|
|
929
947
|
* Applies the given `GridState` object to the Grid.
|
|
930
948
|
*/
|
|
@@ -932,14 +950,14 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
932
950
|
private traverseColumns;
|
|
933
951
|
/**
|
|
934
952
|
* Applies the minimum possible width for the specified column so the whole text fits without wrapping.
|
|
935
|
-
* This method expects the Grid to be [`resizable`](
|
|
936
|
-
* [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)
|
|
937
955
|
*/
|
|
938
956
|
autoFitColumn(column: ColumnBase): void;
|
|
939
957
|
/**
|
|
940
958
|
* Adjusts the width of the specified columns to fit the entire content, including headers, without wrapping.
|
|
941
959
|
* If you do not specify columns, `autoFitColumns` applies to all columns. Run this method after the Grid is populated with data.
|
|
942
|
-
* [See example](
|
|
960
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing#auto-fitting-the-content)
|
|
943
961
|
*/
|
|
944
962
|
autoFitColumns(columns?: Array<ColumnBase> | QueryList<ColumnBase>): void;
|
|
945
963
|
/**
|
|
@@ -1004,11 +1022,11 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
1004
1022
|
*/
|
|
1005
1023
|
focusPrevCell(wrap?: boolean): NavigationCell;
|
|
1006
1024
|
/**
|
|
1007
|
-
* 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)).
|
|
1008
1026
|
*/
|
|
1009
1027
|
scrollTo(request: ScrollRequest): void;
|
|
1010
1028
|
/**
|
|
1011
|
-
* 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)).
|
|
1012
1030
|
*/
|
|
1013
1031
|
scrollToItem(request: ScrollToItemRequest): void;
|
|
1014
1032
|
/**
|
|
@@ -1064,5 +1082,5 @@ export declare class GridComponent implements AfterContentInit, AfterViewInit, O
|
|
|
1064
1082
|
private shouldResetSelection;
|
|
1065
1083
|
private notifyReorderContainers;
|
|
1066
1084
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
1067
|
-
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>;
|
|
1068
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
|