@progress/kendo-angular-grid 19.1.2-develop.4 → 19.1.2-develop.6
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/adaptiveness/adaptive-mode.d.ts +1 -5
- package/aggregates/aggregate-types.d.ts +6 -6
- package/aggregates/status-bar-template.directive.d.ts +6 -4
- package/column-menu/column-locked-change-event.d.ts +1 -1
- package/column-menu/column-menu-autosize-all.component.d.ts +11 -2
- package/column-menu/column-menu-autosize.component.d.ts +14 -6
- package/column-menu/column-menu-chooser.component.d.ts +13 -5
- package/column-menu/column-menu-expandable-item.interface.d.ts +3 -3
- package/column-menu/column-menu-filter.component.d.ts +18 -5
- package/column-menu/column-menu-item-base.d.ts +2 -2
- package/column-menu/column-menu-item-content-template.directive.d.ts +4 -4
- package/column-menu/column-menu-item.component.d.ts +14 -7
- package/column-menu/column-menu-item.directive.d.ts +29 -1
- package/column-menu/column-menu-lock.component.d.ts +11 -3
- package/column-menu/column-menu-position.component.d.ts +16 -8
- package/column-menu/column-menu-settings.interface.d.ts +5 -4
- package/column-menu/column-menu-sort.component.d.ts +11 -9
- package/column-menu/column-menu-stick.component.d.ts +13 -5
- package/column-menu/column-menu-template.directive.d.ts +5 -7
- package/column-menu/column-menu.component.d.ts +17 -7
- package/column-menu/column-menu.service.d.ts +8 -9
- package/column-resizing/column-resize.interface.d.ts +9 -8
- package/columns/cell-rowspan.d.ts +5 -1
- package/columns/checkbox-column.component.d.ts +7 -5
- package/columns/column-base.d.ts +38 -52
- package/columns/column-group.component.d.ts +3 -2
- package/columns/column.component.d.ts +17 -12
- package/columns/command-column.component.d.ts +6 -7
- package/columns/reorder-column.component.d.ts +10 -2
- package/columns/sort-settings.d.ts +15 -18
- package/columns/span-column.component.d.ts +11 -11
- package/common/adaptiveness.service.d.ts +2 -2
- package/common/cell-click-event-args.interface.d.ts +8 -6
- package/common/clipboard-types.d.ts +27 -31
- package/common/clipboard.directive.d.ts +12 -8
- package/common/create-form-group.d.ts +3 -1
- package/common/fetch-data-callback.d.ts +4 -2
- package/common/field-datatype.d.ts +2 -2
- package/common/pager-settings.d.ts +36 -20
- package/common/preventable-event.d.ts +3 -7
- package/common/remove-confirmation.d.ts +12 -0
- package/common/resizable-settings.d.ts +6 -5
- package/common/single-popup.service.d.ts +7 -4
- package/common/size-options.d.ts +2 -1
- package/data/change-event-args.interface.d.ts +7 -7
- package/data/data-item.interface.d.ts +6 -6
- package/data/data.collection.d.ts +1 -1
- package/data/grid-item.interface.d.ts +1 -1
- package/data/group-footer-item.interface.d.ts +6 -6
- package/data/group-item.interface.d.ts +5 -5
- package/databinding.directive.d.ts +20 -10
- package/directives.d.ts +10 -1
- package/dragdrop/column-reorder-config.d.ts +2 -2
- package/dragdrop/column-reorder-event.d.ts +4 -6
- package/editing/add-command-tool.directive.d.ts +5 -7
- package/editing/add-command.directive.d.ts +3 -8
- package/editing/add-event-args.interface.d.ts +1 -1
- package/editing/cancel-command-tool.directive.d.ts +5 -5
- package/editing/cancel-command.directive.d.ts +6 -5
- package/editing/cancel-event-args.interface.d.ts +7 -1
- package/editing/cell-close-event.d.ts +9 -6
- package/editing/edit-command-tool.directive.d.ts +10 -9
- package/editing/edit-command.directive.d.ts +1 -1
- package/editing/edit-event-args.interface.d.ts +3 -3
- package/editing/edit-row-options.interface.d.ts +10 -4
- package/editing/edit-template.directive.d.ts +17 -9
- package/editing/form/models.d.ts +55 -48
- package/editing/remove-command-tool.directive.d.ts +10 -9
- package/editing/remove-command.directive.d.ts +4 -5
- package/editing/remove-event-args.interface.d.ts +2 -1
- package/editing/save-command-tool.directive.d.ts +7 -6
- package/editing/save-command.directive.d.ts +5 -5
- package/editing/save-event-args.interface.d.ts +2 -1
- package/editing-directives/create-form-group-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +13 -6
- package/editing-directives/external-editing.directive.d.ts +11 -4
- package/editing-directives/in-cell-editing.directive.d.ts +9 -3
- package/editing-directives/reactive-editing.directive.d.ts +9 -3
- package/editing-directives/template-editing.directive.d.ts +9 -3
- package/esm2022/aggregates/status-bar-template.directive.mjs +6 -4
- package/esm2022/column-menu/column-locked-change-event.mjs +1 -1
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +11 -2
- package/esm2022/column-menu/column-menu-autosize.component.mjs +14 -6
- package/esm2022/column-menu/column-menu-chooser.component.mjs +13 -5
- package/esm2022/column-menu/column-menu-filter.component.mjs +18 -5
- package/esm2022/column-menu/column-menu-item-base.mjs +2 -2
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +4 -4
- package/esm2022/column-menu/column-menu-item.component.mjs +14 -7
- package/esm2022/column-menu/column-menu-item.directive.mjs +29 -1
- package/esm2022/column-menu/column-menu-lock.component.mjs +11 -3
- package/esm2022/column-menu/column-menu-position.component.mjs +16 -8
- package/esm2022/column-menu/column-menu-sort.component.mjs +11 -9
- package/esm2022/column-menu/column-menu-stick.component.mjs +13 -5
- package/esm2022/column-menu/column-menu-template.directive.mjs +5 -7
- package/esm2022/column-menu/column-menu.component.mjs +17 -7
- package/esm2022/column-menu/column-menu.service.mjs +8 -9
- package/esm2022/columns/checkbox-column.component.mjs +7 -5
- package/esm2022/columns/column-base.mjs +38 -52
- package/esm2022/columns/column-group.component.mjs +3 -2
- package/esm2022/columns/column.component.mjs +17 -12
- package/esm2022/columns/command-column.component.mjs +6 -7
- package/esm2022/columns/reorder-column.component.mjs +10 -2
- package/esm2022/columns/span-column.component.mjs +11 -11
- package/esm2022/common/adaptiveness.service.mjs +2 -2
- package/esm2022/common/clipboard.directive.mjs +12 -8
- package/esm2022/common/preventable-event.mjs +3 -7
- package/esm2022/common/resizable-settings.mjs +2 -1
- package/esm2022/common/single-popup.service.mjs +7 -4
- package/esm2022/databinding.directive.mjs +20 -10
- package/esm2022/directives.mjs +10 -1
- package/esm2022/dragdrop/column-reorder-event.mjs +4 -6
- package/esm2022/editing/add-command-tool.directive.mjs +5 -7
- package/esm2022/editing/add-command.directive.mjs +3 -8
- package/esm2022/editing/cancel-command-tool.directive.mjs +5 -5
- package/esm2022/editing/cancel-command.directive.mjs +6 -5
- package/esm2022/editing/cell-close-event.mjs +7 -4
- package/esm2022/editing/edit-command-tool.directive.mjs +10 -9
- package/esm2022/editing/edit-command.directive.mjs +1 -1
- package/esm2022/editing/edit-template.directive.mjs +17 -9
- package/esm2022/editing/remove-command-tool.directive.mjs +10 -9
- package/esm2022/editing/remove-command.directive.mjs +4 -5
- package/esm2022/editing/save-command-tool.directive.mjs +7 -6
- package/esm2022/editing/save-command.directive.mjs +5 -5
- package/esm2022/editing-directives/external-editing.directive.mjs +11 -4
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +9 -3
- package/esm2022/editing-directives/reactive-editing.directive.mjs +9 -3
- package/esm2022/editing-directives/template-editing.directive.mjs +9 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +10 -13
- package/esm2022/excel/excel-command.directive.mjs +7 -11
- package/esm2022/excel/excel-export-event.mjs +4 -1
- package/esm2022/excel/excel.component.mjs +24 -25
- package/esm2022/excel/excel.module.mjs +4 -7
- package/esm2022/filtering/boolean-filter.component.mjs +3 -3
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -2
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +5 -2
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +10 -7
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +4 -2
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +10 -9
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +7 -5
- package/esm2022/filtering/date-filter.component.mjs +17 -19
- package/esm2022/filtering/filter.service.mjs +4 -4
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +3 -3
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +5 -3
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +9 -7
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +8 -8
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +10 -6
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +10 -5
- package/esm2022/filtering/numeric-filter.component.mjs +13 -13
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +26 -0
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +26 -0
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +26 -0
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +26 -0
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +27 -1
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +26 -1
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +74 -1
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +26 -0
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +26 -0
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +26 -1
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +26 -1
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +73 -1
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +73 -1
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +26 -1
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +26 -1
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +73 -1
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +26 -1
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +26 -1
- package/esm2022/filtering/string-filter.component.mjs +5 -4
- package/esm2022/grid.component.mjs +165 -173
- package/esm2022/grid.module.mjs +3 -2
- package/esm2022/grouping/group-footer-template.directive.mjs +5 -6
- package/esm2022/grouping/group-header-column-template.directive.mjs +5 -5
- package/esm2022/grouping/group-header-template.directive.mjs +5 -6
- package/esm2022/grouping/group-scroll-binding.directive.mjs +2 -0
- package/esm2022/localization/custom-messages.component.mjs +12 -2
- package/esm2022/localization/messages.mjs +154 -165
- package/esm2022/navigation/focus-group.mjs +2 -2
- package/esm2022/navigation/focusable.directive.mjs +5 -3
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +8 -11
- package/esm2022/pdf/pdf-command.directive.mjs +5 -9
- package/esm2022/pdf/pdf-export-event.mjs +1 -1
- package/esm2022/pdf/pdf-margin.component.mjs +16 -6
- package/esm2022/pdf/pdf-template.directive.mjs +5 -5
- package/esm2022/pdf/pdf.component.mjs +15 -5
- package/esm2022/pdf/pdf.module.mjs +3 -6
- package/esm2022/rendering/cell-loading.template.directive.mjs +4 -7
- package/esm2022/rendering/cell-template.directive.mjs +7 -8
- package/esm2022/rendering/common/spacer.component.mjs +14 -3
- package/esm2022/rendering/details/detail-collapse-event.mjs +8 -3
- package/esm2022/rendering/details/detail-expand-event.mjs +8 -3
- package/esm2022/rendering/details/detail-template.directive.mjs +3 -2
- package/esm2022/rendering/details-expand.directive.mjs +18 -8
- package/esm2022/rendering/footer/footer-template.directive.mjs +7 -7
- package/esm2022/rendering/groups-expand.directive.mjs +15 -5
- package/esm2022/rendering/header/header-template.directive.mjs +11 -11
- package/esm2022/rendering/loading-template.directive.mjs +14 -3
- package/esm2022/rendering/no-records-template.directive.mjs +3 -5
- package/esm2022/rendering/table-body.component.mjs +3 -1
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +10 -2
- package/esm2022/rendering/toolbar/toolbar-position.mjs +0 -17
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +3 -3
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +6 -5
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +5 -5
- package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +5 -3
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +4 -4
- package/esm2022/row-reordering/drag-handle-template.directive.mjs +5 -6
- package/esm2022/row-reordering/drag-hint-template.directive.mjs +3 -5
- package/esm2022/selection/selectall-checkbox.directive.mjs +2 -2
- package/esm2022/selection/selection-checkbox.directive.mjs +9 -8
- package/esm2022/selection/selection-default.mjs +9 -8
- package/esm2022/selection/selection.directive.mjs +10 -1
- package/esm2022/state-management/grid-state.models.mjs +3 -3
- package/esm2022/state-management/redo-command-tool.mjs +17 -9
- package/esm2022/state-management/undo-command-tool.mjs +17 -9
- package/esm2022/state-management/undo-redo.directive.mjs +17 -6
- package/excel/excel-command-tool.directive.d.ts +10 -13
- package/excel/excel-command.directive.d.ts +7 -11
- package/excel/excel-export-event.d.ts +4 -1
- package/excel/excel.component.d.ts +24 -25
- package/excel/excel.module.d.ts +4 -7
- package/fesm2022/progress-kendo-angular-grid.mjs +1945 -1025
- package/filtering/boolean-filter.component.d.ts +3 -3
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -2
- package/filtering/cell/date-filter-cell.component.d.ts +5 -2
- package/filtering/cell/filter-cell-operators.component.d.ts +10 -7
- package/filtering/cell/filter-cell-template.directive.d.ts +4 -2
- package/filtering/cell/numeric-filter-cell.component.d.ts +10 -9
- package/filtering/cell/string-filter-cell.component.d.ts +7 -5
- package/filtering/date-filter.component.d.ts +17 -19
- package/filtering/filter.service.d.ts +4 -4
- package/filtering/filterable.d.ts +5 -5
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -3
- package/filtering/menu/date-filter-menu.component.d.ts +5 -3
- package/filtering/menu/filter-menu-template.directive.d.ts +9 -7
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +8 -8
- package/filtering/menu/numeric-filter-menu.component.d.ts +10 -6
- package/filtering/menu/string-filter-menu.component.d.ts +10 -5
- package/filtering/numeric-filter.component.d.ts +13 -13
- package/filtering/operators/after-eq-filter-operator.component.d.ts +26 -0
- package/filtering/operators/after-filter-operator.component.d.ts +26 -0
- package/filtering/operators/before-eq-filter-operator.component.d.ts +26 -0
- package/filtering/operators/before-filter-operator.component.d.ts +26 -0
- package/filtering/operators/contains-filter-operator.component.d.ts +27 -1
- package/filtering/operators/ends-with-filter-operator.component.d.ts +26 -1
- package/filtering/operators/eq-filter-operator.component.d.ts +74 -1
- package/filtering/operators/gt-filter-operator.component.d.ts +26 -0
- package/filtering/operators/gte-filter-operator.component.d.ts +26 -0
- package/filtering/operators/is-empty-filter-operator.component.d.ts +26 -1
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +26 -1
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +73 -1
- package/filtering/operators/isnull-filter-operator.component.d.ts +73 -1
- package/filtering/operators/lt-filter-operator.component.d.ts +26 -1
- package/filtering/operators/lte-filter-operator.component.d.ts +26 -1
- package/filtering/operators/neq-filter-operator.component.d.ts +73 -1
- package/filtering/operators/not-contains-filter-operator.component.d.ts +26 -1
- package/filtering/operators/starts-with-filter-operator.component.d.ts +26 -1
- package/filtering/string-filter.component.d.ts +5 -4
- package/grid.component.d.ts +159 -173
- package/grid.module.d.ts +3 -2
- package/grouping/group-footer-template.directive.d.ts +5 -6
- package/grouping/group-header-column-template.directive.d.ts +5 -5
- package/grouping/group-header-template.directive.d.ts +5 -6
- package/grouping/group-key.interface.d.ts +7 -7
- package/grouping/group-rows-args.interface.d.ts +5 -5
- package/grouping/group-scroll-binding.directive.d.ts +2 -0
- package/grouping/group-settings.d.ts +7 -7
- package/grouping/virtual-group-result.interface.d.ts +3 -3
- package/localization/custom-messages.component.d.ts +12 -2
- package/localization/messages.d.ts +154 -165
- package/navigation/focus-group.d.ts +2 -2
- package/navigation/focusable-element.interface.d.ts +8 -9
- package/navigation/focusable.directive.d.ts +5 -3
- package/navigation/navigable-settings.d.ts +10 -5
- package/navigation/navigation-cell.interface.d.ts +8 -8
- package/navigation/navigation-row.interface.d.ts +6 -7
- package/package.json +20 -20
- package/pdf/pdf-command-tool.directive.d.ts +8 -11
- package/pdf/pdf-command.directive.d.ts +5 -9
- package/pdf/pdf-export-event.d.ts +1 -1
- package/pdf/pdf-margin.component.d.ts +16 -6
- package/pdf/pdf-margin.interface.d.ts +2 -2
- package/pdf/pdf-template.directive.d.ts +5 -5
- package/pdf/pdf.component.d.ts +15 -5
- package/pdf/pdf.module.d.ts +3 -6
- package/rendering/cell-loading.template.directive.d.ts +4 -7
- package/rendering/cell-template.directive.d.ts +7 -8
- package/rendering/common/row-args.d.ts +2 -0
- package/rendering/common/row-class.d.ts +20 -21
- package/rendering/common/spacer.component.d.ts +14 -3
- package/rendering/details/detail-collapse-event.d.ts +8 -3
- package/rendering/details/detail-expand-event.d.ts +8 -3
- package/rendering/details/detail-template.directive.d.ts +8 -7
- package/rendering/details-expand.directive.d.ts +18 -8
- package/rendering/footer/footer-template.directive.d.ts +7 -7
- package/rendering/groups-expand.directive.d.ts +15 -5
- package/rendering/header/header-template.directive.d.ts +11 -11
- package/rendering/loading-template.directive.d.ts +14 -3
- package/rendering/no-records-template.directive.d.ts +3 -5
- package/rendering/toolbar/toolbar-focusable.directive.d.ts +10 -2
- package/rendering/toolbar/toolbar-position.d.ts +5 -5
- package/rendering/toolbar/toolbar-template.directive.d.ts +3 -3
- package/rendering/toolbar/tools/column-chooser-tool.directive.d.ts +6 -5
- package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +5 -5
- package/rendering/toolbar/tools/group-command-tool.directive.d.ts +5 -3
- package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +4 -4
- package/row-reordering/drag-handle-template.directive.d.ts +5 -6
- package/row-reordering/drag-hint-template.directive.d.ts +3 -5
- package/row-reordering/types.d.ts +10 -10
- package/schematics/ngAdd/index.js +4 -4
- package/scrolling/content-scroll-event.d.ts +11 -11
- package/scrolling/scroll-bottom-event.d.ts +2 -2
- package/scrolling/scroll-request.service.d.ts +6 -6
- package/scrolling/scrollmode.d.ts +3 -3
- package/selection/selectall-checkbox.directive.d.ts +2 -2
- package/selection/selection-checkbox.directive.d.ts +9 -8
- package/selection/selection-default.d.ts +9 -8
- package/selection/selection.directive.d.ts +10 -1
- package/selection/types.d.ts +41 -35
- package/state-management/grid-state.models.d.ts +16 -7
- package/state-management/redo-command-tool.d.ts +14 -6
- package/state-management/undo-command-tool.d.ts +14 -6
- package/state-management/undo-redo.directive.d.ts +17 -6
|
@@ -20,8 +20,8 @@ export declare class FocusGroup implements OnDestroy {
|
|
|
20
20
|
registerElement(element: FocusableElement): void;
|
|
21
21
|
unregisterElement(element: FocusableElement): void;
|
|
22
22
|
/**
|
|
23
|
-
* Returns
|
|
24
|
-
*
|
|
23
|
+
* Returns `true` if the group receives focus when the cell is focused.
|
|
24
|
+
* The group must have a single simple focusable element, like a button or checkbox.
|
|
25
25
|
*/
|
|
26
26
|
isNavigable(): boolean;
|
|
27
27
|
canFocus(): boolean;
|
|
@@ -13,26 +13,25 @@ export interface FocusableElement {
|
|
|
13
13
|
/**
|
|
14
14
|
* Includes or excludes the element from the tab sequence.
|
|
15
15
|
*
|
|
16
|
-
* @param active If true
|
|
16
|
+
* @param active If `true`, sets `tabindex` to `0` or greater. If `false`, sets `tabindex` to `-1`.
|
|
17
17
|
*/
|
|
18
18
|
toggle(active: boolean): void;
|
|
19
19
|
/**
|
|
20
|
-
* Returns true if the element can be focused at the moment
|
|
20
|
+
* Returns `true` if the element can be focused at the moment. Returns `false` otherwise.
|
|
21
21
|
*
|
|
22
|
-
* @returns true if the element can be focused at the moment
|
|
22
|
+
* @returns `true` if the element can be focused at the moment. Returns `false` otherwise.
|
|
23
23
|
*/
|
|
24
24
|
canFocus(): boolean;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Returns `true` if the element is currently focused.
|
|
27
27
|
*/
|
|
28
28
|
hasFocus(): boolean;
|
|
29
29
|
/**
|
|
30
|
-
* Returns true if the element can receive
|
|
31
|
-
*
|
|
32
|
-
* For example, if a cell contains a single button, the focus should be placed directly on it.
|
|
33
|
-
* This allows the user to activate the button directly with Enter.
|
|
30
|
+
* Returns `true` if the element can receive focus during cursor navigation.
|
|
34
31
|
*
|
|
35
|
-
*
|
|
32
|
+
* For example, if a cell has a single button, focus goes directly to it.
|
|
33
|
+
* This lets the user activate the button with `Enter`.
|
|
34
|
+
* If the cell has more than one navigable element, focus stays on the cell.
|
|
36
35
|
*/
|
|
37
36
|
isNavigable(): boolean;
|
|
38
37
|
}
|
|
@@ -8,21 +8,23 @@ import { CellContext } from '../rendering/common/cell-context';
|
|
|
8
8
|
import { ContextService } from '../common/provider.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* A directive that controls
|
|
12
|
-
*
|
|
11
|
+
* A directive that controls how focusable elements receive
|
|
12
|
+
* focus in a navigable Grid. [See example]({% slug keyboard_navigation_grid %}).
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```html
|
|
16
16
|
* <kendo-grid [data]="data" [navigable]="true">
|
|
17
17
|
* <kendo-grid-column>
|
|
18
18
|
* <ng-template kendoGridCellTemplate let-dataItem>
|
|
19
|
-
* <!-- The first focusable element
|
|
19
|
+
* <!-- The first focusable element is focused when you press Enter on the cell. -->
|
|
20
20
|
* <input type="text" kendoGridFocusable [value]="dataItem.ProductName" style="margin-right: 8px;" />
|
|
21
21
|
* <button kendoGridFocusable>Update</button>
|
|
22
22
|
* </ng-template>
|
|
23
23
|
* </kendo-grid-column>
|
|
24
24
|
* </kendo-grid>
|
|
25
25
|
* ```
|
|
26
|
+
* @remarks
|
|
27
|
+
* Applied to: {@link ButtonComponent}, {@link TextBoxComponent}, {@link DateInputComponent}, {@link DatePickerComponent}, {@link DateTimePicker}, {@link TextAreaComponent}, {@link ColorPickerComponent}, {@link DropDownListComponent}, {@link ComboBoxComponent}, {@link AutoCompleteComponent}.
|
|
26
28
|
*/
|
|
27
29
|
export declare class FocusableDirective implements FocusableElement, AfterViewInit, OnDestroy {
|
|
28
30
|
private cellContext;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
* Represents the possible navigable sections of the Grid ([see example]({% slug keyboard_navigation_grid %}#toc-navigable-sections)).
|
|
7
7
|
*
|
|
8
8
|
* The available values are:
|
|
9
|
-
* * `pager
|
|
10
|
-
* * `table
|
|
11
|
-
* * `toolbar
|
|
9
|
+
* * `pager` — Includes the Grid pager and its internal elements.
|
|
10
|
+
* * `table` — Includes the Grid table and its internal elements.
|
|
11
|
+
* * `toolbar` — Includes the Grid toolbars and the group panel when the Grid is groupable.
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
13
|
+
* @example
|
|
14
14
|
* ```html
|
|
15
|
-
* <kendo-grid [navigable]="['pager', 'toolbar']"
|
|
15
|
+
* <kendo-grid [navigable]="['pager', 'toolbar']"></kendo-grid>
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export type GridNavigableSection = 'pager' | 'table' | 'toolbar';
|
|
@@ -22,5 +22,10 @@ export type GridNavigableSection = 'pager' | 'table' | 'toolbar';
|
|
|
22
22
|
* The available values are:
|
|
23
23
|
* * `boolean`
|
|
24
24
|
* * [`GridNavigableSection`](slug:api_grid_gridnavigablesection)
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```typescript
|
|
28
|
+
* const settings: GridNavigableSettings = ['pager', 'table'];
|
|
29
|
+
* ```
|
|
25
30
|
*/
|
|
26
31
|
export type GridNavigableSettings = boolean | GridNavigableSection[];
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { FocusGroup } from './focus-group';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the metadata for a focusable Grid cell.
|
|
8
8
|
* Focusable Grid cells include headers, group headers and footers, and data cells.
|
|
9
9
|
*/
|
|
10
10
|
export interface NavigationCell {
|
|
@@ -13,28 +13,28 @@ export interface NavigationCell {
|
|
|
13
13
|
*/
|
|
14
14
|
uid: number;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Specifies the column index of the cell.
|
|
17
17
|
*/
|
|
18
18
|
colIndex: number;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* Group headers and footers are included. Header rows
|
|
20
|
+
* Specifies the logical index of the row that contains this cell. The row index is absolute and does not change with paging.
|
|
21
|
+
* Group headers and footers are included. Header rows start at index `0`.
|
|
22
22
|
*/
|
|
23
23
|
rowIndex: number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Sets the column span for this cell, if defined.
|
|
26
26
|
*/
|
|
27
27
|
colSpan?: number;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Sets the row span for this cell, if defined.
|
|
30
30
|
*/
|
|
31
31
|
rowSpan?: number;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Specifies the data item index for the parent row of this cell.
|
|
34
34
|
*/
|
|
35
35
|
dataRowIndex: number;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Provides the data item for the parent row of this cell.
|
|
38
38
|
*/
|
|
39
39
|
dataItem: any;
|
|
40
40
|
/**
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
import { NavigationCell } from './navigation-cell.interface';
|
|
6
6
|
import { GroupItem } from '../data/group-item.interface';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* headers, group headers and footers, and data rows.
|
|
8
|
+
* Represents the metadata for a focusable Grid row. Focusable rows include headers, group headers and footers, and data rows.
|
|
10
9
|
*/
|
|
11
10
|
export interface NavigationRow {
|
|
12
11
|
/**
|
|
@@ -14,20 +13,20 @@ export interface NavigationRow {
|
|
|
14
13
|
*/
|
|
15
14
|
uid: number;
|
|
16
15
|
/**
|
|
17
|
-
*
|
|
18
|
-
* Group headers and footers are included. Header rows
|
|
16
|
+
* Specifies the logical index of the focusable row. The row index is absolute and does not change with paging.
|
|
17
|
+
* Group headers and footers are included. Header rows start at index 0.
|
|
19
18
|
*/
|
|
20
19
|
index: number;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
21
|
+
* Specifies the data item index for this row.
|
|
23
22
|
*/
|
|
24
23
|
dataRowIndex: number;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
25
|
+
* Provides the data item for this row.
|
|
27
26
|
*/
|
|
28
27
|
dataItem: any;
|
|
29
28
|
/**
|
|
30
|
-
*
|
|
29
|
+
* Contains an array of focusable cells associated with this row.
|
|
31
30
|
*/
|
|
32
31
|
cells: NavigationCell[];
|
|
33
32
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "19.1.2-develop.
|
|
3
|
+
"version": "19.1.2-develop.6",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"package": {
|
|
27
27
|
"productName": "Kendo UI for Angular",
|
|
28
28
|
"productCode": "KENDOUIANGULAR",
|
|
29
|
-
"publishDate":
|
|
29
|
+
"publishDate": 1750433842,
|
|
30
30
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
@@ -39,28 +39,28 @@
|
|
|
39
39
|
"@progress/kendo-data-query": "^1.0.0",
|
|
40
40
|
"@progress/kendo-drawing": "^1.21.0",
|
|
41
41
|
"@progress/kendo-licensing": "^1.5.0",
|
|
42
|
-
"@progress/kendo-angular-buttons": "19.1.2-develop.
|
|
43
|
-
"@progress/kendo-angular-common": "19.1.2-develop.
|
|
44
|
-
"@progress/kendo-angular-dateinputs": "19.1.2-develop.
|
|
45
|
-
"@progress/kendo-angular-layout": "19.1.2-develop.
|
|
46
|
-
"@progress/kendo-angular-navigation": "19.1.2-develop.
|
|
47
|
-
"@progress/kendo-angular-dropdowns": "19.1.2-develop.
|
|
48
|
-
"@progress/kendo-angular-excel-export": "19.1.2-develop.
|
|
49
|
-
"@progress/kendo-angular-icons": "19.1.2-develop.
|
|
50
|
-
"@progress/kendo-angular-inputs": "19.1.2-develop.
|
|
51
|
-
"@progress/kendo-angular-intl": "19.1.2-develop.
|
|
52
|
-
"@progress/kendo-angular-l10n": "19.1.2-develop.
|
|
53
|
-
"@progress/kendo-angular-label": "19.1.2-develop.
|
|
54
|
-
"@progress/kendo-angular-pager": "19.1.2-develop.
|
|
55
|
-
"@progress/kendo-angular-pdf-export": "19.1.2-develop.
|
|
56
|
-
"@progress/kendo-angular-popup": "19.1.2-develop.
|
|
57
|
-
"@progress/kendo-angular-toolbar": "19.1.2-develop.
|
|
58
|
-
"@progress/kendo-angular-utils": "19.1.2-develop.
|
|
42
|
+
"@progress/kendo-angular-buttons": "19.1.2-develop.6",
|
|
43
|
+
"@progress/kendo-angular-common": "19.1.2-develop.6",
|
|
44
|
+
"@progress/kendo-angular-dateinputs": "19.1.2-develop.6",
|
|
45
|
+
"@progress/kendo-angular-layout": "19.1.2-develop.6",
|
|
46
|
+
"@progress/kendo-angular-navigation": "19.1.2-develop.6",
|
|
47
|
+
"@progress/kendo-angular-dropdowns": "19.1.2-develop.6",
|
|
48
|
+
"@progress/kendo-angular-excel-export": "19.1.2-develop.6",
|
|
49
|
+
"@progress/kendo-angular-icons": "19.1.2-develop.6",
|
|
50
|
+
"@progress/kendo-angular-inputs": "19.1.2-develop.6",
|
|
51
|
+
"@progress/kendo-angular-intl": "19.1.2-develop.6",
|
|
52
|
+
"@progress/kendo-angular-l10n": "19.1.2-develop.6",
|
|
53
|
+
"@progress/kendo-angular-label": "19.1.2-develop.6",
|
|
54
|
+
"@progress/kendo-angular-pager": "19.1.2-develop.6",
|
|
55
|
+
"@progress/kendo-angular-pdf-export": "19.1.2-develop.6",
|
|
56
|
+
"@progress/kendo-angular-popup": "19.1.2-develop.6",
|
|
57
|
+
"@progress/kendo-angular-toolbar": "19.1.2-develop.6",
|
|
58
|
+
"@progress/kendo-angular-utils": "19.1.2-develop.6",
|
|
59
59
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"tslib": "^2.3.1",
|
|
63
|
-
"@progress/kendo-angular-schematics": "19.1.2-develop.
|
|
63
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.6",
|
|
64
64
|
"@progress/kendo-common": "^1.0.1",
|
|
65
65
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
66
66
|
},
|
|
@@ -9,24 +9,21 @@ import { ContextService } from '../common/provider.service';
|
|
|
9
9
|
import { ToolbarToolBase } from '../common/toolbar-tool-base.directive';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
* Represents the
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* When the user clicks the toolbar button that is associated with the directive, the
|
|
17
|
-
* [pdfExport]({% slug api_grid_gridcomponent %}#toc-pdfexport) event
|
|
18
|
-
* fires ([see example]({% slug pdfexport_grid %})).
|
|
12
|
+
* Represents the PDF export toolbar tool of the Grid.
|
|
13
|
+
* Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent in the Grid.
|
|
14
|
+
* When you click the toolbar button with this directive, the [`pdfExport`]({% slug api_grid_gridcomponent %}#toc-pdfexport) event fires. ([See example]({% slug pdfexport_grid %})).
|
|
19
15
|
*
|
|
20
16
|
* @example
|
|
21
|
-
* ```html
|
|
17
|
+
* ```html
|
|
22
18
|
* <kendo-grid>
|
|
23
19
|
* <kendo-toolbar>
|
|
24
|
-
* <kendo-toolbar-button text="PDF
|
|
20
|
+
* <kendo-toolbar-button text="Export to PDF" kendoGridPDFTool></kendo-toolbar-button>
|
|
25
21
|
* </kendo-toolbar>
|
|
26
|
-
* <kendo-grid-pdf fileName="
|
|
27
|
-
* </kendo-grid-pdf>
|
|
22
|
+
* <kendo-grid-pdf fileName="products.pdf"></kendo-grid-pdf>
|
|
28
23
|
* </kendo-grid>
|
|
29
24
|
* ```
|
|
25
|
+
* @remarks
|
|
26
|
+
* Applied to: {@link ToolBarButtonComponent}.
|
|
30
27
|
*/
|
|
31
28
|
export declare class PDFCommandToolbarDirective extends ToolbarToolBase {
|
|
32
29
|
private pdfService;
|
|
@@ -8,21 +8,17 @@ import { ContextService } from '../common/provider.service';
|
|
|
8
8
|
import { PDFService } from './pdf.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the
|
|
12
|
-
*
|
|
13
|
-
* [
|
|
14
|
-
* When the user clicks a button that is associated with the directive, the
|
|
15
|
-
* [pdfExport]({% slug api_grid_gridcomponent %}#toc-pdfexport) event
|
|
16
|
-
* fires ([see example]({% slug pdfexport_grid %})).
|
|
11
|
+
* Represents the PDF export command of the Grid.
|
|
12
|
+
* Apply this directive to any `button` element inside a [ToolbarTemplate]({% slug api_grid_commandcolumncomponent %}).
|
|
13
|
+
* When you click a button with this directive, the [`pdfExport`]({% slug api_grid_gridcomponent %}#toc-pdfexport) event fires. ([See example]({% slug pdfexport_grid %})).
|
|
17
14
|
*
|
|
18
15
|
* @example
|
|
19
|
-
* ```html
|
|
16
|
+
* ```html
|
|
20
17
|
* <kendo-grid>
|
|
21
18
|
* <ng-template kendoGridToolbarTemplate>
|
|
22
19
|
* <button kendoGridPDFCommand>Export to PDF</button>
|
|
23
20
|
* </ng-template>
|
|
24
|
-
* <kendo-grid-pdf fileName="
|
|
25
|
-
* </kendo-grid-pdf>
|
|
21
|
+
* <kendo-grid-pdf fileName="products.pdf"></kendo-grid-pdf>
|
|
26
22
|
* </kendo-grid>
|
|
27
23
|
* ```
|
|
28
24
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from '../common/preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `pdfExport` event.
|
|
8
8
|
*/
|
|
9
9
|
export declare class PDFExportEvent extends PreventableEvent {
|
|
10
10
|
/**
|
|
@@ -6,12 +6,22 @@ import { PDFExportMarginComponent } from '@progress/kendo-angular-pdf-export';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the Kendo UI PDFMargin component for Angular.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* `"
|
|
12
|
-
* `"
|
|
13
|
-
* `"
|
|
14
|
-
*
|
|
9
|
+
* Use this component to set the PDF page margins.
|
|
10
|
+
* Supported units are:
|
|
11
|
+
* - `"mm"`
|
|
12
|
+
* - `"cm"`
|
|
13
|
+
* - `"in"`
|
|
14
|
+
* - `"pt"` (default)
|
|
15
|
+
* When you provide only a number, the units default to points (`pt`).
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```html
|
|
19
|
+
* <kendo-grid>
|
|
20
|
+
* <kendo-grid-pdf [allPages]="true" [delay]="100">
|
|
21
|
+
* <kendo-grid-pdf-margin top="1cm" bottom="1cm" left="1cm" right="1cm"></kendo-grid-pdf-margin>
|
|
22
|
+
* </kendo-grid-pdf>
|
|
23
|
+
* </kendo-grid>
|
|
24
|
+
* ```
|
|
15
25
|
*/
|
|
16
26
|
export declare class PDFMarginComponent extends PDFExportMarginComponent {
|
|
17
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<PDFMarginComponent, never>;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { pdf } from '@progress/kendo-drawing';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Defines the page margins for the PDF export.
|
|
8
|
+
* Accepts numbers or strings with units.
|
|
9
9
|
*/
|
|
10
10
|
export interface PDFMargin extends pdf.PageMargin {
|
|
11
11
|
}
|
|
@@ -6,12 +6,12 @@ import { TemplateRef } from '@angular/core';
|
|
|
6
6
|
import { PDFExportTemplateDirective } from '@progress/kendo-angular-pdf-export';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* The directive allows customizing the PDF page template for the Grid.
|
|
10
|
+
* Place an `<ng-template>` with the `kendoGridPDFTemplate` directive inside the `<kendo-grid-pdf>` tag.
|
|
11
11
|
*
|
|
12
|
-
* The template context provides
|
|
13
|
-
* - `pageNumber`—
|
|
14
|
-
* - `totalPages`—
|
|
12
|
+
* The template context provides:
|
|
13
|
+
* - `pageNumber`—The current PDF page number.
|
|
14
|
+
* - `totalPages`—The total number of PDF pages.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```html
|
package/pdf/pdf.component.d.ts
CHANGED
|
@@ -14,7 +14,18 @@ import { PDFExportComponent } from '@progress/kendo-angular-pdf-export';
|
|
|
14
14
|
import { ContextService } from '../common/provider.service';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
/**
|
|
17
|
-
* Configures the settings for the
|
|
17
|
+
* Configures the settings for exporting the Grid to PDF. ([See example]({% slug pdfexport_grid %})).
|
|
18
|
+
*
|
|
19
|
+
* Use this component to customize PDF export options for the Grid.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```html
|
|
23
|
+
* <kendo-grid>
|
|
24
|
+
* <kendo-grid-pdf [allPages]="true" [delay]="100"></kendo-grid-pdf>
|
|
25
|
+
* </kendo-grid>
|
|
26
|
+
* ```
|
|
27
|
+
* @remarks
|
|
28
|
+
* Supported children components are: {@link PDFMarginComponent}.
|
|
18
29
|
*/
|
|
19
30
|
export declare class PDFComponent extends PDFExportComponent implements OnDestroy {
|
|
20
31
|
protected pdfService: PDFService;
|
|
@@ -22,13 +33,12 @@ export declare class PDFComponent extends PDFExportComponent implements OnDestro
|
|
|
22
33
|
protected ngZone: NgZone;
|
|
23
34
|
private ctx;
|
|
24
35
|
/**
|
|
25
|
-
* Exports all Grid pages, starting from the first
|
|
36
|
+
* Exports all Grid pages, starting from the first page.
|
|
26
37
|
*/
|
|
27
38
|
allPages: boolean;
|
|
28
39
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* templates such as charts or data-bound components with asynchronous data retrieval ([see example]({% slug pdfexport_grid %}#toc-exporting-all-pages)).
|
|
40
|
+
* Sets the delay in milliseconds before exporting the Grid content.
|
|
41
|
+
* Use this property when exporting complex components in Grid templates, such as charts or data-bound components with asynchronous data retrieval. ([See example]({% slug pdfexport_grid %}#toc-exporting-all-pages)).
|
|
32
42
|
*
|
|
33
43
|
* @default 0
|
|
34
44
|
*/
|
package/pdf/pdf.module.d.ts
CHANGED
|
@@ -10,12 +10,11 @@ import * as i4 from "./pdf-command.directive";
|
|
|
10
10
|
import * as i5 from "./pdf-template.directive";
|
|
11
11
|
import * as i6 from "./pdf-command-tool.directive";
|
|
12
12
|
/**
|
|
13
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14
|
-
*
|
|
13
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Grid PDF component.
|
|
14
|
+
* Use this module to enable PDF export in the Grid for NgModule-based applications.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
|
-
*
|
|
18
|
-
* ```ts
|
|
17
|
+
* ```typescript
|
|
19
18
|
* import { NgModule } from '@angular/core';
|
|
20
19
|
* import { BrowserModule } from "@angular/platform-browser";
|
|
21
20
|
* import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
|
|
@@ -26,9 +25,7 @@ import * as i6 from "./pdf-command-tool.directive";
|
|
|
26
25
|
* imports: [BrowserModule, GridModule, PDFModule],
|
|
27
26
|
* bootstrap: [AppComponent]
|
|
28
27
|
* })
|
|
29
|
-
*
|
|
30
28
|
* export class AppModule {}
|
|
31
|
-
*
|
|
32
29
|
* ```
|
|
33
30
|
*/
|
|
34
31
|
export declare class PDFModule {
|
|
@@ -5,14 +5,11 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* nest an `<ng-template>` tag with the `kendoGridCellLoadingTemplate` directive inside `<kendo-grid>` tag [see example]({% slug virtualscrolling_grid %}#toc-custom-loading-skeleton).
|
|
8
|
+
* The directive allows customizing the loading indicator for virtual scrolling cells in the Grid.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGridCellLoadingTemplate` directive inside `<kendo-grid>` to define the loading cell template. ([See example]({% slug virtualscrolling_grid %}#toc-custom-loading-skeleton)).
|
|
11
10
|
*
|
|
12
|
-
*
|
|
13
|
-
* The
|
|
14
|
-
*
|
|
15
|
-
* - `column`—The current column instance. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax (for example `let-column`).
|
|
11
|
+
* The template context is set to the current column. You can use the following field:
|
|
12
|
+
* - `column`—The current column instance. This is the default context for any template variable that uses the `let-x` syntax (for example, `let-column`).
|
|
16
13
|
*
|
|
17
14
|
* @example
|
|
18
15
|
* ```html
|
|
@@ -5,15 +5,14 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* `kendoGridCellTemplate` directive inside a `<kendo-grid-column>` tag [see example](slug:templates_columns_grid#toc-cell-template).
|
|
8
|
+
* Lets you customize the content of Grid cells.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGridCellTemplate` directive inside a `<kendo-grid-column>` tag to define the cell template. ([See example](slug:templates_columns_grid#toc-cell-template)).
|
|
11
10
|
*
|
|
12
|
-
* The template context is set to the current data item
|
|
13
|
-
* - `columnIndex`—The current column index. Use
|
|
14
|
-
* - `rowIndex`—The current data row index. Use
|
|
15
|
-
* - `dataItem`—The current data item.
|
|
16
|
-
* - `column`—The current column instance. Use
|
|
11
|
+
* The template context is set to the current data item. You can use these fields:
|
|
12
|
+
* - `columnIndex`—The current column index. Use `let-columnIndex="columnIndex"` in your template.
|
|
13
|
+
* - `rowIndex`—The current data row index. Use `let-rowIndex="rowIndex"` in your template.
|
|
14
|
+
* - `dataItem`—The current data item. This is the default context for any template variable that uses the `let-x` syntax, such as `let-dataItem`.
|
|
15
|
+
* - `column`—The current column instance. Use `let-column="column"` in your template.
|
|
17
16
|
*
|
|
18
17
|
* @example
|
|
19
18
|
* ```html
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Represents a data row with an associated data item.
|
|
7
|
+
*
|
|
8
|
+
* Use this interface to access the data item and index for a row.
|
|
7
9
|
*/
|
|
8
10
|
export interface RowArgs {
|
|
9
11
|
/**
|
|
@@ -4,34 +4,32 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { RowArgs } from './row-args';
|
|
6
6
|
/**
|
|
7
|
-
* Represents the callback arguments
|
|
8
|
-
* [rowClass]({% slug api_grid_gridcomponent %}#toc-rowClass) property.
|
|
7
|
+
* Represents the callback arguments used by the [`rowClass`]({% slug api_grid_gridcomponent %}#toc-rowClass) property.
|
|
9
8
|
*/
|
|
10
9
|
export interface RowClassArgs extends RowArgs {
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
|
-
* Represents the callback
|
|
14
|
-
* [rowClass]({% slug api_grid_gridcomponent %}#toc-rowclass) property.
|
|
12
|
+
* Represents the callback used by the [`rowClass`]({% slug api_grid_gridcomponent %}#toc-rowclass) property.
|
|
15
13
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* rowCallback({ dataItem, index }) {
|
|
17
|
+
* const isEven = index % 2 === 0;
|
|
18
|
+
* return {
|
|
19
|
+
* even: isEven,
|
|
20
|
+
* odd: !isEven
|
|
21
|
+
* };
|
|
22
|
+
* }
|
|
24
23
|
* ```
|
|
25
|
-
*
|
|
26
24
|
*/
|
|
27
25
|
export type RowClassFn = (context: RowClassArgs) => string | string[] | Set<string> | {
|
|
28
26
|
[key: string]: any;
|
|
29
27
|
};
|
|
30
28
|
/**
|
|
31
|
-
* Represents the callback
|
|
32
|
-
* [rowSelected]({% slug api_grid_gridcomponent %}#toc-rowselected) property.
|
|
29
|
+
* Represents the callback used by the [`rowSelected`]({% slug api_grid_gridcomponent %}#toc-rowselected) property.
|
|
33
30
|
*
|
|
34
|
-
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```typescript
|
|
35
33
|
* rowCallback({ dataItem, index }) {
|
|
36
34
|
* return index % 2 === 0;
|
|
37
35
|
* }
|
|
@@ -39,10 +37,10 @@ export type RowClassFn = (context: RowClassArgs) => string | string[] | Set<stri
|
|
|
39
37
|
*/
|
|
40
38
|
export type RowSelectedFn = (context: RowArgs) => boolean;
|
|
41
39
|
/**
|
|
42
|
-
* Represents the callback
|
|
43
|
-
* [isRowSelectable]({% slug api_grid_gridcomponent %}#toc-isrowselectable) property.
|
|
40
|
+
* Represents the callback used to determine whether a data row is selectable. Used by the [`isRowSelectable`]({% slug api_grid_gridcomponent %}#toc-isrowselectable) property.
|
|
44
41
|
*
|
|
45
|
-
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```typescript
|
|
46
44
|
* isRowSelectableCallback({ dataItem, index }) {
|
|
47
45
|
* return index % 2 === 0;
|
|
48
46
|
* }
|
|
@@ -50,9 +48,10 @@ export type RowSelectedFn = (context: RowArgs) => boolean;
|
|
|
50
48
|
*/
|
|
51
49
|
export type RowSelectableFn = (context: RowArgs) => boolean;
|
|
52
50
|
/**
|
|
53
|
-
* Represents the callback
|
|
51
|
+
* Represents the callback used to determine whether a data row is sticky.
|
|
54
52
|
*
|
|
55
|
-
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```typescript
|
|
56
55
|
* rowStickyCallback({ dataItem, index }) {
|
|
57
56
|
* return index % 2 === 0;
|
|
58
57
|
* }
|
|
@@ -9,6 +9,18 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* and provides a way for customizing the spacer width.
|
|
10
10
|
* It can also be used in any flex container within the Grid
|
|
11
11
|
* ([see example](slug:toolbartemplate_grid#toc-defining-the-spacing-between-toolbar-elements)).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-grid [data]="data">
|
|
16
|
+
* <ng-template kendoGridToolbarTemplate>
|
|
17
|
+
* <kendo-grid-spacer></kendo-grid-spacer>
|
|
18
|
+
* <button type="button" kendoGridExcelCommand [svgIcon]="fileExcelIcon"> Export to Excel </button>
|
|
19
|
+
* <kendo-grid-spacer></kendo-grid-spacer>
|
|
20
|
+
* </ng-template>
|
|
21
|
+
* <kendo-grid-column field="ProductName" title="Product Name"></kendo-grid-column>
|
|
22
|
+
* </kendo-grid>
|
|
23
|
+
* ```
|
|
12
24
|
*/
|
|
13
25
|
export declare class GridSpacerComponent {
|
|
14
26
|
hostClass: boolean;
|
|
@@ -16,9 +28,8 @@ export declare class GridSpacerComponent {
|
|
|
16
28
|
get flexBasisStyle(): string;
|
|
17
29
|
/**
|
|
18
30
|
* Specifies the width of the GridSpacer.
|
|
19
|
-
* Accepts
|
|
20
|
-
*
|
|
21
|
-
* If not set, the GridSpacer will take all the available space.
|
|
31
|
+
* Accepts string values for the [CSS `flex-basis`](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis) property.
|
|
32
|
+
* If not set, the GridSpacer takes all available space.
|
|
22
33
|
*/
|
|
23
34
|
width: string;
|
|
24
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridSpacerComponent, never>;
|