@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
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* The supported values are:
|
|
9
|
-
* * `none`—(default)
|
|
10
|
-
* * `auto`
|
|
6
|
+
* Sets the adaptive rendering mode of the component.
|
|
11
7
|
*/
|
|
12
8
|
export type AdaptiveMode = 'none' | 'auto';
|
|
@@ -27,17 +27,17 @@ export interface SelectionAggregates {
|
|
|
27
27
|
*/
|
|
28
28
|
average?: number;
|
|
29
29
|
/**
|
|
30
|
-
* The total number of
|
|
30
|
+
* The total number of selected cells.
|
|
31
31
|
*/
|
|
32
32
|
count?: number;
|
|
33
33
|
/**
|
|
34
|
-
* The
|
|
35
|
-
*
|
|
34
|
+
* The number of selected cells bound to a `true` boolean value.
|
|
35
|
+
* Selected cells with other data types do not affect the value.
|
|
36
36
|
*/
|
|
37
37
|
isTrue?: number;
|
|
38
38
|
/**
|
|
39
|
-
* The
|
|
40
|
-
*
|
|
39
|
+
* The number of selected cells bound to a `false` boolean value.
|
|
40
|
+
* Selected cells with other data types do not affect the value.
|
|
41
41
|
*/
|
|
42
42
|
isFalse?: number;
|
|
43
43
|
/**
|
|
@@ -53,6 +53,6 @@ export interface SelectionAggregates {
|
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Represents the available selection aggregate calculations.
|
|
56
|
-
* Use
|
|
56
|
+
* Use with [`cellAggregates`]({% slug api_grid_selectablesettings %}) to control which aggregates the Grid calculates.
|
|
57
57
|
*/
|
|
58
58
|
export type SelectionAggregate = 'sum' | 'min' | 'max' | 'average' | 'count' | 'earliest' | 'latest' | 'isTrue' | 'isFalse';
|
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents the status bar template of the Grid.
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* Represents the status bar template of the Grid. Use this directive to customize how the Grid displays aggregates in the status bar.
|
|
9
|
+
*
|
|
10
|
+
* The template context provides:
|
|
11
|
+
* - `aggregates`—The [`SelectionAggregates`]({% slug api_grid_selectionaggregates %}) object with all calculated aggregates.
|
|
12
|
+
*
|
|
13
|
+
* Use the Angular [`ngFor`](link:site.data.urls.angular['ngfor']) structural directive and the [`KeyValuePipe`](https://angular.io/api/common/KeyValuePipe)
|
|
12
14
|
* to loop through the aggregates as key-value pairs.
|
|
13
15
|
*/
|
|
14
16
|
export declare class StatusBarTemplateDirective {
|
|
@@ -11,8 +11,8 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* Represents the column-menu item for resizing all columns to the minimum possible width so that they fit the widest header or cell content without wrapping.
|
|
12
12
|
* [See example](slug:columnmenu_grid#toc-autosize-all-columns-item).
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* To register
|
|
14
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* To register it as a column menu item, set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) passed by
|
|
16
16
|
* the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
@@ -24,6 +24,15 @@ import * as i0 from "@angular/core";
|
|
|
24
24
|
* </ng-template>
|
|
25
25
|
* </kendo-grid>
|
|
26
26
|
* ```
|
|
27
|
+
* @example
|
|
28
|
+
* ```html
|
|
29
|
+
* <kendo-grid-column field="ProductName">
|
|
30
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
31
|
+
* <kendo-grid-columnmenu-autosize-all-columns [service]="service">
|
|
32
|
+
* </kendo-grid-columnmenu-autosize-all-columns>
|
|
33
|
+
* </ng-template>
|
|
34
|
+
* </kendo-grid-column>
|
|
35
|
+
* ```
|
|
27
36
|
*/
|
|
28
37
|
export declare class ColumnMenuAutoSizeAllColumnsComponent extends ColumnMenuItemBase implements OnInit {
|
|
29
38
|
ctx: ContextService;
|
|
@@ -10,11 +10,10 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the column-menu item for resizing the specified column to the minimum possible width so that it fits the header or cell content without wrapping.
|
|
12
12
|
* [See example](slug:columnmenu_grid#toc-autosize-column-item).
|
|
13
|
-
* The component can be placed inside a [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
-
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
15
13
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* Set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) and `column` passed by
|
|
16
|
+
* the template to the `service` and `column` inputs of the `kendo-grid-columnmenu-autosize-column` component.
|
|
18
17
|
*
|
|
19
18
|
* @example
|
|
20
19
|
* ```html
|
|
@@ -25,18 +24,27 @@ import * as i0 from "@angular/core";
|
|
|
25
24
|
* </ng-template>
|
|
26
25
|
* </kendo-grid>
|
|
27
26
|
* ```
|
|
27
|
+
* @example
|
|
28
|
+
* ```html
|
|
29
|
+
* <kendo-grid-column field="ProductName">
|
|
30
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
31
|
+
* <kendo-grid-columnmenu-autosize-column [column]="column" [service]="service">
|
|
32
|
+
* </kendo-grid-columnmenu-autosize-column>
|
|
33
|
+
* </ng-template>
|
|
34
|
+
* </kendo-grid-column>
|
|
35
|
+
* ```
|
|
28
36
|
*/
|
|
29
37
|
export declare class ColumnMenuAutoSizeColumnComponent extends ColumnMenuItemBase implements OnInit {
|
|
30
38
|
ctx: ContextService;
|
|
31
39
|
/**
|
|
32
|
-
*
|
|
40
|
+
* Specifies the Grid column instance to resize with the auto size column option.
|
|
33
41
|
*/
|
|
34
42
|
column: any;
|
|
35
43
|
maxWidthIcon: SVGIcon;
|
|
36
44
|
constructor(ctx: ContextService);
|
|
37
45
|
ngOnInit(): void;
|
|
38
46
|
/**
|
|
39
|
-
* Resizes
|
|
47
|
+
* Resizes the specified column to the minimum possible width so that it fits the widest header or cell content without wrapping.
|
|
40
48
|
*/
|
|
41
49
|
autoSizeColumn(): void;
|
|
42
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuAutoSizeColumnComponent, never>;
|
|
@@ -11,9 +11,9 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents the column-menu item for selecting columns in the Grid. [See example](slug:columnmenu_grid#toc-column-chooser-item).
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* To register
|
|
16
|
-
* the template to the service input of the `kendo-grid-columnmenu-chooser` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
14
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* To register it as a column menu item, set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) passed by
|
|
16
|
+
* the template to the `service` input of the `kendo-grid-columnmenu-chooser` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```html
|
|
@@ -23,6 +23,14 @@ import * as i0 from "@angular/core";
|
|
|
23
23
|
* </ng-template>
|
|
24
24
|
* </kendo-grid>
|
|
25
25
|
* ```
|
|
26
|
+
* @example
|
|
27
|
+
* ```html
|
|
28
|
+
* <kendo-grid-column field="ProductName">
|
|
29
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
30
|
+
* <kendo-grid-columnmenu-chooser [service]="service"></kendo-grid-columnmenu-chooser>
|
|
31
|
+
* </ng-template>
|
|
32
|
+
* </kendo-grid-column>
|
|
33
|
+
* ```
|
|
26
34
|
*/
|
|
27
35
|
export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
28
36
|
ctx: ContextService;
|
|
@@ -30,11 +38,11 @@ export declare class ColumnMenuChooserComponent extends ColumnMenuItemBase {
|
|
|
30
38
|
private changeDetector;
|
|
31
39
|
private hostElement;
|
|
32
40
|
/**
|
|
33
|
-
* Fires when the content
|
|
41
|
+
* Fires when the content expands.
|
|
34
42
|
*/
|
|
35
43
|
expand: EventEmitter<any>;
|
|
36
44
|
/**
|
|
37
|
-
* Fires when the content
|
|
45
|
+
* Fires when the content collapses.
|
|
38
46
|
*/
|
|
39
47
|
collapse: EventEmitter<any>;
|
|
40
48
|
/**
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Configures if a column menu item is initially expanded.
|
|
7
|
+
* Use with the `columnChooser`, `filter`, and `setColumnPosition` options in [`ColumnMenuSettings`]({% slug api_grid_columnmenusettings %}).
|
|
8
8
|
*/
|
|
9
9
|
export interface ExpandableColumnMenuItem {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Determines if the expandable column menu item is initially expanded.
|
|
12
12
|
*/
|
|
13
13
|
expanded: boolean;
|
|
14
14
|
}
|
|
@@ -10,9 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the column-menu item for editing column filters in the Grid. [See example](slug:columnmenu_grid#toc-filter-item).
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that
|
|
15
|
-
* the template to the service input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
13
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) that the template passes to the `service` input of the `kendo-grid-columnmenu-filter` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
@@ -23,16 +22,25 @@ import * as i0 from "@angular/core";
|
|
|
23
22
|
* </ng-template>
|
|
24
23
|
* </kendo-grid>
|
|
25
24
|
* ```
|
|
25
|
+
* @example
|
|
26
|
+
* ```html
|
|
27
|
+
* <kendo-grid-column field="ProductName">
|
|
28
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
29
|
+
* <kendo-grid-columnmenu-filter [service]="service">
|
|
30
|
+
* </kendo-grid-columnmenu-filter>
|
|
31
|
+
* </ng-template>
|
|
32
|
+
* </kendo-grid-column>
|
|
33
|
+
* ```
|
|
26
34
|
*/
|
|
27
35
|
export declare class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
28
36
|
ctx: ContextService;
|
|
29
37
|
private hostElement;
|
|
30
38
|
/**
|
|
31
|
-
*
|
|
39
|
+
* Emits when the content expands.
|
|
32
40
|
*/
|
|
33
41
|
expand: EventEmitter<any>;
|
|
34
42
|
/**
|
|
35
|
-
*
|
|
43
|
+
* Emits when the content collapses.
|
|
36
44
|
*/
|
|
37
45
|
collapse: EventEmitter<any>;
|
|
38
46
|
/**
|
|
@@ -41,13 +49,18 @@ export declare class ColumnMenuFilterComponent extends ColumnMenuItemBase {
|
|
|
41
49
|
*/
|
|
42
50
|
expanded: boolean;
|
|
43
51
|
/**
|
|
52
|
+
* Specifies if this is the last item in the menu.
|
|
44
53
|
* @hidden
|
|
45
54
|
*/
|
|
46
55
|
isLast: boolean;
|
|
47
56
|
/**
|
|
57
|
+
* Sets the CSS class for the actions container.
|
|
48
58
|
* @hidden
|
|
49
59
|
*/
|
|
50
60
|
actionsClass: string;
|
|
61
|
+
/**
|
|
62
|
+
* Defines the SVG icon for the filter.
|
|
63
|
+
*/
|
|
51
64
|
filterIcon: SVGIcon;
|
|
52
65
|
constructor(ctx: ContextService, hostElement: ElementRef);
|
|
53
66
|
/**
|
|
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class ColumnMenuItemBase implements OnInit {
|
|
12
12
|
/**
|
|
13
|
-
* Represents the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) class.
|
|
14
|
-
*
|
|
13
|
+
* Represents the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) class.
|
|
14
|
+
* This input is required.
|
|
15
15
|
*/
|
|
16
16
|
service: ColumnMenuService;
|
|
17
17
|
hostClass: boolean;
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents the content template of the
|
|
9
9
|
* [`ColumnMenuItemComponent`]({% slug api_grid_columnmenuitemcomponent %}) component.
|
|
10
|
-
*
|
|
10
|
+
* Use this directive to specify the content of a column menu item.
|
|
11
11
|
* To define the content template, nest an `<ng-template>` tag with the
|
|
12
12
|
* `kendoGridColumnMenuItemContentTemplate` directive inside a `<kendo-grid-columnmenu-item>`.
|
|
13
13
|
*
|
|
@@ -15,13 +15,13 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
* ```html
|
|
16
16
|
* <kendo-grid [data]="data" [columnMenu]="true" ...>
|
|
17
17
|
* <ng-template kendoGridColumnMenuTemplate>
|
|
18
|
-
* <kendo-grid-columnmenu-item text="
|
|
18
|
+
* <kendo-grid-columnmenu-item text="Text" [expanded]="true">
|
|
19
19
|
* <ng-template kendoGridColumnMenuItemContentTemplate>
|
|
20
|
-
*
|
|
20
|
+
* Content
|
|
21
21
|
* </ng-template>
|
|
22
22
|
* </kendo-grid-columnmenu-item>
|
|
23
23
|
* </ng-template>
|
|
24
|
-
* <kendo-grid-column field="
|
|
24
|
+
* <kendo-grid-column field="ID"></kendo-grid-column>
|
|
25
25
|
* ...
|
|
26
26
|
* </kendo-grid>
|
|
27
27
|
* ```
|
|
@@ -12,8 +12,8 @@ import { ColumnComponent } from '../columns/column.component';
|
|
|
12
12
|
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
15
|
-
* Represents an item that can
|
|
16
|
-
* [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* Represents an item that you can place inside a
|
|
16
|
+
* [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```html
|
|
@@ -23,6 +23,14 @@ import * as i0 from "@angular/core";
|
|
|
23
23
|
* </ng-template>
|
|
24
24
|
* </kendo-grid>
|
|
25
25
|
* ```
|
|
26
|
+
* @example
|
|
27
|
+
* ```html
|
|
28
|
+
* <kendo-grid-column field="ProductName">
|
|
29
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
30
|
+
* kendo-grid-columnmenu-item text="Fit column"></kendo-grid-columnmenu-item>
|
|
31
|
+
* </ng-template>
|
|
32
|
+
* </kendo-grid-column>
|
|
33
|
+
* ```
|
|
26
34
|
*/
|
|
27
35
|
export declare class ColumnMenuItemComponent implements AfterViewInit, OnChanges {
|
|
28
36
|
private ngZone;
|
|
@@ -42,20 +50,19 @@ export declare class ColumnMenuItemComponent implements AfterViewInit, OnChanges
|
|
|
42
50
|
*/
|
|
43
51
|
itemClick: EventEmitter<any>;
|
|
44
52
|
/**
|
|
45
|
-
* Fires when the content
|
|
53
|
+
* Fires when the content expands.
|
|
46
54
|
*/
|
|
47
55
|
expand: EventEmitter<any>;
|
|
48
56
|
/**
|
|
49
|
-
* Fires when the content
|
|
57
|
+
* Fires when the content collapses.
|
|
50
58
|
*/
|
|
51
59
|
collapse: EventEmitter<any>;
|
|
52
60
|
/**
|
|
53
|
-
* Specifies the name of the
|
|
54
|
-
* that will be rendered within the item.
|
|
61
|
+
* Specifies the name of the font icon to render within the item.
|
|
55
62
|
*/
|
|
56
63
|
icon: string;
|
|
57
64
|
/**
|
|
58
|
-
*
|
|
65
|
+
* Specifies the SVG icon to render within the item.
|
|
59
66
|
*/
|
|
60
67
|
svgIcon: SVGIcon;
|
|
61
68
|
/**
|
|
@@ -5,6 +5,28 @@
|
|
|
5
5
|
import { ChangeDetectorRef, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
6
|
import { ContextService } from '../common/provider.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Represents a directive that manages keyboard navigation for a column menu item. [See example](slug:columnmenu_grid#customizing-the-content).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service" let-column="column">
|
|
14
|
+
* <kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" [service]="service"></kendo-grid-columnmenu-sort>
|
|
15
|
+
* </ng-template>
|
|
16
|
+
* ```
|
|
17
|
+
* @remarks
|
|
18
|
+
* Applied to:
|
|
19
|
+
* {@link ColumnMenuChooserComponent},
|
|
20
|
+
* {@link ColumnMenuFilterComponent},
|
|
21
|
+
* {@link ColumnMenuSortComponent},
|
|
22
|
+
* {@link ColumnMenuLockComponent},
|
|
23
|
+
* {@link ColumnMenuStickyComponent},
|
|
24
|
+
* {@link ColumnMenuComponent},
|
|
25
|
+
* {@link ColumnMenuItemComponent},
|
|
26
|
+
* {@link ColumnMenuPositionComponent},
|
|
27
|
+
* {@link ColumnMenuAutoSizeAllColumnsComponent},
|
|
28
|
+
* {@link ColumnMenuAutoSizeColumnComponent}.
|
|
29
|
+
*/
|
|
8
30
|
export declare class ColumnMenuItemDirective {
|
|
9
31
|
hostElement: ElementRef;
|
|
10
32
|
private renderer;
|
|
@@ -12,10 +34,16 @@ export declare class ColumnMenuItemDirective {
|
|
|
12
34
|
private cdr;
|
|
13
35
|
private ctx;
|
|
14
36
|
/**
|
|
15
|
-
*
|
|
37
|
+
* Reference to the Grid column menu item. Required when you want to include the item in the built-in keyboard navigation.
|
|
16
38
|
*/
|
|
17
39
|
menuItemComponent: any;
|
|
40
|
+
/**
|
|
41
|
+
* Holds the first focusable element.
|
|
42
|
+
*/
|
|
18
43
|
firstFocusableElement: HTMLElement;
|
|
44
|
+
/**
|
|
45
|
+
* Holds the last focusable element.
|
|
46
|
+
*/
|
|
19
47
|
lastFocusableElement: HTMLElement;
|
|
20
48
|
/**
|
|
21
49
|
* @hidden
|
|
@@ -11,9 +11,8 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
/**
|
|
12
12
|
* Represents the column-menu item for locking and unlocking columns in the Grid. [See example](slug:columnmenu_grid#toc-lock-and-unlock-items).
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that
|
|
16
|
-
* the template to the service input of the `kendo-grid-columnmenu-lock` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
14
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
15
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) that the template passes to the `service` input of the `kendo-grid-columnmenu-lock` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
17
16
|
*
|
|
18
17
|
* @example
|
|
19
18
|
* ```html
|
|
@@ -24,6 +23,15 @@ import * as i0 from "@angular/core";
|
|
|
24
23
|
* </ng-template>
|
|
25
24
|
* </kendo-grid>
|
|
26
25
|
* ```
|
|
26
|
+
* @example
|
|
27
|
+
* ```html
|
|
28
|
+
* <kendo-grid-column field="ProductName">
|
|
29
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
30
|
+
* <kendo-grid-columnmenu-lock [service]="service">
|
|
31
|
+
* </kendo-grid-columnmenu-lock>
|
|
32
|
+
* </ng-template>
|
|
33
|
+
* </kendo-grid-column>
|
|
34
|
+
* ```
|
|
27
35
|
*/
|
|
28
36
|
export declare class ColumnMenuLockComponent extends ColumnMenuItemBase {
|
|
29
37
|
private ctx;
|
|
@@ -8,11 +8,10 @@ import { ContextService } from '../common/provider.service';
|
|
|
8
8
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* Represents the column-menu item
|
|
11
|
+
* Represents the column-menu item that combines lock and sticky column functionalities.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* To register the component as a known column menu item, set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that
|
|
15
|
-
* the template to the service input of the `kendo-grid-columnmenu-position` component. [See example](slug:columnmenu_grid#toc-set-column-position-item).
|
|
13
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
14
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) that the template passes to the `service` input of the `kendo-grid-columnmenu-position` component. [See example](slug:columnmenu_grid#toc-set-column-position-item).
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
17
|
* ```html
|
|
@@ -23,16 +22,25 @@ import * as i0 from "@angular/core";
|
|
|
23
22
|
* </ng-template>
|
|
24
23
|
* </kendo-grid>
|
|
25
24
|
* ```
|
|
25
|
+
* @example
|
|
26
|
+
* ```html
|
|
27
|
+
* <kendo-grid-column field="ProductName">
|
|
28
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
29
|
+
* <kendo-grid-columnmenu-position [service]="service" [showLock]="true" [showStick]="true">
|
|
30
|
+
* </kendo-grid-columnmenu-position>
|
|
31
|
+
* </ng-template>
|
|
32
|
+
* </kendo-grid-column>
|
|
33
|
+
* ```
|
|
26
34
|
*/
|
|
27
35
|
export declare class ColumnMenuPositionComponent extends ColumnMenuItemBase {
|
|
28
36
|
ctx: ContextService;
|
|
29
37
|
private hostElement;
|
|
30
38
|
/**
|
|
31
|
-
*
|
|
39
|
+
* Emits when the content expands.
|
|
32
40
|
*/
|
|
33
41
|
expand: EventEmitter<any>;
|
|
34
42
|
/**
|
|
35
|
-
*
|
|
43
|
+
* Emits when the content collapses.
|
|
36
44
|
*/
|
|
37
45
|
collapse: EventEmitter<any>;
|
|
38
46
|
/**
|
|
@@ -41,11 +49,11 @@ export declare class ColumnMenuPositionComponent extends ColumnMenuItemBase {
|
|
|
41
49
|
*/
|
|
42
50
|
expanded: boolean;
|
|
43
51
|
/**
|
|
44
|
-
* Specifies if the lock column item is
|
|
52
|
+
* Specifies if the lock column item is shown.
|
|
45
53
|
*/
|
|
46
54
|
showLock: boolean;
|
|
47
55
|
/**
|
|
48
|
-
* Specifies if the stick column item is
|
|
56
|
+
* Specifies if the stick column item is shown.
|
|
49
57
|
*/
|
|
50
58
|
showStick: boolean;
|
|
51
59
|
/**
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ExpandableColumnMenuItem } from "./column-menu-expandable-item.interface";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Represents the settings for the column menu in the Grid component.
|
|
8
|
+
*
|
|
9
|
+
* Use this interface to configure the column menu options.
|
|
8
10
|
*
|
|
9
11
|
* @example
|
|
10
12
|
* ```html
|
|
@@ -15,7 +17,6 @@ import { ExpandableColumnMenuItem } from "./column-menu-expandable-item.interfac
|
|
|
15
17
|
export interface ColumnMenuSettings {
|
|
16
18
|
/**
|
|
17
19
|
* Specifies the interface of the column menu content.
|
|
18
|
-
* @default 'list'
|
|
19
20
|
*/
|
|
20
21
|
view?: 'list' | 'tabbed';
|
|
21
22
|
/**
|
|
@@ -29,7 +30,7 @@ export interface ColumnMenuSettings {
|
|
|
29
30
|
*/
|
|
30
31
|
filter?: boolean | ExpandableColumnMenuItem;
|
|
31
32
|
/**
|
|
32
|
-
* Specifies if the item for column selection
|
|
33
|
+
* Specifies if the item for column selection appears in the column menu.
|
|
33
34
|
*/
|
|
34
35
|
columnChooser?: boolean | ExpandableColumnMenuItem;
|
|
35
36
|
/**
|
|
@@ -43,7 +44,7 @@ export interface ColumnMenuSettings {
|
|
|
43
44
|
*/
|
|
44
45
|
stick?: boolean;
|
|
45
46
|
/**
|
|
46
|
-
* Specifies whether the stick and lock items
|
|
47
|
+
* Specifies whether the stick and lock items appear in an expandable sub-menu or as standalone root-level menu items.
|
|
47
48
|
*/
|
|
48
49
|
setColumnPosition?: boolean | ExpandableColumnMenuItem;
|
|
49
50
|
/**
|
|
@@ -10,24 +10,26 @@ import { ContextService } from '../common/provider.service';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* Represents the column-menu item for sorting Grid columns.
|
|
13
|
-
* [See example](slug:columnmenu_grid#toc-sort-item).
|
|
14
13
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* the template to the service input of the `kendo-grid-columnmenu-sort` component. [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
18
|
-
*
|
|
19
|
-
* You have to set the [ColumnMenuService]({% slug api_grid_columnmenuservice %}) that is passed by
|
|
20
|
-
* the template to the service input of the `kendo-grid-columnmenu-sort` component.
|
|
14
|
+
* Provides sorting options (ascending and descending) for a specific column in the Grid.
|
|
15
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive and pass the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) to the `service` input of the `kendo-grid-columnmenu-sort` component.
|
|
21
16
|
*
|
|
22
17
|
* @example
|
|
23
18
|
* ```html
|
|
24
19
|
* <kendo-grid [kendoGridBinding]="data" [sortable]="true" [columnMenu]="true">
|
|
25
20
|
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
26
|
-
* <kendo-grid-columnmenu-sort [service]="service">
|
|
27
|
-
* </kendo-grid-columnmenu-sort>
|
|
21
|
+
* <kendo-grid-columnmenu-sort [service]="service"></kendo-grid-columnmenu-sort>
|
|
28
22
|
* </ng-template>
|
|
29
23
|
* </kendo-grid>
|
|
30
24
|
* ```
|
|
25
|
+
* * @example
|
|
26
|
+
* ```html
|
|
27
|
+
* <kendo-grid-column field="ProductName">
|
|
28
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
29
|
+
* <kendo-grid-columnmenu-sort [service]="service"></kendo-grid-columnmenu-sort>
|
|
30
|
+
* </ng-template>
|
|
31
|
+
* </kendo-grid-column>
|
|
32
|
+
* ```
|
|
31
33
|
*/
|
|
32
34
|
export declare class ColumnMenuSortComponent extends ColumnMenuItemBase {
|
|
33
35
|
ctx: ContextService;
|
|
@@ -9,12 +9,12 @@ import { ContextService } from '../common/provider.service';
|
|
|
9
9
|
import { ColumnMenuItemBase } from './column-menu-item-base';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
* Represents
|
|
12
|
+
* Represents a column-menu item for sticking or unsticking columns in the Grid.
|
|
13
13
|
* [See example](slug:columnmenu_grid#toc-stick-and-unstick-items).
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
* To register the component as a
|
|
17
|
-
*
|
|
15
|
+
* Place this component inside a [`ColumnMenuTemplate`]({% slug api_grid_columnmenutemplatedirective %}) directive.
|
|
16
|
+
* To register the component as a column menu item, set the [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}) from the template to the `service` input of the `kendo-grid-columnmenu-stick` component.
|
|
17
|
+
* [See example](slug:columnmenu_grid#toc-customizing-the-content).
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* ```html
|
|
@@ -24,7 +24,15 @@ import * as i0 from "@angular/core";
|
|
|
24
24
|
* </kendo-grid-columnmenu-stick>
|
|
25
25
|
* </ng-template>
|
|
26
26
|
* </kendo-grid>
|
|
27
|
-
*
|
|
27
|
+
* ```
|
|
28
|
+
* @example
|
|
29
|
+
* ```html
|
|
30
|
+
* <kendo-grid-column field="ProductName">
|
|
31
|
+
* <ng-template kendoGridColumnMenuTemplate let-service="service">
|
|
32
|
+
* <kendo-grid-columnmenu-stick [service]="service">
|
|
33
|
+
* </kendo-grid-columnmenu-stick>
|
|
34
|
+
* </ng-template>
|
|
35
|
+
* </kendo-grid-column>
|
|
28
36
|
* ```
|
|
29
37
|
*/
|
|
30
38
|
export declare class ColumnMenuStickComponent extends ColumnMenuItemBase {
|
|
@@ -5,14 +5,12 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* To define the content template, nest an `<ng-template>` tag with the
|
|
11
|
-
* `kendoGridColumnMenuTemplate` directive inside the `<kendo-grid>` or the `<kendo-grid-column>` component.
|
|
8
|
+
* Defines a template for the column menu in the Grid. Use this directive to customize the column menu content for all columns or for specific columns.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGridColumnMenuTemplate` directive inside the `<kendo-grid>` or `<kendo-grid-column>` component to set the template.
|
|
12
10
|
*
|
|
13
|
-
* The template context
|
|
14
|
-
* - `service`—
|
|
15
|
-
* - `column`—
|
|
11
|
+
* The template context provides these fields:
|
|
12
|
+
* - `service`—The [`ColumnMenuService`]({% slug api_grid_columnmenuservice %}).
|
|
13
|
+
* - `column`—The Grid column.
|
|
16
14
|
*
|
|
17
15
|
* @example
|
|
18
16
|
* ```html
|