@progress/kendo-react-grid 13.3.0 → 13.4.0-develop.2
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/BasePDFExport.d.ts +31 -0
- package/Grid.d.ts +129 -0
- package/GridClientContextReader.d.ts +17 -0
- package/GridClientWrapper.d.ts +32 -0
- package/GridClientWrapper.js +1 -1
- package/GridClientWrapper.mjs +21 -25
- package/GridColumn.d.ts +51 -0
- package/GridComponent.d.ts +14 -0
- package/GridComponent.js +1 -1
- package/GridComponent.mjs +6 -6
- package/GridPdfExportButton.d.ts +18 -0
- package/GridSearchBox.d.ts +27 -0
- package/GridState.d.ts +30 -0
- package/GridToolbar.d.ts +48 -0
- package/ScrollMode.d.ts +8 -0
- package/StatusBar.d.ts +59 -0
- package/VirtualScroll.d.ts +45 -0
- package/cells/GridDetailHierarchyCell.d.ts +16 -0
- package/cells/GridFilterCell.d.ts +10 -0
- package/cells/GridFilterCell.mjs +4 -4
- package/cells/datacell/GridCell.d.ts +15 -0
- package/cells/datacell/GridCellServer.d.ts +15 -0
- package/cells/datacell/GridCellServerContainer.d.ts +11 -0
- package/cells/datacell/useCellClientTdProps.d.ts +69 -0
- package/cells/datacell/utils.d.ts +20 -0
- package/cells/detailcell/GridDetailCell.d.ts +23 -0
- package/cells/detailcell/GridDetailCellServer.d.ts +11 -0
- package/cells/detailcell/GridDetailCellServerContainer.d.ts +12 -0
- package/cells/detailcell/useDetailCellClientTdProps.d.ts +23 -0
- package/cells/detailcell/utils.d.ts +19 -0
- package/cells/editcell/GridEditCell.d.ts +15 -0
- package/cells/editcell/GridEditCellEditor.d.ts +11 -0
- package/cells/editcell/GridEditCellServer.d.ts +15 -0
- package/cells/editcell/GridEditCellServerContainer.d.ts +11 -0
- package/cells/editcell/useEditCellClientTdProps.d.ts +25 -0
- package/cells/editcell/utils.d.ts +19 -0
- package/cells/groupcell/GridGroupCell.d.ts +15 -0
- package/cells/groupcell/GridGroupCellServer.d.ts +15 -0
- package/cells/groupcell/GridGroupCellServerContainer.d.ts +12 -0
- package/cells/groupcell/GridGroupCellToggle.d.ts +13 -0
- package/cells/groupcell/useGroupCellClientTdProps.d.ts +41 -0
- package/cells/groupcell/utils.d.ts +22 -0
- package/cells/hierarchycell/GridHierarchyCell.d.ts +15 -0
- package/cells/hierarchycell/GridHierarchyCellServer.d.ts +15 -0
- package/cells/hierarchycell/GridHierarchyCellServerContainer.d.ts +11 -0
- package/cells/hierarchycell/GridHierarchyCellToggle.d.ts +13 -0
- package/cells/hierarchycell/GridHierarchyCellToggle.mjs +2 -2
- package/cells/hierarchycell/useHierarchyCellClientTdProps.d.ts +32 -0
- package/cells/hierarchycell/utils.d.ts +20 -0
- package/cells/hooks.d.ts +25 -0
- package/cells/rowreordercell/GridRowReorderCell.d.ts +15 -0
- package/cells/rowreordercell/GridRowReorderCellServer.d.ts +15 -0
- package/cells/rowreordercell/GridRowReorderCellServerContainer.d.ts +11 -0
- package/cells/rowreordercell/useRowReorderCellClientTdProps.d.ts +27 -0
- package/cells/rowreordercell/utils.d.ts +15 -0
- package/cells/selectioncell/GridSelectionCell.d.ts +15 -0
- package/cells/selectioncell/GridSelectionCellInput.d.ts +13 -0
- package/cells/selectioncell/GridSelectionCellServer.d.ts +15 -0
- package/cells/selectioncell/GridSelectionCellServerContainer.d.ts +11 -0
- package/cells/selectioncell/useSelectionCellClientTdProps.d.ts +25 -0
- package/cells/selectioncell/utils.d.ts +25 -0
- package/codemods/v11/cell-render.js +2 -9
- package/codemods/v11/column-cell.js +2 -9
- package/codemods/v11/column-filter-cell.js +2 -9
- package/codemods/v11/column-footer-cell.js +2 -9
- package/codemods/v11/column-header-cell.js +2 -9
- package/codemods/v11/detail-expand-state.js +2 -9
- package/codemods/v11/edit-state.js +2 -9
- package/codemods/v11/filter-cell-render.js +2 -9
- package/codemods/v11/group-expand-state.js +2 -9
- package/codemods/v11/header-cell-render.js +2 -9
- package/codemods/v11/index.js +0 -7
- package/codemods/v11/row-render.js +2 -9
- package/codemods/v11/selection-state.js +2 -9
- package/codemods/v11/utils.js +2 -9
- package/columnMenu/GridColumnMenuCheckboxFilter.d.ts +58 -0
- package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
- package/columnMenu/GridColumnMenuCheckboxFilter.mjs +0 -1
- package/columnMenu/GridColumnMenuColumnsChooser.d.ts +30 -0
- package/columnMenu/GridColumnMenuColumnsList.d.ts +34 -0
- package/columnMenu/GridColumnMenuFilter.d.ts +101 -0
- package/columnMenu/GridColumnMenuFilterCell.d.ts +29 -0
- package/columnMenu/GridColumnMenuFilterUI.d.ts +13 -0
- package/columnMenu/GridColumnMenuGroup.d.ts +61 -0
- package/columnMenu/GridColumnMenuGroup.mjs +3 -3
- package/columnMenu/GridColumnMenuItem.d.ts +48 -0
- package/columnMenu/GridColumnMenuItemContent.d.ts +22 -0
- package/columnMenu/GridColumnMenuItemGroup.d.ts +18 -0
- package/columnMenu/GridColumnMenuSort.d.ts +67 -0
- package/columnMenu/GridColumnMenuWrapper.d.ts +33 -0
- package/columnMenu/GridColumnMenuWrapper.mjs +5 -5
- package/columnMenu/adaptiveContent/GridActionSheetFooter.d.ts +26 -0
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.d.ts +27 -0
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +4 -4
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.d.ts +32 -0
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +3 -3
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.d.ts +12 -0
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +4 -4
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.d.ts +27 -0
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +8 -8
- package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.d.ts +23 -0
- package/components/GridContainerElementContainer.d.ts +12 -0
- package/components/GridDragClue.d.ts +12 -0
- package/components/GridDraggableRowsContainer.d.ts +20 -0
- package/components/GridDropClue.d.ts +12 -0
- package/components/GridEditDialog.d.ts +22 -0
- package/components/GridEditDialog.mjs +1 -1
- package/components/GridElementContainer.d.ts +14 -0
- package/components/GridLoader.d.ts +17 -0
- package/components/PagerContainer.d.ts +12 -0
- package/components/VirtualScrollHeightContainer.d.ts +12 -0
- package/components/colGroup/GridColGroup.d.ts +12 -0
- package/components/icons/reorder-row-svg.d.ts +12 -0
- package/components/noRecords/GridNoRecords.d.ts +31 -0
- package/components/noRecords/GridNoRecordsContainer.d.ts +15 -0
- package/components/noRecords/GridNoRecordsContainer.mjs +1 -1
- package/components/table/GridTable.d.ts +12 -0
- package/components/table/GridTableBody.d.ts +12 -0
- package/components/table/GridTableScrollable.d.ts +12 -0
- package/components/utils.d.ts +21 -0
- package/constants/index.d.ts +15 -0
- package/constants/index.mjs +2 -2
- package/contextMenu/GridContextMenu.d.ts +205 -0
- package/contextMenu/GridContextMenu.mjs +19 -19
- package/contextMenu/enums.d.ts +36 -0
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/drag/ColumnDraggable.d.ts +26 -0
- package/drag/ColumnResize.d.ts +47 -0
- package/drag/CommonDragLogic.d.ts +50 -0
- package/drag/GroupingIndicator.d.ts +26 -0
- package/drag/GroupingIndicator.js +1 -1
- package/drag/GroupingIndicator.mjs +20 -20
- package/filterCommon.d.ts +86 -0
- package/footer/Footer.d.ts +38 -0
- package/footer/Footer.js +1 -1
- package/footer/Footer.mjs +9 -9
- package/footer/FooterCell.d.ts +19 -0
- package/footer/FooterRow.d.ts +23 -0
- package/footer/client/FooterCellContainer.d.ts +12 -0
- package/header/FilterRow.d.ts +35 -0
- package/header/GridHeaderCell.d.ts +48 -0
- package/header/GridHeaderSelectionCell.d.ts +13 -0
- package/header/GroupPanel.d.ts +23 -0
- package/header/GroupPanel.js +1 -1
- package/header/GroupPanel.mjs +11 -11
- package/header/Header.d.ts +44 -0
- package/header/Header.js +1 -1
- package/header/Header.mjs +1 -1
- package/header/HeaderRow.d.ts +45 -0
- package/header/client/GridFilterCellContainer.d.ts +12 -0
- package/header/client/GridFilterCellElementContainer.d.ts +12 -0
- package/header/client/GridHeaderCellContainer.d.ts +12 -0
- package/header/client/GridHeaderCellElementContainer.d.ts +12 -0
- package/header/client/GridHeaderRowContainer.d.ts +16 -0
- package/header/client/GridHeaderRowReorderCell.d.ts +12 -0
- package/header/client/HeaderCellResizer.d.ts +11 -0
- package/header/client/HeaderRowDraggable.d.ts +11 -0
- package/index.d.mts +84 -5356
- package/index.d.ts +84 -5356
- package/interfaces/ColumnType.d.ts +13 -0
- package/interfaces/CompositeHighlightDescriptor.d.ts +29 -0
- package/interfaces/GridAIAssistantCommand.d.ts +110 -0
- package/interfaces/GridAICommands.d.ts +60 -0
- package/interfaces/GridCellProps.d.ts +112 -0
- package/interfaces/GridCellRenderModel.d.ts +15 -0
- package/interfaces/GridCellsSettings.d.ts +366 -0
- package/interfaces/GridColSpanProps.d.ts +21 -0
- package/interfaces/GridColumnChildrenProps.d.ts +18 -0
- package/interfaces/GridColumnMenuBaseProps.d.ts +21 -0
- package/interfaces/GridColumnMenuColumnProps.d.ts +32 -0
- package/interfaces/GridColumnMenuColumnsChooserBaseProps.d.ts +22 -0
- package/interfaces/GridColumnMenuFilterBaseProps.d.ts +31 -0
- package/interfaces/GridColumnMenuFilterUIProps.d.ts +38 -0
- package/interfaces/GridColumnMenuGroupBaseProps.d.ts +26 -0
- package/interfaces/GridColumnMenuProps.d.ts +24 -0
- package/interfaces/GridColumnMenuSortBaseProps.d.ts +27 -0
- package/interfaces/GridColumnProps.d.ts +230 -0
- package/interfaces/GridColumnState.d.ts +52 -0
- package/interfaces/GridDataType.d.ts +12 -0
- package/interfaces/GridDetailExpandableSettings.d.ts +11 -0
- package/interfaces/GridDetailRowProps.d.ts +20 -0
- package/interfaces/GridEditDialogProps.d.ts +30 -0
- package/interfaces/GridEditableSettings.d.ts +16 -0
- package/interfaces/GridFilterCellProps.d.ts +67 -0
- package/interfaces/GridFilterOperator.d.ts +13 -0
- package/interfaces/GridFilterOperators.d.ts +56 -0
- package/interfaces/GridFooterCellProps.d.ts +29 -0
- package/interfaces/GridGroupExpandableSettings.d.ts +22 -0
- package/interfaces/GridGroupableSettings.d.ts +25 -0
- package/interfaces/GridHeaderCellProps.d.ts +23 -0
- package/interfaces/GridHighlightDescriptor.d.ts +16 -0
- package/interfaces/GridNoRecordsProps.d.ts +16 -0
- package/interfaces/GridProps.d.ts +1083 -0
- package/interfaces/GridReorderDropDir.d.ts +11 -0
- package/interfaces/GridRowProps.d.ts +75 -0
- package/interfaces/GridRowReorderSettings.d.ts +25 -0
- package/interfaces/GridRowSpannableSettings.d.ts +21 -0
- package/interfaces/GridRowType.d.ts +16 -0
- package/interfaces/GridRowsSettings.d.ts +57 -0
- package/interfaces/GridSelectableSettings.d.ts +25 -0
- package/interfaces/GridSortSettings.d.ts +26 -0
- package/interfaces/GridStackedLayoutSettings.d.ts +60 -0
- package/interfaces/GridToolbarProps.d.ts +17 -0
- package/interfaces/VirtualScrollInterface.d.ts +29 -0
- package/interfaces/events.d.ts +357 -0
- package/interfaces/index.d.ts +15 -0
- package/messages/index.d.ts +365 -0
- package/messages/messagesMap.d.ts +14 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +17 -17
- package/paging/GridPagerSettings.d.ts +89 -0
- package/paging/Page.d.ts +20 -0
- package/rows/GridDetailRow.d.ts +41 -0
- package/rows/GridDetailRowRenderer.d.ts +48 -0
- package/rows/GridRow.d.ts +13 -0
- package/rows/GridRowRenderer.d.ts +47 -0
- package/sortCommon.d.ts +20 -0
- package/stacked/GridStackedCell.d.ts +67 -0
- package/stacked/GridStackedDetailToggle.d.ts +20 -0
- package/stacked/GridStackedDetailToggle.mjs +2 -2
- package/stacked/GridStackedRow.d.ts +214 -0
- package/stacked/StackedModeComponents.d.ts +45 -0
- package/stacked/StackedModeRow.d.ts +46 -0
- package/toolbar-tools/GridToolbarAIAssistant.d.ts +246 -0
- package/toolbar-tools/GridToolbarCheckboxFilter.d.ts +89 -0
- package/toolbar-tools/GridToolbarCheckboxFilter.js +1 -1
- package/toolbar-tools/GridToolbarCheckboxFilter.mjs +0 -1
- package/toolbar-tools/GridToolbarColumnsChooser.d.ts +55 -0
- package/toolbar-tools/GridToolbarFilter.d.ts +72 -0
- package/toolbar-tools/GridToolbarFilter.mjs +5 -5
- package/toolbar-tools/GridToolbarGroup.d.ts +55 -0
- package/toolbar-tools/GridToolbarSeparator.d.ts +21 -0
- package/toolbar-tools/GridToolbarSort.d.ts +55 -0
- package/toolbar-tools/GridToolbarSpacer.d.ts +21 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.d.ts +35 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.mjs +3 -3
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.d.ts +33 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.mjs +3 -3
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.d.ts +34 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.mjs +3 -3
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.d.ts +26 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.d.ts +27 -0
- package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.d.ts +23 -0
- package/toolbar-tools/ai-tool/GridAIPrompt.d.ts +160 -0
- package/utils/GridContext.d.ts +12 -0
- package/utils/_clientModule.d.ts +11 -0
- package/utils/_serverModule.d.ts +12 -0
- package/utils/handleAIResponse.d.ts +221 -0
- package/utils/index.d.ts +185 -0
- package/utils/index.js +1 -1
- package/utils/index.mjs +2 -2
- package/utils/premium.d.ts +31 -0
- package/utils/virtualColumns.d.ts +18 -0
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ComponentType, ReactElement } from 'react';
|
|
9
|
+
import { GridColumnChildrenProps } from './GridColumnChildrenProps.js';
|
|
10
|
+
import { GridColumnMenuProps } from '../interfaces/GridColumnMenuProps.js';
|
|
11
|
+
import { GridColumnSortSettings } from './GridSortSettings.js';
|
|
12
|
+
import { ColumnBaseProps } from '@progress/kendo-react-data-tools';
|
|
13
|
+
import { FieldProps } from '@progress/kendo-react-form';
|
|
14
|
+
import { GridCellsSettings } from './GridCellsSettings.js';
|
|
15
|
+
import { SVGIcon } from '@progress/kendo-react-common';
|
|
16
|
+
import { GridColSpanProps } from './GridColSpanProps.js';
|
|
17
|
+
import { GridCellBaseOptions, GridContextMenuOptions } from '../contextMenu/GridContextMenu.js';
|
|
18
|
+
import { GridColumnType } from './ColumnType.js';
|
|
19
|
+
import { GridDataType } from './GridDataType.js';
|
|
20
|
+
import { GridRowSpannableSettings } from './GridRowSpannableSettings.js';
|
|
21
|
+
/**
|
|
22
|
+
* The props of the GridColumn component.
|
|
23
|
+
*/
|
|
24
|
+
export interface GridColumnProps extends Omit<ColumnBaseProps, 'cell' | 'minResizableWidth'> {
|
|
25
|
+
/**
|
|
26
|
+
* Allows the column headers to be clicked and the `sortChange` event emitted.
|
|
27
|
+
* You have to handle the `sortChange` event yourself and sort the data.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```jsx
|
|
31
|
+
* <GridColumn sortable={true} />
|
|
32
|
+
* ```
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
sortable?: boolean | GridColumnSortSettings;
|
|
36
|
+
/**
|
|
37
|
+
* Defines if the column is locked (frozen or sticky).
|
|
38
|
+
* Locked columns are the columns that are visible at all times while the user scrolls the component horizontally.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```jsx
|
|
42
|
+
* <GridColumn locked={true} />
|
|
43
|
+
* ```
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
locked?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* A collection of child columns.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```jsx
|
|
52
|
+
* <GridColumn>
|
|
53
|
+
* <GridColumn field="child1" />
|
|
54
|
+
* <GridColumn field="child2" />
|
|
55
|
+
* </GridColumn>
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
children?: GridColumnProps[] | ReactElement<GridColumnProps>[] | GridColumnChildrenProps[];
|
|
59
|
+
/**
|
|
60
|
+
* Specifies a React element that will be cloned and rendered inside the column menu of the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu#toc-basic-usage)).
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```jsx
|
|
64
|
+
* <GridColumn columnMenu={CustomColumnMenu} />
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
columnMenu?: ComponentType<GridColumnMenuProps>;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the context menu settings that will be applied to the column.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```jsx
|
|
73
|
+
* <GridColumn contextMenu={{ enabled: true }} />
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
contextMenu?: boolean | GridContextMenuOptions | ((options: GridCellBaseOptions) => boolean | GridContextMenuOptions);
|
|
77
|
+
/**
|
|
78
|
+
* Determines if the column can be dragged to the group panel.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```jsx
|
|
82
|
+
* <GridColumn groupable={false} />
|
|
83
|
+
* ```
|
|
84
|
+
* @default true
|
|
85
|
+
*/
|
|
86
|
+
groupable?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Defines whether the column is editable ([more information and examples](https://www.telerik.com/kendo-react-ui/components/grid/editing/editing-inline)).
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```jsx
|
|
92
|
+
* <GridColumn editable={true} />
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
editable?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Defines if a filter UI will be rendered for this column.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```jsx
|
|
101
|
+
* <GridColumn filterable={false} />
|
|
102
|
+
* ```
|
|
103
|
+
* @default true
|
|
104
|
+
*/
|
|
105
|
+
filterable?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Defines the title which will be set to the input element in the filter cell.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```jsx
|
|
111
|
+
* <GridColumn filterTitle="Custom Filter Title" />
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
filterTitle?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Defines the filter type that will be rendered inside the filter row.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* ```jsx
|
|
120
|
+
* <GridColumn filter="numeric" />
|
|
121
|
+
* ```
|
|
122
|
+
* @default 'text'
|
|
123
|
+
*/
|
|
124
|
+
filter?: GridDataType;
|
|
125
|
+
/**
|
|
126
|
+
* Defines the editor type. Used when the column enters the edit mode ([more information and examples](https://www.telerik.com/kendo-react-ui/components/grid/editing/editing-inline)).
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* ```jsx
|
|
130
|
+
* <GridColumn editor="date" />
|
|
131
|
+
* ```
|
|
132
|
+
* @default 'text'
|
|
133
|
+
*/
|
|
134
|
+
editor?: GridDataType;
|
|
135
|
+
/**
|
|
136
|
+
* The validation method for the edit field when editting is in mode `dialog`.
|
|
137
|
+
*
|
|
138
|
+
* The method arguments are:
|
|
139
|
+
*
|
|
140
|
+
* * value - The current value of the field.
|
|
141
|
+
* * valueGetter - Function which can be used to get other fields value.
|
|
142
|
+
* Usable when validator depends on more than one field. Supports field paths.
|
|
143
|
+
* * fieldProps - Props of the Field component. Currently contains only the `name` prop.
|
|
144
|
+
* Usable when one validator is used across multiple fields.
|
|
145
|
+
*
|
|
146
|
+
* Returns `string` to signify error or `undefined` to signify validation success.
|
|
147
|
+
*/
|
|
148
|
+
validator?: FieldProps['validator'];
|
|
149
|
+
/**
|
|
150
|
+
* Overrides the default (three vertical dots) column menu icon or the icon set through the ([`columnMenuIcon`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridprops#toc-columnmenuicon)) property.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* ```jsx
|
|
154
|
+
* <GridColumn menuIcon={CustomIcon} />
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
menuIcon?: SVGIcon;
|
|
158
|
+
/**
|
|
159
|
+
* Sets the colSpan of the column which will make the row content span over multiple cells.
|
|
160
|
+
* As arguments, it takes either a number or a function that returns a number.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```jsx
|
|
164
|
+
* <GridColumn colSpan={2} />
|
|
165
|
+
* ```
|
|
166
|
+
* @default 1
|
|
167
|
+
*/
|
|
168
|
+
colSpan?: number | ((colSpanProps: GridColSpanProps) => number);
|
|
169
|
+
/**
|
|
170
|
+
* Controls the visibility of the Grid's column.
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* ```jsx
|
|
174
|
+
* <GridColumn hidden={true} />
|
|
175
|
+
* ```
|
|
176
|
+
* @default false
|
|
177
|
+
*/
|
|
178
|
+
hidden?: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Sets the screen size condition that needs to be satisfied for a column to remain visible. If you set the hidden property, the behavior of media is overridden.
|
|
181
|
+
*
|
|
182
|
+
* @example
|
|
183
|
+
* ```jsx
|
|
184
|
+
* <GridColumn media="(min-width: 600px)" />
|
|
185
|
+
* ```
|
|
186
|
+
*/
|
|
187
|
+
media?: string;
|
|
188
|
+
/**
|
|
189
|
+
* Specifies a set of cell components that the Grid will render instead of the built-in cell.
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* ```jsx
|
|
193
|
+
* <GridColumn cells={{ data: CustomDataCell }} />
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
196
|
+
cells?: GridCellsSettings;
|
|
197
|
+
/**
|
|
198
|
+
* Sets the type of the column and renders a dedicated column for interaction.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* ```jsx
|
|
202
|
+
* <GridColumn columnType="checkbox" />
|
|
203
|
+
* ```
|
|
204
|
+
* @default "data"
|
|
205
|
+
*/
|
|
206
|
+
columnType?: GridColumnType;
|
|
207
|
+
/**
|
|
208
|
+
* **Deprecated**: Use the `minWidth` property instead. The `minResizableWidth` property will be removed in a future version.
|
|
209
|
+
*
|
|
210
|
+
* @deprecated Use `minWidth` instead.
|
|
211
|
+
*/
|
|
212
|
+
minResizableWidth?: number;
|
|
213
|
+
/**
|
|
214
|
+
* Sets the minimum width of the column (in pixels).
|
|
215
|
+
*/
|
|
216
|
+
minWidth?: number;
|
|
217
|
+
/**
|
|
218
|
+
* Sets the maximum width of the column (in pixels).
|
|
219
|
+
*/
|
|
220
|
+
maxWidth?: number;
|
|
221
|
+
/**
|
|
222
|
+
* Defines if the cells of the column should be spanned when their values are the same.
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* ```jsx
|
|
226
|
+
* <GridColumn rowSpannable={true} />
|
|
227
|
+
* ```
|
|
228
|
+
*/
|
|
229
|
+
rowSpannable?: boolean | GridRowSpannableSettings;
|
|
230
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The state of the GridColumn
|
|
10
|
+
*/
|
|
11
|
+
export interface GridColumnState {
|
|
12
|
+
/**
|
|
13
|
+
* The id of the column.
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* The field of the column.
|
|
18
|
+
*/
|
|
19
|
+
field?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The title of the column.
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The value indicating whether a column is visible or not.
|
|
26
|
+
*/
|
|
27
|
+
hidden?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The width of the column (in pixels).
|
|
30
|
+
*/
|
|
31
|
+
width?: string | number;
|
|
32
|
+
/**
|
|
33
|
+
* The position of the column.
|
|
34
|
+
*/
|
|
35
|
+
orderIndex?: number;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of child states.
|
|
38
|
+
*/
|
|
39
|
+
children?: GridColumnState[];
|
|
40
|
+
/**
|
|
41
|
+
* Determines if the column is locked to the left or right side of the grid.
|
|
42
|
+
*/
|
|
43
|
+
locked?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Sets the minimum width of the column (in pixels).
|
|
46
|
+
*/
|
|
47
|
+
minWidth?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the maximum width of the column (in pixels).
|
|
50
|
+
*/
|
|
51
|
+
maxWidth?: number;
|
|
52
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Exposes the data types available when setting the [filter](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops#toc-filter) or
|
|
10
|
+
* [editor](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops#toc-editor) property of the Grid columns.
|
|
11
|
+
*/
|
|
12
|
+
export type GridDataType = 'text' | 'numeric' | 'boolean' | 'date';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { TableExpandableSettings } from '@progress/kendo-react-data-tools';
|
|
9
|
+
/** @hidden */
|
|
10
|
+
export interface GridDetailExpandableSettings extends TableExpandableSettings {
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The props of the GridDetailRow component ([see example](https://www.telerik.com/kendo-react-ui/components/grid/rows/detail)).
|
|
10
|
+
*/
|
|
11
|
+
export interface GridDetailRowProps {
|
|
12
|
+
/**
|
|
13
|
+
* The data object that represents the current row.
|
|
14
|
+
*/
|
|
15
|
+
dataItem: any;
|
|
16
|
+
/**
|
|
17
|
+
* Zero-based index of the dataItem.
|
|
18
|
+
*/
|
|
19
|
+
dataIndex: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { DialogProps } from '@progress/kendo-react-dialogs';
|
|
9
|
+
import { GridColumnProps } from './GridColumnProps.js';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact Grid Edit Dialog component.
|
|
12
|
+
*/
|
|
13
|
+
export type GridEditDialogProps = DialogProps & {
|
|
14
|
+
/**
|
|
15
|
+
* The columns of the Grid.
|
|
16
|
+
*/
|
|
17
|
+
columns?: GridColumnProps[];
|
|
18
|
+
/**
|
|
19
|
+
* The data item that is currently being edited.
|
|
20
|
+
*/
|
|
21
|
+
dataItem?: any;
|
|
22
|
+
/**
|
|
23
|
+
* The method that is called when the user submits the edit form.
|
|
24
|
+
*/
|
|
25
|
+
onSubmit?: (newDataItem: any, event?: React.SyntheticEvent<any>) => void;
|
|
26
|
+
/**
|
|
27
|
+
* The method that is called when the user cancels the edit form.
|
|
28
|
+
*/
|
|
29
|
+
onCancel?: (event?: React.SyntheticEvent<any>) => void;
|
|
30
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { TableEditableSettings } from '@progress/kendo-react-data-tools';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the Grid editable settings:
|
|
11
|
+
* - `enabled` — Determines if the editing is enabled.
|
|
12
|
+
* - `mode` — Determines the editing mode.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export interface GridEditableSettings extends TableEditableSettings {
|
|
16
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { GridFilterOperator } from './GridFilterOperator.js';
|
|
9
|
+
/**
|
|
10
|
+
* The props of the GridFilterCell component
|
|
11
|
+
* ([more information](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-filter-cells)
|
|
12
|
+
* and [example](https://www.telerik.com/kendo-react-ui/components/grid/filtering#toc-custom-filter-cells)).
|
|
13
|
+
*/
|
|
14
|
+
export interface GridFilterCellProps {
|
|
15
|
+
/**
|
|
16
|
+
* The column field in which the cell is located.
|
|
17
|
+
*/
|
|
18
|
+
field?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The method that will be called if the cell needs to inform its parent Grid about a change.
|
|
21
|
+
*/
|
|
22
|
+
onChange: (event: {
|
|
23
|
+
value: any;
|
|
24
|
+
operator: string | Function;
|
|
25
|
+
syntheticEvent: React.SyntheticEvent<any>;
|
|
26
|
+
}) => void;
|
|
27
|
+
/**
|
|
28
|
+
* The list of the default operators for the current filter type.
|
|
29
|
+
*/
|
|
30
|
+
operators: GridFilterOperator[];
|
|
31
|
+
/**
|
|
32
|
+
* The title which will be set to the input element in the filter cell.
|
|
33
|
+
*/
|
|
34
|
+
title?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The type of the filter. Determines which editor will be rendered for filtering.
|
|
37
|
+
*/
|
|
38
|
+
filterType: 'text' | 'numeric' | 'boolean' | 'date';
|
|
39
|
+
/**
|
|
40
|
+
* The value of the cell.
|
|
41
|
+
*/
|
|
42
|
+
value: any;
|
|
43
|
+
/**
|
|
44
|
+
* The operator that will be used for the cell filtering.
|
|
45
|
+
*/
|
|
46
|
+
operator?: string | Function;
|
|
47
|
+
/**
|
|
48
|
+
* The list of values for the Boolean filter.
|
|
49
|
+
*/
|
|
50
|
+
booleanValues: GridFilterOperator[];
|
|
51
|
+
/**
|
|
52
|
+
* Accessible label of the filter.
|
|
53
|
+
*/
|
|
54
|
+
ariaLabel?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Configures the `size` of the cell.
|
|
57
|
+
*
|
|
58
|
+
* The available options are:
|
|
59
|
+
* - small
|
|
60
|
+
* - medium
|
|
61
|
+
* - large
|
|
62
|
+
* - null—Does not set a size `className`.
|
|
63
|
+
*
|
|
64
|
+
* @default `medium`
|
|
65
|
+
*/
|
|
66
|
+
size?: 'small' | 'medium' | 'large';
|
|
67
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { FilterOperator } from '@progress/kendo-react-data-tools';
|
|
9
|
+
/**
|
|
10
|
+
* The filter operator for the Grid filters.
|
|
11
|
+
*/
|
|
12
|
+
export interface GridFilterOperator extends FilterOperator {
|
|
13
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { GridFilterOperator } from './GridFilterOperator.js';
|
|
9
|
+
/**
|
|
10
|
+
* The filter operators for the Grid filters.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```jsx-no-run
|
|
14
|
+
* // Default Grid filter operators:
|
|
15
|
+
* const filterOperators: {
|
|
16
|
+
* 'text': [
|
|
17
|
+
* { text: 'grid.filterContainsOperator', operator: 'contains' },
|
|
18
|
+
* { text: 'grid.filterNotContainsOperator', operator: 'doesnotcontain' },
|
|
19
|
+
* { text: 'grid.filterEqOperator', operator: 'eq' },
|
|
20
|
+
* { text: 'grid.filterNotEqOperator', operator: 'neq' },
|
|
21
|
+
* { text: 'grid.filterStartsWithOperator', operator: 'startswith' },
|
|
22
|
+
* { text: 'grid.filterEndsWithOperator', operator: 'endswith' },
|
|
23
|
+
* { text: 'grid.filterIsNullOperator', operator: 'isnull' },
|
|
24
|
+
* { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' },
|
|
25
|
+
* { text: 'grid.filterIsEmptyOperator', operator: 'isempty' },
|
|
26
|
+
* { text: 'grid.filterIsNotEmptyOperator', operator: 'isnotempty' }
|
|
27
|
+
* ],
|
|
28
|
+
* 'numeric': [
|
|
29
|
+
* { text: 'grid.filterEqOperator', operator: 'eq' },
|
|
30
|
+
* { text: 'grid.filterNotEqOperator', operator: 'neq' },
|
|
31
|
+
* { text: 'grid.filterGteOperator', operator: 'gte' },
|
|
32
|
+
* { text: 'grid.filterGtOperator', operator: 'gt' },
|
|
33
|
+
* { text: 'grid.filterLteOperator', operator: 'lte' },
|
|
34
|
+
* { text: 'grid.filterLtOperator', operator: 'lt' },
|
|
35
|
+
* { text: 'grid.filterIsNullOperator', operator: 'isnull' },
|
|
36
|
+
* { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' }
|
|
37
|
+
* ],
|
|
38
|
+
* 'date': [
|
|
39
|
+
* { text: 'grid.filterEqOperator', operator: 'eq' },
|
|
40
|
+
* { text: 'grid.filterNotEqOperator', operator: 'neq' },
|
|
41
|
+
* { text: 'grid.filterAfterOrEqualOperator', operator: 'gte' },
|
|
42
|
+
* { text: 'grid.filterAfterOperator', operator: 'gt' },
|
|
43
|
+
* { text: 'grid.filterBeforeOperator', operator: 'lt' },
|
|
44
|
+
* { text: 'grid.filterBeforeOrEqualOperator', operator: 'lte' },
|
|
45
|
+
* { text: 'grid.filterIsNullOperator', operator: 'isnull' },
|
|
46
|
+
* { text: 'grid.filterIsNotNullOperator', operator: 'isnotnull' }
|
|
47
|
+
* ],
|
|
48
|
+
* 'boolean': [
|
|
49
|
+
* { text: 'grid.filterEqOperator', operator: 'eq' }
|
|
50
|
+
* ]
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export interface GridFilterOperators {
|
|
55
|
+
[type: string]: GridFilterOperator[];
|
|
56
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The props of the GridFooterCell component
|
|
10
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-footer-cells)).
|
|
11
|
+
*/
|
|
12
|
+
export interface GridFooterCellProps {
|
|
13
|
+
/**
|
|
14
|
+
* The field to which the footer cell is bound.
|
|
15
|
+
*/
|
|
16
|
+
field?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The styles of the footer cell.
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
/**
|
|
22
|
+
* The `colSpan` of the footer cell.
|
|
23
|
+
*/
|
|
24
|
+
colSpan?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The index to be applied to the `aria-colindex` attribute.
|
|
27
|
+
*/
|
|
28
|
+
ariaColumnIndex: number;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { TableGroupExpandableSettings } from '@progress/kendo-react-data-tools';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the Grid group expandable settings.
|
|
11
|
+
*/
|
|
12
|
+
export interface GridGroupExpandableSettings extends TableGroupExpandableSettings {
|
|
13
|
+
/**
|
|
14
|
+
* Determines the default expand state for groups.
|
|
15
|
+
* When set to `true`, all groups are expanded by default.
|
|
16
|
+
*/
|
|
17
|
+
defaultExpand?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Determines if group expanding functionality is enabled.
|
|
20
|
+
*/
|
|
21
|
+
enabled?: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { GridGroupExpandableSettings } from './GridGroupExpandableSettings.js';
|
|
9
|
+
/**
|
|
10
|
+
* The settings for grouping the data of the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/grouping/grouping)).
|
|
11
|
+
*/
|
|
12
|
+
export interface GridGroupableSettings {
|
|
13
|
+
/**
|
|
14
|
+
* Determines if grouping by dragging and dropping the column headers is allowed and if the group header is visible.
|
|
15
|
+
*/
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Determines if the group footer row is visible when the group is collapsed. Defaults to `none`.
|
|
19
|
+
*/
|
|
20
|
+
footer?: 'always' | 'visible' | 'none';
|
|
21
|
+
/**
|
|
22
|
+
* The group expandable settings.
|
|
23
|
+
*/
|
|
24
|
+
expandable?: boolean | GridGroupExpandableSettings;
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { HeaderCellBaseProps } from '@progress/kendo-react-data-tools';
|
|
9
|
+
import { GridColumnMenuWrapperProps } from '../columnMenu/GridColumnMenuWrapper.js';
|
|
10
|
+
/**
|
|
11
|
+
* The props of the GridHeaderCell component
|
|
12
|
+
* ([more information](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-header-cells)).
|
|
13
|
+
*/
|
|
14
|
+
export interface GridHeaderCellProps extends Omit<HeaderCellBaseProps, 'render'> {
|
|
15
|
+
/**
|
|
16
|
+
* The props of the Grid column menu wrapper.
|
|
17
|
+
*/
|
|
18
|
+
columnMenuWrapperProps: GridColumnMenuWrapperProps;
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
id?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Represents the highlight state descriptor for Grid items.
|
|
10
|
+
* The key is the item identifier, and the value can be either a boolean (for whole row highlighting)
|
|
11
|
+
* or an array of column indices (for specific cell highlighting).
|
|
12
|
+
*/
|
|
13
|
+
interface GridHighlightDescriptor {
|
|
14
|
+
[id: string]: boolean | number[];
|
|
15
|
+
}
|
|
16
|
+
export { GridHighlightDescriptor };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The props of the GridNoRecords component.
|
|
10
|
+
*/
|
|
11
|
+
export interface GridNoRecordsProps {
|
|
12
|
+
/**
|
|
13
|
+
* The React elements that will be rendered inside the Grid when no records are available.
|
|
14
|
+
*/
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
}
|