@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.
Files changed (256) hide show
  1. package/BasePDFExport.d.ts +31 -0
  2. package/Grid.d.ts +129 -0
  3. package/GridClientContextReader.d.ts +17 -0
  4. package/GridClientWrapper.d.ts +32 -0
  5. package/GridClientWrapper.js +1 -1
  6. package/GridClientWrapper.mjs +21 -25
  7. package/GridColumn.d.ts +51 -0
  8. package/GridComponent.d.ts +14 -0
  9. package/GridComponent.js +1 -1
  10. package/GridComponent.mjs +6 -6
  11. package/GridPdfExportButton.d.ts +18 -0
  12. package/GridSearchBox.d.ts +27 -0
  13. package/GridState.d.ts +30 -0
  14. package/GridToolbar.d.ts +48 -0
  15. package/ScrollMode.d.ts +8 -0
  16. package/StatusBar.d.ts +59 -0
  17. package/VirtualScroll.d.ts +45 -0
  18. package/cells/GridDetailHierarchyCell.d.ts +16 -0
  19. package/cells/GridFilterCell.d.ts +10 -0
  20. package/cells/GridFilterCell.mjs +4 -4
  21. package/cells/datacell/GridCell.d.ts +15 -0
  22. package/cells/datacell/GridCellServer.d.ts +15 -0
  23. package/cells/datacell/GridCellServerContainer.d.ts +11 -0
  24. package/cells/datacell/useCellClientTdProps.d.ts +69 -0
  25. package/cells/datacell/utils.d.ts +20 -0
  26. package/cells/detailcell/GridDetailCell.d.ts +23 -0
  27. package/cells/detailcell/GridDetailCellServer.d.ts +11 -0
  28. package/cells/detailcell/GridDetailCellServerContainer.d.ts +12 -0
  29. package/cells/detailcell/useDetailCellClientTdProps.d.ts +23 -0
  30. package/cells/detailcell/utils.d.ts +19 -0
  31. package/cells/editcell/GridEditCell.d.ts +15 -0
  32. package/cells/editcell/GridEditCellEditor.d.ts +11 -0
  33. package/cells/editcell/GridEditCellServer.d.ts +15 -0
  34. package/cells/editcell/GridEditCellServerContainer.d.ts +11 -0
  35. package/cells/editcell/useEditCellClientTdProps.d.ts +25 -0
  36. package/cells/editcell/utils.d.ts +19 -0
  37. package/cells/groupcell/GridGroupCell.d.ts +15 -0
  38. package/cells/groupcell/GridGroupCellServer.d.ts +15 -0
  39. package/cells/groupcell/GridGroupCellServerContainer.d.ts +12 -0
  40. package/cells/groupcell/GridGroupCellToggle.d.ts +13 -0
  41. package/cells/groupcell/useGroupCellClientTdProps.d.ts +41 -0
  42. package/cells/groupcell/utils.d.ts +22 -0
  43. package/cells/hierarchycell/GridHierarchyCell.d.ts +15 -0
  44. package/cells/hierarchycell/GridHierarchyCellServer.d.ts +15 -0
  45. package/cells/hierarchycell/GridHierarchyCellServerContainer.d.ts +11 -0
  46. package/cells/hierarchycell/GridHierarchyCellToggle.d.ts +13 -0
  47. package/cells/hierarchycell/GridHierarchyCellToggle.mjs +2 -2
  48. package/cells/hierarchycell/useHierarchyCellClientTdProps.d.ts +32 -0
  49. package/cells/hierarchycell/utils.d.ts +20 -0
  50. package/cells/hooks.d.ts +25 -0
  51. package/cells/rowreordercell/GridRowReorderCell.d.ts +15 -0
  52. package/cells/rowreordercell/GridRowReorderCellServer.d.ts +15 -0
  53. package/cells/rowreordercell/GridRowReorderCellServerContainer.d.ts +11 -0
  54. package/cells/rowreordercell/useRowReorderCellClientTdProps.d.ts +27 -0
  55. package/cells/rowreordercell/utils.d.ts +15 -0
  56. package/cells/selectioncell/GridSelectionCell.d.ts +15 -0
  57. package/cells/selectioncell/GridSelectionCellInput.d.ts +13 -0
  58. package/cells/selectioncell/GridSelectionCellServer.d.ts +15 -0
  59. package/cells/selectioncell/GridSelectionCellServerContainer.d.ts +11 -0
  60. package/cells/selectioncell/useSelectionCellClientTdProps.d.ts +25 -0
  61. package/cells/selectioncell/utils.d.ts +25 -0
  62. package/codemods/v11/cell-render.js +2 -9
  63. package/codemods/v11/column-cell.js +2 -9
  64. package/codemods/v11/column-filter-cell.js +2 -9
  65. package/codemods/v11/column-footer-cell.js +2 -9
  66. package/codemods/v11/column-header-cell.js +2 -9
  67. package/codemods/v11/detail-expand-state.js +2 -9
  68. package/codemods/v11/edit-state.js +2 -9
  69. package/codemods/v11/filter-cell-render.js +2 -9
  70. package/codemods/v11/group-expand-state.js +2 -9
  71. package/codemods/v11/header-cell-render.js +2 -9
  72. package/codemods/v11/index.js +0 -7
  73. package/codemods/v11/row-render.js +2 -9
  74. package/codemods/v11/selection-state.js +2 -9
  75. package/codemods/v11/utils.js +2 -9
  76. package/columnMenu/GridColumnMenuCheckboxFilter.d.ts +58 -0
  77. package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
  78. package/columnMenu/GridColumnMenuCheckboxFilter.mjs +0 -1
  79. package/columnMenu/GridColumnMenuColumnsChooser.d.ts +30 -0
  80. package/columnMenu/GridColumnMenuColumnsList.d.ts +34 -0
  81. package/columnMenu/GridColumnMenuFilter.d.ts +101 -0
  82. package/columnMenu/GridColumnMenuFilterCell.d.ts +29 -0
  83. package/columnMenu/GridColumnMenuFilterUI.d.ts +13 -0
  84. package/columnMenu/GridColumnMenuGroup.d.ts +61 -0
  85. package/columnMenu/GridColumnMenuGroup.mjs +3 -3
  86. package/columnMenu/GridColumnMenuItem.d.ts +48 -0
  87. package/columnMenu/GridColumnMenuItemContent.d.ts +22 -0
  88. package/columnMenu/GridColumnMenuItemGroup.d.ts +18 -0
  89. package/columnMenu/GridColumnMenuSort.d.ts +67 -0
  90. package/columnMenu/GridColumnMenuWrapper.d.ts +33 -0
  91. package/columnMenu/GridColumnMenuWrapper.mjs +5 -5
  92. package/columnMenu/adaptiveContent/GridActionSheetFooter.d.ts +26 -0
  93. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.d.ts +27 -0
  94. package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +4 -4
  95. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.d.ts +32 -0
  96. package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +3 -3
  97. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.d.ts +12 -0
  98. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
  99. package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +4 -4
  100. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.d.ts +27 -0
  101. package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +8 -8
  102. package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.d.ts +23 -0
  103. package/components/GridContainerElementContainer.d.ts +12 -0
  104. package/components/GridDragClue.d.ts +12 -0
  105. package/components/GridDraggableRowsContainer.d.ts +20 -0
  106. package/components/GridDropClue.d.ts +12 -0
  107. package/components/GridEditDialog.d.ts +22 -0
  108. package/components/GridEditDialog.mjs +1 -1
  109. package/components/GridElementContainer.d.ts +14 -0
  110. package/components/GridLoader.d.ts +17 -0
  111. package/components/PagerContainer.d.ts +12 -0
  112. package/components/VirtualScrollHeightContainer.d.ts +12 -0
  113. package/components/colGroup/GridColGroup.d.ts +12 -0
  114. package/components/icons/reorder-row-svg.d.ts +12 -0
  115. package/components/noRecords/GridNoRecords.d.ts +31 -0
  116. package/components/noRecords/GridNoRecordsContainer.d.ts +15 -0
  117. package/components/noRecords/GridNoRecordsContainer.mjs +1 -1
  118. package/components/table/GridTable.d.ts +12 -0
  119. package/components/table/GridTableBody.d.ts +12 -0
  120. package/components/table/GridTableScrollable.d.ts +12 -0
  121. package/components/utils.d.ts +21 -0
  122. package/constants/index.d.ts +15 -0
  123. package/constants/index.mjs +2 -2
  124. package/contextMenu/GridContextMenu.d.ts +205 -0
  125. package/contextMenu/GridContextMenu.mjs +19 -19
  126. package/contextMenu/enums.d.ts +36 -0
  127. package/dist/cdn/js/kendo-react-grid.js +1 -1
  128. package/drag/ColumnDraggable.d.ts +26 -0
  129. package/drag/ColumnResize.d.ts +47 -0
  130. package/drag/CommonDragLogic.d.ts +50 -0
  131. package/drag/GroupingIndicator.d.ts +26 -0
  132. package/drag/GroupingIndicator.js +1 -1
  133. package/drag/GroupingIndicator.mjs +20 -20
  134. package/filterCommon.d.ts +86 -0
  135. package/footer/Footer.d.ts +38 -0
  136. package/footer/Footer.js +1 -1
  137. package/footer/Footer.mjs +9 -9
  138. package/footer/FooterCell.d.ts +19 -0
  139. package/footer/FooterRow.d.ts +23 -0
  140. package/footer/client/FooterCellContainer.d.ts +12 -0
  141. package/header/FilterRow.d.ts +35 -0
  142. package/header/GridHeaderCell.d.ts +48 -0
  143. package/header/GridHeaderSelectionCell.d.ts +13 -0
  144. package/header/GroupPanel.d.ts +23 -0
  145. package/header/GroupPanel.js +1 -1
  146. package/header/GroupPanel.mjs +11 -11
  147. package/header/Header.d.ts +44 -0
  148. package/header/Header.js +1 -1
  149. package/header/Header.mjs +1 -1
  150. package/header/HeaderRow.d.ts +45 -0
  151. package/header/client/GridFilterCellContainer.d.ts +12 -0
  152. package/header/client/GridFilterCellElementContainer.d.ts +12 -0
  153. package/header/client/GridHeaderCellContainer.d.ts +12 -0
  154. package/header/client/GridHeaderCellElementContainer.d.ts +12 -0
  155. package/header/client/GridHeaderRowContainer.d.ts +16 -0
  156. package/header/client/GridHeaderRowReorderCell.d.ts +12 -0
  157. package/header/client/HeaderCellResizer.d.ts +11 -0
  158. package/header/client/HeaderRowDraggable.d.ts +11 -0
  159. package/index.d.mts +84 -5356
  160. package/index.d.ts +84 -5356
  161. package/interfaces/ColumnType.d.ts +13 -0
  162. package/interfaces/CompositeHighlightDescriptor.d.ts +29 -0
  163. package/interfaces/GridAIAssistantCommand.d.ts +110 -0
  164. package/interfaces/GridAICommands.d.ts +60 -0
  165. package/interfaces/GridCellProps.d.ts +112 -0
  166. package/interfaces/GridCellRenderModel.d.ts +15 -0
  167. package/interfaces/GridCellsSettings.d.ts +366 -0
  168. package/interfaces/GridColSpanProps.d.ts +21 -0
  169. package/interfaces/GridColumnChildrenProps.d.ts +18 -0
  170. package/interfaces/GridColumnMenuBaseProps.d.ts +21 -0
  171. package/interfaces/GridColumnMenuColumnProps.d.ts +32 -0
  172. package/interfaces/GridColumnMenuColumnsChooserBaseProps.d.ts +22 -0
  173. package/interfaces/GridColumnMenuFilterBaseProps.d.ts +31 -0
  174. package/interfaces/GridColumnMenuFilterUIProps.d.ts +38 -0
  175. package/interfaces/GridColumnMenuGroupBaseProps.d.ts +26 -0
  176. package/interfaces/GridColumnMenuProps.d.ts +24 -0
  177. package/interfaces/GridColumnMenuSortBaseProps.d.ts +27 -0
  178. package/interfaces/GridColumnProps.d.ts +230 -0
  179. package/interfaces/GridColumnState.d.ts +52 -0
  180. package/interfaces/GridDataType.d.ts +12 -0
  181. package/interfaces/GridDetailExpandableSettings.d.ts +11 -0
  182. package/interfaces/GridDetailRowProps.d.ts +20 -0
  183. package/interfaces/GridEditDialogProps.d.ts +30 -0
  184. package/interfaces/GridEditableSettings.d.ts +16 -0
  185. package/interfaces/GridFilterCellProps.d.ts +67 -0
  186. package/interfaces/GridFilterOperator.d.ts +13 -0
  187. package/interfaces/GridFilterOperators.d.ts +56 -0
  188. package/interfaces/GridFooterCellProps.d.ts +29 -0
  189. package/interfaces/GridGroupExpandableSettings.d.ts +22 -0
  190. package/interfaces/GridGroupableSettings.d.ts +25 -0
  191. package/interfaces/GridHeaderCellProps.d.ts +23 -0
  192. package/interfaces/GridHighlightDescriptor.d.ts +16 -0
  193. package/interfaces/GridNoRecordsProps.d.ts +16 -0
  194. package/interfaces/GridProps.d.ts +1083 -0
  195. package/interfaces/GridReorderDropDir.d.ts +11 -0
  196. package/interfaces/GridRowProps.d.ts +75 -0
  197. package/interfaces/GridRowReorderSettings.d.ts +25 -0
  198. package/interfaces/GridRowSpannableSettings.d.ts +21 -0
  199. package/interfaces/GridRowType.d.ts +16 -0
  200. package/interfaces/GridRowsSettings.d.ts +57 -0
  201. package/interfaces/GridSelectableSettings.d.ts +25 -0
  202. package/interfaces/GridSortSettings.d.ts +26 -0
  203. package/interfaces/GridStackedLayoutSettings.d.ts +60 -0
  204. package/interfaces/GridToolbarProps.d.ts +17 -0
  205. package/interfaces/VirtualScrollInterface.d.ts +29 -0
  206. package/interfaces/events.d.ts +357 -0
  207. package/interfaces/index.d.ts +15 -0
  208. package/messages/index.d.ts +365 -0
  209. package/messages/messagesMap.d.ts +14 -0
  210. package/package-metadata.d.ts +12 -0
  211. package/package-metadata.js +1 -1
  212. package/package-metadata.mjs +10 -16
  213. package/package.json +17 -17
  214. package/paging/GridPagerSettings.d.ts +89 -0
  215. package/paging/Page.d.ts +20 -0
  216. package/rows/GridDetailRow.d.ts +41 -0
  217. package/rows/GridDetailRowRenderer.d.ts +48 -0
  218. package/rows/GridRow.d.ts +13 -0
  219. package/rows/GridRowRenderer.d.ts +47 -0
  220. package/sortCommon.d.ts +20 -0
  221. package/stacked/GridStackedCell.d.ts +67 -0
  222. package/stacked/GridStackedDetailToggle.d.ts +20 -0
  223. package/stacked/GridStackedDetailToggle.mjs +2 -2
  224. package/stacked/GridStackedRow.d.ts +214 -0
  225. package/stacked/StackedModeComponents.d.ts +45 -0
  226. package/stacked/StackedModeRow.d.ts +46 -0
  227. package/toolbar-tools/GridToolbarAIAssistant.d.ts +246 -0
  228. package/toolbar-tools/GridToolbarCheckboxFilter.d.ts +89 -0
  229. package/toolbar-tools/GridToolbarCheckboxFilter.js +1 -1
  230. package/toolbar-tools/GridToolbarCheckboxFilter.mjs +0 -1
  231. package/toolbar-tools/GridToolbarColumnsChooser.d.ts +55 -0
  232. package/toolbar-tools/GridToolbarFilter.d.ts +72 -0
  233. package/toolbar-tools/GridToolbarFilter.mjs +5 -5
  234. package/toolbar-tools/GridToolbarGroup.d.ts +55 -0
  235. package/toolbar-tools/GridToolbarSeparator.d.ts +21 -0
  236. package/toolbar-tools/GridToolbarSort.d.ts +55 -0
  237. package/toolbar-tools/GridToolbarSpacer.d.ts +21 -0
  238. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.d.ts +35 -0
  239. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.mjs +3 -3
  240. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.d.ts +33 -0
  241. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.mjs +3 -3
  242. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.d.ts +34 -0
  243. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.mjs +3 -3
  244. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.d.ts +26 -0
  245. package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.d.ts +27 -0
  246. package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.d.ts +23 -0
  247. package/toolbar-tools/ai-tool/GridAIPrompt.d.ts +160 -0
  248. package/utils/GridContext.d.ts +12 -0
  249. package/utils/_clientModule.d.ts +11 -0
  250. package/utils/_serverModule.d.ts +12 -0
  251. package/utils/handleAIResponse.d.ts +221 -0
  252. package/utils/index.d.ts +185 -0
  253. package/utils/index.js +1 -1
  254. package/utils/index.mjs +2 -2
  255. package/utils/premium.d.ts +31 -0
  256. package/utils/virtualColumns.d.ts +18 -0
