@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
|
@@ -14,20 +14,20 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
*/
|
|
15
15
|
export declare function isSpanColumnComponent(column: any): column is SpanColumnComponent;
|
|
16
16
|
/**
|
|
17
|
-
* Represents a column
|
|
18
|
-
* header and footer cells
|
|
19
|
-
*
|
|
17
|
+
* Represents a column that spans multiple data cells while keeping the individual
|
|
18
|
+
* header and footer cells ([see example]({% slug spanned_columns_grid %})).
|
|
19
|
+
* Use this column to create flexible layouts and keep built-in UI for
|
|
20
20
|
* [sorting]({% slug sorting_grid %}), [filtering]({% slug filtering_grid %}), and
|
|
21
|
-
* [grouping]({% slug grouping_grid %}). Wrap the columns
|
|
22
|
-
* merged inside the `<kendo-grid-span-column>` tag.
|
|
21
|
+
* [grouping]({% slug grouping_grid %}). Wrap the columns you want to merge inside the `<kendo-grid-span-column>` tag.
|
|
23
22
|
*
|
|
23
|
+
* @example
|
|
24
24
|
* ```html
|
|
25
25
|
* <kendo-grid-span-column>
|
|
26
|
-
* <kendo-grid-column field="
|
|
27
|
-
* <kendo-grid-column field="
|
|
26
|
+
* <kendo-grid-column field="ID"></kendo-grid-column>
|
|
27
|
+
* <kendo-grid-column field="Name"></kendo-grid-column>
|
|
28
28
|
* <ng-template kendoGridCellTemplate let-dataItem>
|
|
29
|
-
* <
|
|
30
|
-
* <p>{{ dataItem.
|
|
29
|
+
* <p>{{ dataItem.ID }}</p>
|
|
30
|
+
* <p>{{ dataItem.Name }}</p>
|
|
31
31
|
* </ng-template>
|
|
32
32
|
* </kendo-grid-span-column>
|
|
33
33
|
* ```
|
|
@@ -73,8 +73,8 @@ export declare class SpanColumnComponent extends ColumnBase {
|
|
|
73
73
|
*/
|
|
74
74
|
includeInChooser: boolean;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
77
|
-
* To enable
|
|
76
|
+
* Sets whether the edit template of the column is rendered.
|
|
77
|
+
* To enable editing for a spanned column, set an edit template for it ([see example](slug:custom_reactive_editing_grid)).
|
|
78
78
|
* @default false
|
|
79
79
|
*/
|
|
80
80
|
set editable(value: boolean);
|
|
@@ -23,7 +23,7 @@ export declare class AdaptiveGridService {
|
|
|
23
23
|
private ctx;
|
|
24
24
|
private adaptiveService;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Emits when the ActionSheet view animation ends.
|
|
27
27
|
*/
|
|
28
28
|
get animationEnd(): Observable<void>;
|
|
29
29
|
columnMenuService: ColumnMenuService;
|
|
@@ -40,7 +40,7 @@ export declare class AdaptiveGridService {
|
|
|
40
40
|
resetFilter(): void;
|
|
41
41
|
reset(): void;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Notifies that the ActionSheet animation has ended.
|
|
44
44
|
*/
|
|
45
45
|
notifyAnimationEnd(): void;
|
|
46
46
|
get windowSize(): AdaptiveSize;
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { GridComponent } from "../grid.component";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides arguments for the [`cellClick`](slug:api_grid_gridcomponent#toc-cellclick) event.
|
|
8
|
+
* Use this event to get details about the clicked cell in the Grid.
|
|
9
|
+
*
|
|
8
10
|
*/
|
|
9
11
|
export interface CellClickEvent {
|
|
10
12
|
/**
|
|
@@ -16,19 +18,19 @@ export interface CellClickEvent {
|
|
|
16
18
|
*/
|
|
17
19
|
columnIndex: number;
|
|
18
20
|
/**
|
|
19
|
-
* The data item
|
|
21
|
+
* The data item for the row containing the clicked cell.
|
|
20
22
|
*/
|
|
21
23
|
dataItem: any;
|
|
22
24
|
/**
|
|
23
|
-
* Indicates if the cell is
|
|
25
|
+
* Indicates if the cell is in edit mode.
|
|
24
26
|
*/
|
|
25
27
|
isEdited: boolean;
|
|
26
28
|
/**
|
|
27
|
-
* The DOM event that triggered the
|
|
29
|
+
* The original DOM event that triggered the cell click.
|
|
28
30
|
*/
|
|
29
31
|
originalEvent: any;
|
|
30
32
|
/**
|
|
31
|
-
* The row index
|
|
33
|
+
* The row index of the clicked cell.
|
|
32
34
|
*/
|
|
33
35
|
rowIndex: number;
|
|
34
36
|
/**
|
|
@@ -36,7 +38,7 @@ export interface CellClickEvent {
|
|
|
36
38
|
*/
|
|
37
39
|
sender: GridComponent;
|
|
38
40
|
/**
|
|
39
|
-
* The type of
|
|
41
|
+
* The type of event that triggered the cell click.
|
|
40
42
|
*/
|
|
41
43
|
type: 'click' | 'contextmenu';
|
|
42
44
|
}
|
|
@@ -3,100 +3,96 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Specifies the starting point (Grid cell) for clipboard operations.
|
|
7
7
|
*/
|
|
8
8
|
export type GridClipboardTargetType = 'selection' | 'activeCell';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Defines the possible values for the `type` property of [`GridClipboardEvent`]({% slug api_grid_gridclipboardevent %}).
|
|
11
11
|
*/
|
|
12
12
|
export type GridClipboardEventType = 'copy' | 'cut' | 'paste';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Represents a Grid data item and its affected fields during a clipboard operation.
|
|
15
15
|
*/
|
|
16
16
|
export interface GridClipboardItem {
|
|
17
|
+
/**
|
|
18
|
+
* The data item affected by the clipboard action.
|
|
19
|
+
*/
|
|
17
20
|
dataItem: any;
|
|
21
|
+
/**
|
|
22
|
+
* The fields of the data item affected by the clipboard action.
|
|
23
|
+
*/
|
|
18
24
|
fields: string[];
|
|
19
25
|
}
|
|
20
26
|
/**
|
|
21
|
-
*
|
|
27
|
+
* Provides event data for the `clipboard` event of the `GridClipboardDirective`.
|
|
22
28
|
*/
|
|
23
29
|
export interface GridClipboardEvent {
|
|
24
30
|
/**
|
|
25
|
-
* The type of the
|
|
31
|
+
* The type of the clipboard event.
|
|
26
32
|
*/
|
|
27
33
|
type: GridClipboardEventType;
|
|
28
34
|
/**
|
|
29
|
-
* The
|
|
35
|
+
* The original DOM clipboard event.
|
|
30
36
|
*/
|
|
31
37
|
originalEvent: ClipboardEvent;
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
34
|
-
* When the action is `
|
|
39
|
+
* The clipboard data as a string.
|
|
40
|
+
* When the action is `copy` or `cut`—contains the grid data copied to the clipboard, formatted for Excel compatibility..
|
|
41
|
+
* When the action is `paste`—contains the raw clipboard data extracted from the original DOM event.
|
|
35
42
|
*/
|
|
36
43
|
clipboardData: string;
|
|
37
44
|
/**
|
|
38
|
-
* The Grid data items and
|
|
45
|
+
* The affected Grid data items and fields.
|
|
39
46
|
*/
|
|
40
47
|
gridData: GridClipboardItem[];
|
|
41
48
|
/**
|
|
42
|
-
* The
|
|
49
|
+
* The target cell for the clipboard operation.
|
|
43
50
|
*/
|
|
44
51
|
target: GridClipboardTargetCell;
|
|
45
52
|
}
|
|
46
53
|
/**
|
|
47
|
-
*
|
|
54
|
+
* Describes the target cell for a clipboard operation.
|
|
48
55
|
*/
|
|
49
56
|
export interface GridClipboardTargetCell {
|
|
50
57
|
/**
|
|
51
|
-
* The data index of the
|
|
58
|
+
* The data row index of the target cell.
|
|
52
59
|
*/
|
|
53
60
|
dataRowIndex: number;
|
|
54
61
|
/**
|
|
55
|
-
* The field of the
|
|
62
|
+
* The field of the column for the target cell.
|
|
56
63
|
*/
|
|
57
64
|
colField: string;
|
|
58
65
|
/**
|
|
59
|
-
* The
|
|
66
|
+
* The data item for the target cell.
|
|
60
67
|
*/
|
|
61
68
|
dataItem: any;
|
|
62
69
|
}
|
|
63
70
|
/**
|
|
64
|
-
*
|
|
71
|
+
* Configures the `GridClipboardDirective` settings.
|
|
65
72
|
*/
|
|
66
73
|
export interface GridClipboardSettings {
|
|
67
74
|
/**
|
|
68
|
-
*
|
|
69
|
-
* when it is either partially selected, or contains the active cell.
|
|
70
|
-
*
|
|
71
|
-
* Defaults to `false`.
|
|
75
|
+
* If set to `true`, clipboard actions affect the whole data row.
|
|
72
76
|
*/
|
|
73
77
|
wholeRow?: boolean;
|
|
74
78
|
/**
|
|
75
|
-
*
|
|
76
|
-
* during the `copy` and `cut` actions.
|
|
79
|
+
* If set to `true`, includes column titles or field names in the clipboard data.
|
|
77
80
|
*
|
|
78
|
-
* Defaults to `false`.
|
|
79
81
|
*/
|
|
80
82
|
copyHeaders?: boolean;
|
|
81
83
|
/**
|
|
82
|
-
*
|
|
83
|
-
* and trigger the `clipboard` event.
|
|
84
|
+
* If set to `true`, enables the `copy` operation.
|
|
84
85
|
*
|
|
85
|
-
* Defaults to `true`.
|
|
86
86
|
*/
|
|
87
87
|
copy?: boolean;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
90
|
-
* and trigger the `clipboard` event.
|
|
89
|
+
* If set to `true`, enables the `cut` operation.
|
|
91
90
|
*
|
|
92
|
-
* Defaults to `true`.
|
|
93
91
|
*/
|
|
94
92
|
cut?: boolean;
|
|
95
93
|
/**
|
|
96
|
-
*
|
|
97
|
-
* and trigger the `clipboard` event.
|
|
94
|
+
* If set to `true`, enables the `paste` operation.
|
|
98
95
|
*
|
|
99
|
-
* Defaults to `true`.
|
|
100
96
|
*/
|
|
101
97
|
paste?: boolean;
|
|
102
98
|
}
|
|
@@ -8,8 +8,14 @@ import { GridComponent } from '../grid.component';
|
|
|
8
8
|
import { GridClipboardTargetType, GridClipboardEvent, GridClipboardSettings } from './clipboard-types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* Enables built-in clipboard support for the Grid. Allows copy, cut, and paste interactions.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-grid kendoGridClipboard></kendo-grid>
|
|
16
|
+
* ```
|
|
17
|
+
* @remarks
|
|
18
|
+
* Applied to: {@link GridComponent}.
|
|
13
19
|
*/
|
|
14
20
|
export declare class GridClipboardDirective implements AfterViewInit, OnDestroy {
|
|
15
21
|
private host;
|
|
@@ -17,23 +23,21 @@ export declare class GridClipboardDirective implements AfterViewInit, OnDestroy
|
|
|
17
23
|
private renderer;
|
|
18
24
|
private zone;
|
|
19
25
|
/**
|
|
20
|
-
*
|
|
21
|
-
* - `activeCell`
|
|
22
|
-
* - `selection`
|
|
26
|
+
* Sets the clipboard operation target. Possible values are `'activeCell'` and `'selection'`.([See example]({% slug clipboard_grid %}#toc-clipboard-target))
|
|
23
27
|
*
|
|
24
28
|
* @default 'selection'
|
|
25
29
|
*/
|
|
26
30
|
set clipboardTarget(value: GridClipboardTargetType);
|
|
27
31
|
get clipboardTarget(): GridClipboardTargetType;
|
|
28
32
|
/**
|
|
29
|
-
*
|
|
33
|
+
* Configures the clipboard directive settings.
|
|
30
34
|
*
|
|
31
|
-
* @default { wholeRow: false, copyHeaders: false copy: true, cut: true, paste: true }
|
|
35
|
+
* @default { wholeRow: false, copyHeaders: false, copy: true, cut: true, paste: true }
|
|
32
36
|
*/
|
|
33
37
|
set clipboardSettings(value: GridClipboardSettings);
|
|
34
38
|
get clipboardSettings(): GridClipboardSettings;
|
|
35
39
|
/**
|
|
36
|
-
* Fires when
|
|
40
|
+
* Fires when a clipboard action (`cut`, `copy`, or `paste`) occurs in the Grid.
|
|
37
41
|
*/
|
|
38
42
|
clipboard: EventEmitter<GridClipboardEvent>;
|
|
39
43
|
private _target;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import { FormGroup } from "@angular/forms";
|
|
6
6
|
import { CreateFormGroupArgs } from "../editing-directives/create-form-group-args.interface";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Defines a function that creates a `FormGroup` for the edited model.
|
|
9
|
+
* @param args The arguments for creating the form group.
|
|
10
|
+
* @returns The created `FormGroup`.
|
|
9
11
|
*/
|
|
10
12
|
export type CreateFormGroup = (args: CreateFormGroupArgs) => FormGroup;
|
|
@@ -6,7 +6,9 @@ import { ExcelExportData } from "@progress/kendo-angular-excel-export";
|
|
|
6
6
|
import { Observable } from "rxjs";
|
|
7
7
|
import { GridComponent } from "../grid.component";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Defines a function that returns the exported data options for the Grid.
|
|
10
|
+
* Use this callback to provide custom data for export. [See example](slug:excelexport_grid#toc-exporting-specific-data).
|
|
11
|
+
* @param component The Grid component.
|
|
12
|
+
* @returns The exported data.
|
|
11
13
|
*/
|
|
12
14
|
export type FetchDataCallback = (component: GridComponent) => ExcelExportData | Promise<ExcelExportData> | Observable<ExcelExportData>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Specifies the data type of a field for a Grid column.
|
|
7
|
+
* Use this type to determine the editing and filtering UI.
|
|
8
8
|
*/
|
|
9
9
|
export type FieldDataType = 'text' | 'numeric' | 'date' | 'boolean';
|
|
@@ -3,28 +3,27 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Defines the type of the Grid pager.
|
|
7
7
|
*
|
|
8
8
|
* The available values are:
|
|
9
|
-
* * `numeric`—
|
|
10
|
-
* * `input`—
|
|
9
|
+
* * `numeric`—Shows buttons with numbers.
|
|
10
|
+
* * `input`—Shows an input for typing the page number.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```html
|
|
14
14
|
* <kendo-grid [pageable]="{ type: 'numeric' }">
|
|
15
15
|
* <kendo-grid-column field="ProductID"></kendo-grid-column>
|
|
16
|
-
* ...
|
|
17
16
|
* </kendo-grid>
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
20
19
|
export type PagerType = 'numeric' | 'input';
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
21
|
+
* Sets the position of the Grid pager.
|
|
23
22
|
*
|
|
24
23
|
* The available values are:
|
|
25
|
-
* * `top`—
|
|
26
|
-
* * `bottom`—(Default)
|
|
27
|
-
* * `both`—
|
|
24
|
+
* * `top`—Renders the pager above the Grid headers.
|
|
25
|
+
* * `bottom`—(Default) Renders the pager below the data table.
|
|
26
|
+
* * `both`—Renders two pagers: one above the Grid headers and one below the data table.
|
|
28
27
|
*
|
|
29
28
|
* @example
|
|
30
29
|
* ```html
|
|
@@ -36,19 +35,32 @@ export type PagerType = 'numeric' | 'input';
|
|
|
36
35
|
*/
|
|
37
36
|
export type PagerPosition = 'top' | 'bottom' | 'both';
|
|
38
37
|
/**
|
|
39
|
-
*
|
|
38
|
+
* Configures the pager settings of the Grid ([see example](slug:paging_grid_settings)).
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```typescript
|
|
42
|
+
* public pagerSettings: PagerSettings = {
|
|
43
|
+
* buttonCount: 5,
|
|
44
|
+
* info: true,
|
|
45
|
+
* type: 'numeric',
|
|
46
|
+
* pageSizes: [5, 10, 20],
|
|
47
|
+
* previousNext: true,
|
|
48
|
+
* responsive: true,
|
|
49
|
+
* position: 'bottom'
|
|
50
|
+
* };
|
|
51
|
+
* ```
|
|
40
52
|
*/
|
|
41
53
|
export interface PagerSettings {
|
|
42
54
|
/**
|
|
43
|
-
* Sets the maximum numeric buttons
|
|
55
|
+
* Sets the maximum number of numeric buttons before collapsing them.
|
|
44
56
|
*/
|
|
45
57
|
buttonCount?: number;
|
|
46
58
|
/**
|
|
47
|
-
*
|
|
59
|
+
* Shows information about the current page and the total number of records.
|
|
48
60
|
*/
|
|
49
61
|
info?: boolean;
|
|
50
62
|
/**
|
|
51
|
-
*
|
|
63
|
+
* Sets the type of the Grid pager.
|
|
52
64
|
*/
|
|
53
65
|
type?: PagerType;
|
|
54
66
|
/**
|
|
@@ -56,30 +68,34 @@ export interface PagerSettings {
|
|
|
56
68
|
*/
|
|
57
69
|
pageSizes?: boolean | Array<number>;
|
|
58
70
|
/**
|
|
59
|
-
*
|
|
71
|
+
* Shows the **Previous** and **Next** buttons.
|
|
60
72
|
*/
|
|
61
73
|
previousNext?: boolean;
|
|
62
74
|
/**
|
|
63
|
-
*
|
|
64
|
-
* Available in version `5.0.0` and above ([see example](slug:paging_grid_settings)).
|
|
75
|
+
* Enables the built-in responsive behavior of the Pager.
|
|
65
76
|
*/
|
|
66
77
|
responsive?: boolean;
|
|
67
78
|
/**
|
|
68
|
-
*
|
|
69
|
-
* The possible values are 'top'
|
|
79
|
+
* Sets the Pager position relative to the Grid data table.
|
|
80
|
+
* The possible values are `'top'`, `'bottom'`, and `'both'` ([see example](slug:paging_grid_settings)).
|
|
70
81
|
*/
|
|
71
82
|
position?: PagerPosition;
|
|
72
83
|
}
|
|
73
84
|
/**
|
|
74
|
-
*
|
|
85
|
+
* Describes the `PageSizeItem` options for the `PagerPageSizesComponent`.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```typescript
|
|
89
|
+
* const pageSizeItem: PageSizeItem = { text: 'Show All', value: 'all' };
|
|
90
|
+
* ```
|
|
75
91
|
*/
|
|
76
92
|
export interface PageSizeItem {
|
|
77
93
|
/**
|
|
78
|
-
*
|
|
94
|
+
* Sets the text for each option in the pager's PageSize selector.
|
|
79
95
|
*/
|
|
80
96
|
text: string;
|
|
81
97
|
/**
|
|
82
|
-
*
|
|
98
|
+
* Sets the value used as the page size. If set to `'all'`, the page size matches the Grid data `total`.
|
|
83
99
|
*/
|
|
84
100
|
value: number | 'all';
|
|
85
101
|
}
|
|
@@ -9,16 +9,12 @@ export declare abstract class PreventableEvent {
|
|
|
9
9
|
private prevented;
|
|
10
10
|
/**
|
|
11
11
|
* Prevents the default action for a specified event.
|
|
12
|
-
* In this way, the source component suppresses
|
|
13
|
-
* the built-in behavior that follows the event.
|
|
12
|
+
* In this way, the source component suppresses the built-in behavior that follows the event.
|
|
14
13
|
*/
|
|
15
14
|
preventDefault(): void;
|
|
16
15
|
/**
|
|
17
|
-
* Returns
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* @returns `true` if the default action was prevented.
|
|
21
|
-
* Otherwise, returns `false`.
|
|
16
|
+
* Returns whether the default action for a specified event was prevented.
|
|
17
|
+
* @returns `true` if the default action was prevented. Otherwise, returns `false`.
|
|
22
18
|
*/
|
|
23
19
|
isDefaultPrevented(): boolean;
|
|
24
20
|
}
|
|
@@ -5,5 +5,17 @@
|
|
|
5
5
|
import { Observable } from "rxjs";
|
|
6
6
|
/**
|
|
7
7
|
* A function that is called to confirm if the `dataItem` will be removed.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```html
|
|
11
|
+
* <kendo-grid [kendoGridTemplateEditing]="createNewProduct" [removeConfirmation]="confirmRemove" >
|
|
12
|
+
* <kendo-grid-column field="name" title="Name"></kendo-grid-column>
|
|
13
|
+
* </kendo-grid>
|
|
14
|
+
* ```
|
|
15
|
+
* ```typescript
|
|
16
|
+
* confirmRemove(dataItem: any): boolean {
|
|
17
|
+
* // Return a boolean, Promise, or Observable indicating if the item should be removed.
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
8
20
|
*/
|
|
9
21
|
export type RemoveConfirmationCallback = (dataItem: any) => Promise<boolean> | Observable<boolean> | boolean;
|
|
@@ -3,23 +3,24 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Configures size restrictions for a resizable Grid.
|
|
7
|
+
* Use this interface to set min and max width and height for the Grid.
|
|
7
8
|
*/
|
|
8
9
|
export interface GridResizableSettings {
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
+
* Sets the maximum width of the resizable Grid. Accepts all valid CSS [`max-width`](https://developer.mozilla.org/en-US/docs/Web/CSS/max-width) values.
|
|
11
12
|
*/
|
|
12
13
|
maxWidth?: string;
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* Sets the maximum height of the resizable Grid. Accepts all valid CSS [`max-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/max-height) values.
|
|
15
16
|
*/
|
|
16
17
|
maxHeight?: string;
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Sets the minimum width of the resizable Grid. Accepts all valid CSS [`min-width`](https://developer.mozilla.org/en-US/docs/Web/CSS/min-width) values.
|
|
19
20
|
*/
|
|
20
21
|
minWidth?: string;
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
+
* Sets the minimum height of the resizable Grid. Accepts all valid CSS [`min-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height) values.
|
|
23
24
|
*/
|
|
24
25
|
minHeight?: string;
|
|
25
26
|
}
|
|
@@ -18,11 +18,14 @@ export declare class PopupCloseEvent extends PreventableEvent {
|
|
|
18
18
|
* The original DOM event that causes the popup to close.
|
|
19
19
|
*/
|
|
20
20
|
originalEvent: any;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
21
24
|
constructor(e: any);
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
|
-
*
|
|
25
|
-
* ([see example]({% slug filter_menu %}#toc-filter-menu-with-popup)).
|
|
27
|
+
* Provides popup management for filter and column menus.
|
|
28
|
+
* Use this service to open and close popups for the Grid filter and column menus ([see example]({% slug filter_menu %}#toc-filter-menu-with-popup)).
|
|
26
29
|
*/
|
|
27
30
|
export declare class SinglePopupService implements OnDestroy {
|
|
28
31
|
private popupService;
|
|
@@ -31,8 +34,8 @@ export declare class SinglePopupService implements OnDestroy {
|
|
|
31
34
|
private ctx;
|
|
32
35
|
private adaptiveGridService;
|
|
33
36
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
37
|
+
* Emits when the filter or column menu popup is about to close because the user clicked outside.
|
|
38
|
+
* Use this event to prevent the popup from closing.
|
|
36
39
|
*/
|
|
37
40
|
readonly onClose: Subject<PopupCloseEvent>;
|
|
38
41
|
private removeClick;
|
package/common/size-options.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Specifies the size options for the Grid.
|
|
7
|
+
* Use this type to set the Grid size.
|
|
7
8
|
*/
|
|
8
9
|
export type GridSize = 'small' | 'medium' | 'none';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { SortDescriptor, GroupDescriptor, CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the `pageChange` event. [See example](slug:manual_paging_grid#toc-paging-local-data).
|
|
8
8
|
*/
|
|
9
9
|
export interface PageChangeEvent {
|
|
10
10
|
/**
|
|
@@ -17,28 +17,28 @@ export interface PageChangeEvent {
|
|
|
17
17
|
take: number;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Provides the arguments for the `dataStateChange` event
|
|
21
21
|
* ([more information and examples](slug:data_operations_grid#toc-handling-multiple-data-operations)).
|
|
22
22
|
*/
|
|
23
23
|
export interface DataStateChangeEvent {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Sets how many records to skip.
|
|
26
26
|
*/
|
|
27
27
|
skip: number;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Sets how many records to take.
|
|
30
30
|
*/
|
|
31
31
|
take: number;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Defines the sort descriptors for sorting the data.
|
|
34
34
|
*/
|
|
35
35
|
sort?: Array<SortDescriptor>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Defines the group descriptors for grouping the data.
|
|
38
38
|
*/
|
|
39
39
|
group?: Array<GroupDescriptor>;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Defines the filter descriptor for filtering the data.
|
|
42
42
|
*/
|
|
43
43
|
filter?: CompositeFilterDescriptor;
|
|
44
44
|
}
|
|
@@ -8,27 +8,27 @@ import { GroupItem } from './group-item.interface';
|
|
|
8
8
|
*/
|
|
9
9
|
export interface DataItem {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Sets the type of the grid item.
|
|
12
12
|
*/
|
|
13
13
|
type: 'data';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Holds a reference to the data item.
|
|
16
16
|
*/
|
|
17
17
|
data: Object;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Sets the index of the grid item. This index may differ from the index in the source data set.
|
|
20
20
|
*/
|
|
21
21
|
index: number;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Sets the group index, if available.
|
|
24
24
|
*/
|
|
25
25
|
groupIndex: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Indicates if the item is currently being edited.
|
|
28
28
|
*/
|
|
29
29
|
isEditing: boolean;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Holds the current data item group.
|
|
32
32
|
*/
|
|
33
33
|
group: GroupItem;
|
|
34
34
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { DataResult } from '@progress/kendo-data-query';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Describes the data type that the Grid expects. [See example](slug:local_data_grid#toc-binding-to-a-griddataresult-object).
|
|
8
8
|
*/
|
|
9
9
|
export interface GridDataResult extends DataResult {
|
|
10
10
|
}
|
|
@@ -6,7 +6,7 @@ import { DataItem } from './data-item.interface';
|
|
|
6
6
|
import { GroupItem } from './group-item.interface';
|
|
7
7
|
import { GroupFooterItem } from './group-footer-item.interface';
|
|
8
8
|
/**
|
|
9
|
-
* Represents the item
|
|
9
|
+
* Represents the item that the Grid uses to track changes. [See example](slug:track_changes_grid).
|
|
10
10
|
*
|
|
11
11
|
* The possible values are:
|
|
12
12
|
* * [`DataItem`]({% slug api_grid_dataitem %}).
|