@progress/kendo-angular-grid 19.1.2-develop.3 → 19.1.2-develop.5
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 +159 -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 +1939 -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
|
@@ -4,16 +4,21 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from '../../common/preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `detailCollapse` event.
|
|
8
|
+
*
|
|
9
|
+
* The event fires when a detail row collapses.
|
|
8
10
|
*/
|
|
9
11
|
export declare class DetailCollapseEvent extends PreventableEvent {
|
|
10
12
|
/**
|
|
11
|
-
* The collapsed row
|
|
13
|
+
* The `dataItem` for the collapsed row.
|
|
12
14
|
*/
|
|
13
15
|
dataItem: any;
|
|
14
16
|
/**
|
|
15
|
-
* The collapsed row
|
|
17
|
+
* The index of the collapsed row.
|
|
16
18
|
*/
|
|
17
19
|
index: number;
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
18
23
|
constructor(args: any);
|
|
19
24
|
}
|
|
@@ -4,16 +4,21 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from '../../common/preventable-event';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `detailExpand` event.
|
|
8
|
+
*
|
|
9
|
+
* The event fires when a detail row expands.
|
|
8
10
|
*/
|
|
9
11
|
export declare class DetailExpandEvent extends PreventableEvent {
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
13
|
+
* Represents the `dataItem` for the expanded row.
|
|
12
14
|
*/
|
|
13
15
|
dataItem: any;
|
|
14
16
|
/**
|
|
15
|
-
*
|
|
17
|
+
* Represents the index of the expanded row.
|
|
16
18
|
*/
|
|
17
19
|
index: number;
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
18
23
|
constructor(args: any);
|
|
19
24
|
}
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* [DetailTemplateDirective]({% slug api_grid_detailtemplatedirective %})
|
|
10
|
-
* ([
|
|
8
|
+
* Uses a predicate to control conditional rendering for the
|
|
9
|
+
* [`DetailTemplateDirective`]({% slug api_grid_detailtemplatedirective %}).
|
|
10
|
+
* Allows you to show or hide detail rows based on your logic. ([See example]({% slug detailrowtemplate_grid %}#toc-conditional-display)).
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* myCondition(dataItem: any, index: number) { return dataItem.CategoryID % 2 === 0; }
|
|
12
|
+
* ``typescript
|
|
13
|
+
* public myCondition(dataItem: any, index: number) { return dataItem.CategoryID % 2 === 0; }
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
16
|
export type DetailTemplateShowIfFn = (dataItem: any, index: number) => boolean;
|
|
17
17
|
/**
|
|
18
18
|
* Represents the detail template of the Grid ([more information and examples]({% slug detailrowtemplate_grid %})).
|
|
19
|
-
*
|
|
19
|
+
* Nest an `<ng-template>` tag with the `kendoGridDetailTemplate` directive inside a `<kendo-grid>` tag to define the detail template.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* ```html
|
|
@@ -35,7 +35,8 @@ export type DetailTemplateShowIfFn = (dataItem: any, index: number) => boolean;
|
|
|
35
35
|
export declare class DetailTemplateDirective {
|
|
36
36
|
templateRef: TemplateRef<any>;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Sets a function to decide if the detail row and the **Expand** or **Collapse** button display for a data item.
|
|
39
|
+
* The function receives the data item and its index.
|
|
39
40
|
*/
|
|
40
41
|
set showIf(fn: DetailTemplateShowIfFn);
|
|
41
42
|
get showIf(): DetailTemplateShowIfFn;
|
|
@@ -8,34 +8,44 @@ import { Subscription } from 'rxjs';
|
|
|
8
8
|
import { RowArgs } from './common/row-args';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Controls the expanded state of master detail rows in the Grid.
|
|
12
|
+
* Use this directive to manage which detail rows are expanded or collapsed.
|
|
13
|
+
* ([see example](slug:master_detail_expanded_state_grid#toc-built-in-directive))
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```typescript
|
|
17
|
+
* <kendo-grid [kendoGridExpandDetailsBy]="expandDetailsKey" [expandedDetailKeys]="expandedDetailKeys"></kendo-grid>
|
|
18
|
+
* ```
|
|
19
|
+
* @remarks
|
|
20
|
+
* Applied to: {@link GridComponent}.
|
|
12
21
|
*/
|
|
13
22
|
export declare class ExpandDetailsDirective implements OnChanges, OnDestroy {
|
|
14
23
|
protected grid: GridComponent;
|
|
15
24
|
/**
|
|
16
|
-
* Fires when the expandedDetailKeys
|
|
25
|
+
* Fires when the `expandedDetailKeys` collection changes.
|
|
17
26
|
*/
|
|
18
27
|
expandedDetailKeysChange: EventEmitter<any[]>;
|
|
19
28
|
/**
|
|
20
|
-
*
|
|
29
|
+
* Sets the item key stored in the `expandedDetailKeys` collection.
|
|
30
|
+
* Accepts a property name or a function that returns a unique key for each data item.
|
|
31
|
+
* ([See example]({% slug master_detail_expanded_state_grid %}#toc-built-in-directive)).
|
|
21
32
|
*/
|
|
22
33
|
get expandDetailsKey(): string | ((dataItem: any) => any);
|
|
23
34
|
set expandDetailsKey(key: string | ((dataItem: any) => any));
|
|
24
35
|
/**
|
|
25
|
-
*
|
|
26
36
|
* @hidden
|
|
27
37
|
* A deprecated alias for setting the `expandDetailsKey` property.
|
|
28
38
|
*/
|
|
29
39
|
get expandDetailBy(): string | ((dataItem: any) => any);
|
|
30
40
|
set expandDetailBy(key: string | ((dataItem: any) => any));
|
|
31
41
|
/**
|
|
32
|
-
*
|
|
42
|
+
* Holds the collection of expanded detail row keys.
|
|
43
|
+
* Set this property to control which detail rows are expanded.
|
|
33
44
|
*/
|
|
34
45
|
expandedDetailKeys: any[];
|
|
35
46
|
/**
|
|
36
|
-
* Specifies if
|
|
37
|
-
* When set to `true
|
|
38
|
-
*
|
|
47
|
+
* Specifies if detail rows are expanded by default.
|
|
48
|
+
* When set to `true`, items in the `expandedDetailKeys` collection are collapsed, and all others are expanded.
|
|
39
49
|
* @default false
|
|
40
50
|
*/
|
|
41
51
|
initiallyExpanded: boolean;
|
|
@@ -7,16 +7,16 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents the column footer cell template of the Grid
|
|
9
9
|
* ([more information and example]({% slug templates_columns_grid %}#toc-footer-template)).
|
|
10
|
-
*
|
|
10
|
+
* Use this directive to customize the table footer cell for a column.
|
|
11
11
|
* To define a footer template, nest an `<ng-template>` tag with the
|
|
12
|
-
* [kendoGridFooterTemplate]({% slug api_grid_footertemplatedirective %}) directive inside the `<kendo-grid-column>` tag.
|
|
12
|
+
* [`kendoGridFooterTemplate`]({% slug api_grid_footertemplatedirective %}) directive inside the `<kendo-grid-column>` tag.
|
|
13
13
|
*
|
|
14
|
-
* The template context is set to the current column
|
|
15
|
-
* * `column`—
|
|
16
|
-
* * `columnIndex`—
|
|
14
|
+
* The template context is set to the current column. The following additional fields are available:
|
|
15
|
+
* * `column`—An instance of the [`ColumnComponent`]({% slug api_grid_columncomponent %}) option.
|
|
16
|
+
* * `columnIndex`—The current column index.
|
|
17
17
|
*
|
|
18
|
-
* For more information
|
|
19
|
-
*
|
|
18
|
+
* For more information about displaying aggregates in the footer of the Grid,
|
|
19
|
+
* see the article on [aggregates]({% slug groupable_grid_with_aggregates %}).
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* ```html
|
|
@@ -7,28 +7,38 @@ import { GridComponent } from '../grid.component';
|
|
|
7
7
|
import { GroupRowArgs } from '../grouping/group-rows-args.interface';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Controls the expanded state of group rows in the Grid.
|
|
11
|
+
* Use this directive to manage which group rows are expanded or collapsed
|
|
11
12
|
* ([see example]({% slug groups_expanded_state_grid %}#toc-built-in-directive)).
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* <kendo-grid [kendoGridExpandGroupBy]="expandGroupBy" [expandedGroupKeys]="expandedGroupKeys"></kendo-grid>
|
|
17
|
+
* ```
|
|
18
|
+
* @remarks
|
|
19
|
+
* Applied to: {@link GridComponent}.
|
|
12
20
|
*/
|
|
13
21
|
export declare class ExpandGroupDirective implements OnDestroy {
|
|
14
22
|
protected grid: GridComponent;
|
|
15
23
|
/**
|
|
16
|
-
* Fires when the expandedGroupKeys
|
|
24
|
+
* Fires when the `expandedGroupKeys` collection changes.
|
|
17
25
|
*/
|
|
18
26
|
expandedGroupKeysChange: EventEmitter<any[]>;
|
|
19
27
|
/**
|
|
20
|
-
*
|
|
28
|
+
* Sets the item format stored in the `expandedGroupKeys` collection.
|
|
29
|
+
* Accepts a property name or a function that returns a unique key for each group
|
|
21
30
|
* ([see example]({% slug groups_expanded_state_grid %}#toc-custom-group-key-format)).
|
|
22
31
|
*/
|
|
23
32
|
get expandGroupBy(): string | ((group: GroupRowArgs) => any);
|
|
24
33
|
set expandGroupBy(key: string | ((group: GroupRowArgs) => any));
|
|
25
34
|
/**
|
|
26
|
-
*
|
|
35
|
+
* Holds the collection of expanded group keys.
|
|
36
|
+
* Set this property to control which group rows are expanded.
|
|
27
37
|
*/
|
|
28
38
|
get expandedGroupKeys(): any[];
|
|
29
39
|
set expandedGroupKeys(expandedGroups: any[]);
|
|
30
40
|
/**
|
|
31
|
-
* Specifies if
|
|
41
|
+
* Specifies if group items are expanded by default.
|
|
32
42
|
* @default false
|
|
33
43
|
*/
|
|
34
44
|
groupsInitiallyExpanded: boolean;
|
|
@@ -7,22 +7,22 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents the column header cell template of the Grid
|
|
9
9
|
* ([more information and example]({% slug templates_columns_grid %}#toc-header-template)).
|
|
10
|
-
*
|
|
10
|
+
* Use this directive to customize the table header cell for a column.
|
|
11
11
|
* To define a header template, nest an `<ng-template>` tag with the
|
|
12
12
|
* `kendoGridHeaderTemplate` directive inside the `<kendo-grid-column>` tag.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* * `column`—
|
|
16
|
-
* * `columnIndex`—
|
|
14
|
+
* The template context is set to the current column. The following additional fields are available:
|
|
15
|
+
* * `column`—An instance of the [`ColumnComponent`]({% slug api_grid_columncomponent %}) option.
|
|
16
|
+
* * `columnIndex`—The current column index.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
* ```
|
|
20
|
-
* <kendo-grid
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* <kendo-grid>
|
|
21
|
+
* <kendo-grid-column field="ProductName" title="Product Name">
|
|
22
|
+
* <ng-template kendoGridHeaderTemplate let-column let-columnIndex="columnIndex">
|
|
23
|
+
* Header for {{ column.field }} (index: {{ columnIndex }})
|
|
24
|
+
* </ng-template>
|
|
25
|
+
* </kendo-grid-column>
|
|
26
26
|
* </kendo-grid>
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
@@ -5,9 +5,20 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* Lets you override the default loading indicator of the Grid.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGridLoadingTemplate` directive inside `<kendo-grid>` to define a loading template. ([See example](slug:loadingtemplate_grid)).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <kendo-grid [data]="gridData" [loading]="true">
|
|
14
|
+
* <ng-template kendoGridLoadingTemplate>
|
|
15
|
+
* <div class="custom-loading-indicator">
|
|
16
|
+
* Loading data, please wait...
|
|
17
|
+
* </div>
|
|
18
|
+
* </ng-template>
|
|
19
|
+
* <kendo-grid-column field="ProductName"></kendo-grid-column>
|
|
20
|
+
* <kendo-grid-column field="UnitPrice"></kendo-grid-column>
|
|
21
|
+
* </kendo-grid>
|
|
11
22
|
*/
|
|
12
23
|
export declare class LoadingTemplateDirective {
|
|
13
24
|
templateRef: TemplateRef<any>;
|
|
@@ -5,16 +5,14 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* To define the no-records template, nest an `<ng-template>` tag with the `kendoGridNoRecordsTemplate`
|
|
11
|
-
* directive inside `<kendo-grid>` [see example](slug:norecordtemplate_grid).
|
|
8
|
+
* Lets you customize the item shown when the Grid has no data.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGridNoRecordsTemplate` directive inside `<kendo-grid>` to define the no-records template. ([See example](slug:norecordtemplate_grid)).
|
|
12
10
|
*
|
|
13
11
|
* @example
|
|
14
12
|
* ```html
|
|
15
13
|
* <kendo-grid [data]="data">
|
|
16
14
|
* <ng-template kendoGridNoRecordsTemplate>
|
|
17
|
-
* There are
|
|
15
|
+
* There are no products. <a href="#" (click)="refresh()">Click here to refresh.</a>
|
|
18
16
|
* </ng-template>
|
|
19
17
|
* <kendo-grid-column field="ProductID"></kendo-grid-column>
|
|
20
18
|
* <kendo-grid-column field="ProductName"></kendo-grid-column>
|
|
@@ -7,8 +7,16 @@ import { ContextService } from '../../common/provider.service';
|
|
|
7
7
|
import { ToolbarPosition } from './toolbar-position';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Adds keyboard navigation support to toolbar elements in the Grid.
|
|
11
|
+
*
|
|
12
|
+
* Apply this directive to toolbar elements that should be focusable and navigable with the keyboard.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <kendo-toolbar>
|
|
17
|
+
* <button kendoGridToolbarFocusable>Button</button>
|
|
18
|
+
* </kendo-toolbar>
|
|
19
|
+
* ```
|
|
12
20
|
*/
|
|
13
21
|
export declare class GridToolbarFocusableDirective {
|
|
14
22
|
private host;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Configures the `position` property for the Grid Toolbar Template. [See example](slug:toolbartemplate_grid#toc-setting-the-toolbar-position).
|
|
7
7
|
*
|
|
8
8
|
* The possible values are:
|
|
9
|
-
* * `top`—
|
|
10
|
-
* * `bottom`—
|
|
11
|
-
* * `both`—
|
|
9
|
+
* * `top`—Shows the Toolbar at the top of the Grid.
|
|
10
|
+
* * `bottom`—Shows the Toolbar at the bottom of the Grid.
|
|
11
|
+
* * `both`—Shows the Toolbar at the top and bottom of the Grid.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```html
|
|
15
|
-
* <kendo-grid
|
|
15
|
+
* <kendo-grid>
|
|
16
16
|
* <ng-template kendoGridToolbarTemplate position="bottom" let-position="position">
|
|
17
17
|
* <button (click)="onClick()">Custom action</button>
|
|
18
18
|
* </ng-template>
|
|
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents the toolbar template of the Grid.
|
|
9
9
|
*
|
|
10
|
-
* The template context
|
|
11
|
-
* - `position`—The position
|
|
10
|
+
* The template context provides:
|
|
11
|
+
* - `position`—The position where the toolbar template renders. Possible values: `top`, `bottom`, and `both`.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```html
|
|
@@ -25,7 +25,7 @@ export declare class ToolbarTemplateDirective {
|
|
|
25
25
|
templateRef: TemplateRef<any>;
|
|
26
26
|
_position: 'top' | 'bottom' | 'both';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Sets the position of the toolbar. ([See example]({% slug toolbartemplate_grid %}#toc-setting-the-toolbar-position)).
|
|
29
29
|
*
|
|
30
30
|
* @default 'top'
|
|
31
31
|
*/
|
|
@@ -11,9 +11,8 @@ import { ColumnInfoService } from '../../../common/column-info.service';
|
|
|
11
11
|
import { ToolbarToolBase } from '../../../common/toolbar-tool-base.directive';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
|
-
* Represents
|
|
15
|
-
*
|
|
16
|
-
* ToolbarComponent used in the Grid.
|
|
14
|
+
* Represents a column chooser toolbar tool of the Grid.
|
|
15
|
+
* Use this directive on any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
17
16
|
*
|
|
18
17
|
* @example
|
|
19
18
|
* ```html-no-run
|
|
@@ -23,6 +22,8 @@ import * as i0 from "@angular/core";
|
|
|
23
22
|
* </kendo-toolbar>
|
|
24
23
|
* </kendo-grid>
|
|
25
24
|
* ```
|
|
25
|
+
* @remarks
|
|
26
|
+
* Applied to: {@link ToolBarButtonComponent}.
|
|
26
27
|
*/
|
|
27
28
|
export declare class ColumnChooserToolbarDirective extends ToolbarToolBase implements OnInit, AfterViewInit, OnDestroy {
|
|
28
29
|
private renderer;
|
|
@@ -34,13 +35,13 @@ export declare class ColumnChooserToolbarDirective extends ToolbarToolBase imple
|
|
|
34
35
|
private adaptiveGridService;
|
|
35
36
|
private columnInfoService;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* When `true`, changes to column visibility apply immediately.
|
|
38
39
|
*
|
|
39
40
|
* @default false
|
|
40
41
|
*/
|
|
41
42
|
autoSync: boolean;
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* When `true`, enables the hiding of all columns.
|
|
44
45
|
*
|
|
45
46
|
* @default true
|
|
46
47
|
*/
|
|
@@ -13,20 +13,20 @@ import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the toolbar tool for filtering columns of the Grid.
|
|
16
|
-
*
|
|
17
|
-
* ToolbarComponent used in the Grid.
|
|
16
|
+
* Use this directive on any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
18
17
|
*
|
|
19
|
-
* When
|
|
20
|
-
* filter event is triggered.
|
|
18
|
+
* When you click the toolbar button with this directive, the `filter` event is triggered.
|
|
21
19
|
*
|
|
22
20
|
* @example
|
|
23
|
-
* ```html
|
|
21
|
+
* ```html
|
|
24
22
|
* <kendo-grid>
|
|
25
23
|
* <kendo-toolbar>
|
|
26
24
|
* <kendo-toolbar-button text="Filter" kendoGridFilterTool></kendo-toolbar-button>
|
|
27
25
|
* </kendo-toolbar>
|
|
28
26
|
* </kendo-grid>
|
|
29
27
|
* ```
|
|
28
|
+
* @remarks
|
|
29
|
+
* Applied to: {@link ToolBarButtonComponent}.
|
|
30
30
|
*/
|
|
31
31
|
export declare class FilterCommandToolbarDirective implements AfterViewInit, OnDestroy {
|
|
32
32
|
private host;
|
|
@@ -10,17 +10,19 @@ import { AdaptiveGridService } from '../../../common/adaptiveness.service';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* Represents the toolbar tool for grouping columns of the Grid.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* Use this directive on any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
14
|
+
* When you click the toolbar button with this directive, the `group` event is triggered.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
|
-
* ```html
|
|
17
|
+
* ```html
|
|
18
18
|
* <kendo-grid>
|
|
19
19
|
* <kendo-toolbar>
|
|
20
20
|
* <kendo-toolbar-button text="Group" kendoGridGroupTool></kendo-toolbar-button>
|
|
21
21
|
* </kendo-toolbar>
|
|
22
22
|
* </kendo-grid>
|
|
23
23
|
* ```
|
|
24
|
+
* @remarks
|
|
25
|
+
* Applied to: {@link ToolBarButtonComponent}.
|
|
24
26
|
*/
|
|
25
27
|
export declare class GroupCommandToolbarDirective implements AfterViewInit, OnDestroy {
|
|
26
28
|
private host;
|
|
@@ -13,11 +13,9 @@ import { SortDescriptor } from '@progress/kendo-data-query';
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the toolbar tool for sorting columns of the Grid.
|
|
16
|
-
*
|
|
17
|
-
* ToolbarComponent used in the Grid.
|
|
16
|
+
* Use this directive on any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
18
17
|
*
|
|
19
|
-
* When
|
|
20
|
-
* sort event is triggered.
|
|
18
|
+
* When you click the toolbar button with this directive, the `sort` event is triggered.
|
|
21
19
|
*
|
|
22
20
|
* @example
|
|
23
21
|
* ```html-no-run
|
|
@@ -27,6 +25,8 @@ import * as i0 from "@angular/core";
|
|
|
27
25
|
* </kendo-toolbar>
|
|
28
26
|
* </kendo-grid>
|
|
29
27
|
* ```
|
|
28
|
+
* @remarks
|
|
29
|
+
* Applied to: {@link ToolBarButtonComponent}.
|
|
30
30
|
*/
|
|
31
31
|
export declare class SortCommandToolbarDirective implements AfterViewInit, OnDestroy {
|
|
32
32
|
private host;
|
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* tag with the `kendoGridRowDragHandleTemplate` directive inside the `<kendo-grid-rowreorder-column>` tag.
|
|
8
|
+
* The directive allows customizing the drag handle cell in the Grid row reorder column.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGridRowDragHandleTemplate` directive inside the `<kendo-grid-rowreorder-column>` tag to set the cell template.
|
|
11
10
|
*
|
|
12
|
-
* The template context is
|
|
13
|
-
* - `columnIndex`—The current column index. Use it as
|
|
14
|
-
* - `rowIndex`—The
|
|
11
|
+
* The template context is the current data item. You also get access to the following additional fields:
|
|
12
|
+
* - `columnIndex`—The current column index. Use it as a template variable with `let-columnIndex="columnIndex"`.
|
|
13
|
+
* - `rowIndex`—The data row index. Use it as a template variable with `let-rowIndex="rowIndex"`.
|
|
15
14
|
*
|
|
16
15
|
* @example
|
|
17
16
|
* ```html
|
|
@@ -5,12 +5,10 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* tag with the `kendoGridRowDragHintTemplate` directive inside the `<kendo-grid-rowreorder-column>` tag.
|
|
8
|
+
* The directive allows customizing the drag hint in the Grid row reorder column.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGridRowDragHintTemplate` directive inside the `<kendo-grid-rowreorder-column>` tag to set the hint template.
|
|
11
10
|
*
|
|
12
|
-
* The template context is
|
|
13
|
-
* The provided data row index is passed as an additional field. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
|
11
|
+
* The template context is the current data item. You also get the data row index as an extra field. Use it as a template variable with `let-rowIndex="rowIndex"`.
|
|
14
12
|
*
|
|
15
13
|
* @example
|
|
16
14
|
* ```html
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export interface RowReorderEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Represents the dragged rows and their data.
|
|
12
12
|
*/
|
|
13
13
|
draggedRows: DragRow[];
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Represents the row where dragged rows are dropped.
|
|
16
16
|
*/
|
|
17
17
|
dropTargetRow?: DragRow;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Represents the exact position of the dragged row compared to the drop target row.
|
|
20
20
|
*/
|
|
21
21
|
dropPosition: DropPosition;
|
|
22
22
|
}
|
|
@@ -25,24 +25,24 @@ export interface RowReorderEvent {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface DragRow {
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Represents the data item for the row.
|
|
29
29
|
*/
|
|
30
30
|
dataItem: any;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Represents the index of the data row.
|
|
33
33
|
*/
|
|
34
34
|
rowIndex: number;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Represents the HTML element for the row.
|
|
37
37
|
*/
|
|
38
38
|
element: HTMLElement;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Represents the exact dragged row
|
|
41
|
+
* Represents the exact position of the dragged row compared to the drop target row.
|
|
42
42
|
*
|
|
43
43
|
* The possible values are:
|
|
44
|
-
* * `before`—The row
|
|
45
|
-
* * `after`—The row
|
|
46
|
-
* * `forbidden`—
|
|
44
|
+
* * `before`—The row appears before the target row.
|
|
45
|
+
* * `after`—The row appears after the target row.
|
|
46
|
+
* * `forbidden`—You cannot drop the row here.
|
|
47
47
|
*/
|
|
48
48
|
export type DropPosition = 'before' | 'after' | 'forbidden';
|
|
@@ -4,14 +4,14 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '19.1.2-develop.
|
|
8
|
-
'@progress/kendo-angular-navigation': '19.1.2-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '19.1.2-develop.5',
|
|
8
|
+
'@progress/kendo-angular-navigation': '19.1.2-develop.5',
|
|
9
9
|
// peer dependency of kendo-angular-inputs
|
|
10
|
-
'@progress/kendo-angular-dialog': '19.1.2-develop.
|
|
10
|
+
'@progress/kendo-angular-dialog': '19.1.2-develop.5',
|
|
11
11
|
// peer dependency of kendo-angular-icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
13
13
|
// peer dependency of kendo-angular-layout
|
|
14
|
-
'@progress/kendo-angular-progressbar': '19.1.2-develop.
|
|
14
|
+
'@progress/kendo-angular-progressbar': '19.1.2-develop.5'
|
|
15
15
|
} });
|
|
16
16
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
17
17
|
}
|
|
@@ -3,35 +3,35 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Provides the arguments for the [`contentScroll`](slug:api_grid_gridcomponent#toc-contentscroll) event.
|
|
7
7
|
*/
|
|
8
8
|
export interface ContentScrollEvent {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Represents the horizontal scroll position.
|
|
11
11
|
*/
|
|
12
12
|
scrollLeft: number;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Represents the vertical scroll position.
|
|
15
15
|
*/
|
|
16
16
|
scrollTop: number;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
* Available only if the grid
|
|
18
|
+
* Represents the index of the first visible row in the viewport.
|
|
19
|
+
* Available only if the grid uses virtual scrolling.
|
|
20
20
|
*/
|
|
21
21
|
startRow: number;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
* Available only if the grid
|
|
23
|
+
* Represents the index of the last visible row in the viewport.
|
|
24
|
+
* Available only if the grid uses virtual scrolling.
|
|
25
25
|
*/
|
|
26
26
|
endRow: number;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
* Available only if the `virtualColumns` option is
|
|
28
|
+
* Represents the index of the first visible column in the viewport.
|
|
29
|
+
* Available only if the `virtualColumns` option is true.
|
|
30
30
|
*/
|
|
31
31
|
startColumn: number;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* Available only if the `virtualColumns` option is
|
|
33
|
+
* Represents the index of the last visible column in the viewport.
|
|
34
|
+
* Available only if the `virtualColumns` option is true.
|
|
35
35
|
*/
|
|
36
36
|
endColumn: number;
|
|
37
37
|
}
|