@@ -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 { GridRowProps } from '../interfaces/GridRowProps.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * The component for each of the items in the `data` property which the Grid renders.
12
+ */
13
+ export declare const GridRow: (props: GridRowProps) => React.JSX.Element;
@@ -0,0 +1,47 @@
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 { ExtendedColumnProps } from '../GridColumn.js';
9
+ import { GridCellsSettings } from '../interfaces/GridCellsSettings.js';
10
+ import { GridEditableSettings } from '../interfaces/GridEditableSettings.js';
11
+ import { GridRowProps } from '../interfaces/GridRowProps.js';
12
+ import { DataItemWrapper } from '../utils/index.js';
13
+ import { GridStackedLayoutSettings } from '../interfaces/GridStackedLayoutSettings.js';
14
+ import * as React from 'react';
15
+ /**
16
+ * @hidden
17
+ */
18
+ export interface GridRowRendererProps {
19
+ isStackedMode: boolean;
20
+ item: DataItemWrapper;
21
+ rowId: string;
22
+ dataIndex: number;
23
+ idPrefix?: string;
24
+ ariaRowIndex: number;
25
+ absoluteRowIndex: number;
26
+ isAltRow: boolean;
27
+ isHidden: boolean;
28
+ isRowReorderable: boolean;
29
+ rowHeight?: number;
30
+ rows?: GridRowProps['rows'];
31
+ leafColumns: ExtendedColumnProps[];
32
+ groupLevelCount: number;
33
+ stackedLayoutSettings?: GridStackedLayoutSettings;
34
+ cells?: GridCellsSettings;
35
+ editMode?: GridEditableSettings['mode'];
36
+ isSelected: boolean;
37
+ isHighlighted?: boolean;
38
+ isInEdit: boolean;
39
+ preparedCells: React.ReactElement[];
40
+ showDetailToggle: boolean;
41
+ isDetailExpanded: boolean;
42
+ detailExpandField?: string;
43
+ }
44
+ /**
45
+ * @hidden
46
+ */
47
+ export declare const GridRowRenderer: React.FC<GridRowRendererProps>;
@@ -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
+ import { GridColumnSortSettings, GridSortSettings } from './interfaces/GridSortSettings.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const normalizeSortable: (...settings: (GridSortSettings | GridColumnSortSettings)[]) => any;
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare const sortSeqMap: any;
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const firstLevelSortSeqMap: any;
@@ -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 * as React from 'react';
9
+ /**
10
+ * Props for the GridStackedCell component.
11
+ *
12
+ * @hidden
13
+ */
14
+ export interface GridStackedCellProps {
15
+ /**
16
+ * The column title to display as the header label.
17
+ */
18
+ header?: string;
19
+ /**
20
+ * The content to display (field value or custom cell content).
21
+ */
22
+ children: React.ReactNode;
23
+ /**
24
+ * Indicates whether the cell is in edit mode.
25
+ */
26
+ isInEdit?: boolean;
27
+ /**
28
+ * The edit mode of the grid ('incell', 'inline', or 'dialog').
29
+ */
30
+ editMode?: 'incell' | 'inline' | 'dialog';
31
+ /**
32
+ * Additional CSS class name.
33
+ */
34
+ className?: string;
35
+ /**
36
+ * The column index for navigation purposes.
37
+ */
38
+ columnIndex?: number;
39
+ /**
40
+ * The ID for keyboard navigation.
41
+ */
42
+ id?: string;
43
+ /**
44
+ * Additional style to apply to the cell.
45
+ */
46
+ style?: React.CSSProperties;
47
+ /**
48
+ * Click handler.
49
+ */
50
+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;
51
+ /**
52
+ * Keyboard event handler.
53
+ */
54
+ onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
55
+ /**
56
+ * External ref to be merged with internal ref.
57
+ */
58
+ cellRef?: React.Ref<HTMLDivElement>;
59
+ }
60
+ /**
61
+ * Memoized version of GridStackedCell to optimize rendering performance.
62
+ * Only re-renders when props that affect the cell's appearance or behavior change.
63
+ */
64
+ /**
65
+ * @hidden
66
+ */
67
+ export declare const GridStackedCell: React.MemoExoticComponent<(props: GridStackedCellProps) => React.JSX.Element>;
@@ -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
+ import * as React from 'react';
9
+ /** @hidden */
10
+ export interface GridStackedDetailToggleProps {
11
+ dataItem: any;
12
+ dataIndex?: number;
13
+ expanded: boolean;
14
+ field?: string;
15
+ }
16
+ /** @hidden */
17
+ export declare const GridStackedDetailToggle: {
18
+ (props: GridStackedDetailToggleProps): React.JSX.Element;
19
+ displayName: string;
20
+ };
@@ -12,9 +12,9 @@ import { useLocalization as E } from "@progress/kendo-react-intl";
12
12
  import { DETAIL_EXPAND_ACTION as h } from "@progress/kendo-react-data-tools";
13
13
  import { Button as D } from "@progress/kendo-react-buttons";
14
14
  import { GridContext as y } from "../utils/GridContext.mjs";
15
- import { messages as I, detailCollapse as k, detailExpand as v } from "../messages/index.mjs";
15
+ import { detailCollapse as I, detailExpand as k, messages as v } from "../messages/index.mjs";
16
16
  const G = (c) => {
17
- const { dataItem: t, dataIndex: m, expanded: a, field: r } = c, e = l.useContext(y), d = E(), o = a ? k : v, p = d.toLanguageString(o, I[o]), f = (i) => {
17
+ const { dataItem: t, dataIndex: m, expanded: a, field: r } = c, e = l.useContext(y), d = E(), o = a ? I : k, p = d.toLanguageString(o, v[o]), f = (i) => {
18
18
  i.preventDefault(), e != null && e.itemChange && e.itemChange({
19
19
  dataItem: t,
20
20
  dataIndex: m,
@@ -0,0 +1,214 @@
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 } from 'react';
9
+ import { GridStackedLayoutSettings } from '../interfaces/GridStackedLayoutSettings.js';
10
+ import { GridCellsSettings } from '../interfaces/GridCellsSettings.js';
11
+ import * as React from 'react';
12
+ /**
13
+ * Props passed to custom cell components in stacked layout mode.
14
+ * Similar to GridCustomCellProps but adapted for stacked layout rendering.
15
+ *
16
+ * @hidden
17
+ */
18
+ export interface GridStackedCustomCellProps {
19
+ /**
20
+ * The data item for this row.
21
+ */
22
+ dataItem: any;
23
+ /**
24
+ * The field name from the column.
25
+ */
26
+ field?: string;
27
+ /**
28
+ * The column title.
29
+ */
30
+ title?: string;
31
+ /**
32
+ * The row type - always 'data' for stacked layout.
33
+ */
34
+ rowType: 'data';
35
+ /**
36
+ * The zero-based index of the data item in the data collection.
37
+ */
38
+ dataIndex?: number;
39
+ /**
40
+ * The index of the column in the visible columns collection.
41
+ */
42
+ columnIndex: number;
43
+ /**
44
+ * Indicates whether the row is selected.
45
+ */
46
+ isSelected?: boolean;
47
+ /**
48
+ * Indicates whether the cell is in edit mode.
49
+ */
50
+ isInEdit?: boolean;
51
+ /**
52
+ * Format string for the value.
53
+ */
54
+ format?: string;
55
+ /**
56
+ * Additional CSS class name.
57
+ */
58
+ className?: string;
59
+ /**
60
+ * The column type.
61
+ */
62
+ columnType?: string;
63
+ /**
64
+ * The props for the stacked cell container div.
65
+ * Use this to apply default props to your custom cell wrapper.
66
+ */
67
+ stackedCellProps: {
68
+ className: string;
69
+ 'data-grid-col-index': number;
70
+ id?: string;
71
+ style?: React.CSSProperties;
72
+ tabIndex: number;
73
+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;
74
+ onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
75
+ onDoubleClick?: (event: React.MouseEvent<HTMLElement>) => void;
76
+ onContextMenu?: (event: React.MouseEvent<HTMLElement>) => void;
77
+ ref?: React.Ref<any>;
78
+ onFocus?: (event: React.FocusEvent<HTMLElement>) => void;
79
+ };
80
+ /**
81
+ * The default content (field value) that would be rendered.
82
+ */
83
+ children?: React.ReactNode;
84
+ }
85
+ /**
86
+ * Represents column properties needed for stacked row rendering.
87
+ *
88
+ * @hidden
89
+ */
90
+ export interface GridStackedColumnProps {
91
+ /** Unique identifier for the column */
92
+ id?: string;
93
+ /** The field name from the data item */
94
+ field?: string;
95
+ /** The column title to display as label */
96
+ title?: string;
97
+ /** The column type */
98
+ columnType?: string;
99
+ /** Whether the column is hidden */
100
+ hidden?: boolean;
101
+ /**
102
+ * Indicates whether the column participates in accessibility and rendering.
103
+ * Used to exclude service/group columns in stacked layout.
104
+ */
105
+ isAccessible?: boolean;
106
+ /** Whether the column is editable */
107
+ editable?: boolean;
108
+ /**
109
+ * Custom cell component for this column.
110
+ * The component receives GridStackedCustomCellProps.
111
+ */
112
+ cell?: ComponentType<GridStackedCustomCellProps>;
113
+ /**
114
+ * Specifies a set of cell components that the Grid will render instead of the built-in cells.
115
+ * Use `cells.data` to provide a custom data cell component.
116
+ */
117
+ cells?: GridCellsSettings;
118
+ /** Format string for the value */
119
+ format?: string;
120
+ /** Additional CSS class name for the cell */
121
+ className?: string;
122
+ }
123
+ /**
124
+ * Props for the GridStackedRow component.
125
+ *
126
+ * @hidden
127
+ */
128
+ export interface GridStackedRowProps {
129
+ /**
130
+ * The data item for this row.
131
+ */
132
+ dataItem: any;
133
+ /**
134
+ * The columns to render in the stacked layout.
135
+ */
136
+ columns: GridStackedColumnProps[];
137
+ /**
138
+ * The stacked layout configuration.
139
+ */
140
+ stackedLayoutSettings?: GridStackedLayoutSettings;
141
+ /**
142
+ * The zero-based index of the data item in the data collection.
143
+ */
144
+ dataIndex?: number;
145
+ /**
146
+ * Whether this is an alternating row.
147
+ */
148
+ isAltRow?: boolean;
149
+ /**
150
+ * Indicates whether the row is selected.
151
+ */
152
+ isSelected?: boolean;
153
+ /**
154
+ * Indicates whether the row is in edit mode.
155
+ */
156
+ isInEdit?: boolean;
157
+ /**
158
+ * The edit mode of the Grid.
159
+ */
160
+ editMode?: 'inline' | 'incell' | 'dialog';
161
+ /**
162
+ * Grid-level custom cells configuration.
163
+ * Column-level cells take precedence over grid-level cells.
164
+ */
165
+ cells?: GridCellsSettings;
166
+ /**
167
+ * ID prefix for keyboard navigation.
168
+ */
169
+ idPrefix?: string;
170
+ /**
171
+ * Additional class name for the row.
172
+ */
173
+ className?: string;
174
+ /**
175
+ * Additional style for the row.
176
+ */
177
+ style?: React.CSSProperties;
178
+ /**
179
+ * ARIA row index for accessibility.
180
+ */
181
+ ariaRowIndex?: number;
182
+ /**
183
+ * Absolute row index in the grid.
184
+ */
185
+ absoluteRowIndex?: number;
186
+ /**
187
+ * The group level for this row (number of parent groups).
188
+ * Used to render group spacer cells before the stacked content.
189
+ */
190
+ groupLevel?: number;
191
+ /**
192
+ * The prepared cells for this row.
193
+ */
194
+ preparedCells?: React.ReactElement<any>[];
195
+ /**
196
+ * When enabled, renders an expand/collapse detail toggle in stacked mode.
197
+ */
198
+ showDetailToggle?: boolean;
199
+ /**
200
+ * Indicates whether the detail row for this data item is expanded.
201
+ */
202
+ isDetailExpanded?: boolean;
203
+ /**
204
+ * The field name used to track detail expansion.
205
+ */
206
+ detailExpandField?: string;
207
+ }
208
+ /**
209
+ * @hidden
210
+ */
211
+ export declare const GridStackedRow: {
212
+ (props: GridStackedRowProps): React.JSX.Element;
213
+ displayName: string;
214
+ };
@@ -0,0 +1,45 @@
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 * as React from 'react';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface StackedModeColGroupProps {
13
+ groupLevelCount: number;
14
+ }
15
+ /**
16
+ * @hidden
17
+ */
18
+ export declare const StackedModeColGroup: React.FC<StackedModeColGroupProps>;
19
+ /**
20
+ * @hidden
21
+ */
22
+ export interface StackedModeDetailRowProps {
23
+ detailRowId: string;
24
+ className: string;
25
+ isHidden: boolean;
26
+ detailRowHeight?: number;
27
+ ariaRowIndex: number;
28
+ groupLevelCount: number;
29
+ dataItem: any;
30
+ dataIndex: number;
31
+ detail: any;
32
+ id: string;
33
+ DetailCell: React.ComponentType<{
34
+ dataItem: any;
35
+ dataIndex: number;
36
+ colSpan: number;
37
+ ariaColIndex: number;
38
+ detail: any;
39
+ id: string;
40
+ }>;
41
+ }
42
+ /**
43
+ * @hidden
44
+ */
45
+ export declare const StackedModeDetailRow: React.FC<StackedModeDetailRowProps>;
@@ -0,0 +1,46 @@
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 { ExtendedColumnProps } from '../GridColumn.js';
9
+ import { GridCellsSettings } from '../interfaces/GridCellsSettings.js';
10
+ import { GridEditableSettings } from '../interfaces/GridEditableSettings.js';
11
+ import { GridRowProps } from '../interfaces/GridRowProps.js';
12
+ import { DataItemWrapper } from '../utils/index.js';
13
+ import { GridStackedLayoutSettings } from '../interfaces/GridStackedLayoutSettings.js';
14
+ import * as React from 'react';
15
+ /**
16
+ * @hidden
17
+ */
18
+ export interface StackedModeRowProps {
19
+ item: DataItemWrapper;
20
+ rowId: string;
21
+ dataIndex: number;
22
+ idPrefix?: string;
23
+ ariaRowIndex: number;
24
+ absoluteRowIndex: number;
25
+ isAltRow: boolean;
26
+ isHidden: boolean;
27
+ isRowReorderable: boolean;
28
+ rowHeight?: number;
29
+ rows?: GridRowProps['rows'];
30
+ leafColumns: ExtendedColumnProps[];
31
+ groupLevelCount: number;
32
+ stackedLayoutSettings?: GridStackedLayoutSettings;
33
+ cells?: GridCellsSettings;
34
+ editMode?: GridEditableSettings['mode'];
35
+ isSelected: boolean;
36
+ isHighlighted?: boolean;
37
+ isInEdit: boolean;
38
+ preparedCells: React.ReactElement[];
39
+ showDetailToggle: boolean;
40
+ isDetailExpanded: boolean;
41
+ detailExpandField?: string;
42
+ }
43
+ /**
44
+ * @hidden
45
+ */
46
+ export declare const StackedModeRow: React.FC<StackedModeRowProps>;