@progress/kendo-react-grid 7.5.0-develop.2 → 7.5.0-develop.21

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/index.d.mts CHANGED
@@ -36,6 +36,7 @@ import { SortDescriptor } from '@progress/kendo-data-query';
36
36
  import { SortSettings } from '@progress/kendo-react-data-tools';
37
37
  import { State } from '@progress/kendo-data-query';
38
38
  import { SVGIcon } from '@progress/kendo-react-common';
39
+ import { SVGIcon as SVGIcon_2 } from '@progress/kendo-svg-icons';
39
40
  import { TABLE_COL_INDEX_ATTRIBUTE } from '@progress/kendo-react-data-tools';
40
41
  import { TableDragSelectionReleaseEvent } from '@progress/kendo-react-data-tools';
41
42
  import { TableKeyboardNavigationContextType } from '@progress/kendo-react-data-tools';
@@ -327,6 +328,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
327
328
  private _columnsMap;
328
329
  private _columnsMutations;
329
330
  private _resized;
331
+ private _focusFirst;
330
332
  private _shouldUpdateLeftRight;
331
333
  private contextStateRef;
332
334
  private navigationStateRef;
@@ -391,6 +393,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
391
393
  private forceUpdateTimeout;
392
394
  private isRtl;
393
395
  private rowIndex;
396
+ private headTable;
394
397
  private get _header();
395
398
  private get _gridId();
396
399
  private observer;
@@ -446,6 +449,9 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
446
449
  private onHeaderSelectionChange;
447
450
  private selectionRelease;
448
451
  private pageChange;
452
+ private getTotal;
453
+ private moveToNextPage;
454
+ private moveToPrevPage;
449
455
  private pagerPageChange;
450
456
  private sortChange;
451
457
  private filterChange;
@@ -472,6 +478,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
472
478
  private getDataState;
473
479
  private getArguments;
474
480
  private getLeafDataItems;
481
+ private getSlicedLeafDataItems;
475
482
  }
476
483
 
477
484
  /**
@@ -773,7 +780,7 @@ export declare class GridColumnMenuFilter extends React_2.Component<GridColumnMe
773
780
  */
774
781
  declare interface GridColumnMenuFilterBaseProps extends GridColumnMenuBaseProps {
775
782
  /**
776
- * The current filter state of the Grid.
783
+ * The current filter state of the Grid.It takes value of type [CompositeFilterDescriptor]({% api_kendo-data-query_compositefilterdescriptor %})
777
784
  */
778
785
  filter?: CompositeFilterDescriptor;
779
786
  /**
@@ -983,7 +990,7 @@ declare interface GridColumnMenuGroupBaseProps extends GridColumnMenuBaseProps {
983
990
  */
984
991
  groupable?: boolean;
985
992
  /**
986
- * The current group state of the Grid.
993
+ * The current group state of the Grid. It takes value of type [GroupDescriptor]({% slug api_kendo-data-query_groupdescriptor %})[]
987
994
  */
988
995
  group?: GroupDescriptor[];
989
996
  /**
@@ -1160,7 +1167,7 @@ declare interface GridColumnMenuSortBaseProps extends GridColumnMenuBaseProps {
1160
1167
  */
1161
1168
  sortable?: GridSortSettings;
1162
1169
  /**
1163
- * The current sort state of the Grid.
1170
+ * The current sort state of the Grid. It takes a value of type [SortDescriptor]({% slug api_kendo-data-query_sortdescriptor %})[]
1164
1171
  */
1165
1172
  sort?: SortDescriptor[];
1166
1173
  /**
@@ -1188,6 +1195,10 @@ export declare interface GridColumnMenuWrapperProps extends GridColumnMenuProps
1188
1195
  * The component to be rendered as content of the Grid column menu.
1189
1196
  */
1190
1197
  columnMenu?: React_2.ComponentType<GridColumnMenuProps> | null;
1198
+ /**
1199
+ * The icon that overrides the default(three vertical dots) icon displayed in the column menu of each column.
1200
+ */
1201
+ columnMenuIcon?: SVGIcon;
1191
1202
  }
1192
1203
 
1193
1204
  /**
@@ -1238,6 +1249,10 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell'> {
1238
1249
  * Defines the editor type. Used when the column enters the edit mode ([more information and examples]({% slug editing_inline_grid %})). Defaults to `text`.
1239
1250
  */
1240
1251
  editor?: 'text' | 'numeric' | 'boolean' | 'date';
1252
+ /**
1253
+ * Overrides the default(three vertical dots) column menu icon or the icon set through the ([`columnMenuIcon`]({% slug api_grid_gridprops %}#toc-columnmenuicon)) property.
1254
+ */
1255
+ menuIcon?: SVGIcon;
1241
1256
  /**
1242
1257
  * Defines the component that will be rendered as a cell. If not set, a `GridCell` will be rendered by default.
1243
1258
  */
@@ -1468,7 +1483,7 @@ export declare interface GridCustomHeaderCellProps extends GridHeaderCellProps {
1468
1483
  */
1469
1484
  export declare interface GridDataStateChangeEvent extends GridEvent {
1470
1485
  /**
1471
- * The state of the Grid based on the user action.
1486
+ * The [State]({% api_kendo-data-query_state %}) of the Grid based on the user action.
1472
1487
  */
1473
1488
  dataState: State;
1474
1489
  targetEvent?: PagerTargetEvent;
@@ -1562,9 +1577,7 @@ export declare interface GridExpandChangeEvent extends GridEvent {
1562
1577
  */
1563
1578
  dataItem: any;
1564
1579
  /**
1565
- * The available values are:
1566
- * - `true`&mdash;If the data item is expanded.
1567
- * - `false`&mdash;If the data item is collapsed.
1580
+ * Indicates whether the data item is expanded or collapsed
1568
1581
  */
1569
1582
  value: boolean;
1570
1583
  /**
@@ -1657,7 +1670,7 @@ export declare interface GridFilterCellProps {
1657
1670
  */
1658
1671
  export declare interface GridFilterChangeEvent extends GridEvent {
1659
1672
  /**
1660
- * The new `CompositeFilterDescriptor` based on the user action.
1673
+ * The new [CompositeFilterDescriptor]({% api_kendo-data-query_compositefilterdescriptor %}) based on the user action.
1661
1674
  */
1662
1675
  filter: CompositeFilterDescriptor;
1663
1676
  }
@@ -1764,7 +1777,7 @@ export declare const GridGroupCell: (props: GridCellProps) => JSX_2.Element | nu
1764
1777
  */
1765
1778
  export declare interface GridGroupChangeEvent extends GridEvent {
1766
1779
  /**
1767
- * An array of `GroupDescriptor` that corresponds to the user action.
1780
+ * An array of [GroupDescriptor]({% slug api_kendo-data-query_groupdescriptor %})[] that corresponds to the user action.
1768
1781
  */
1769
1782
  group: GroupDescriptor[];
1770
1783
  }
@@ -2061,6 +2074,10 @@ export declare interface GridPagerSettings {
2061
2074
  * Defines if the pager will be responsive. Defaults to `true`.
2062
2075
  */
2063
2076
  responsive?: boolean;
2077
+ /**
2078
+ * Defines if the pager will be navigatable.
2079
+ */
2080
+ navigatable?: boolean;
2064
2081
  }
2065
2082
 
2066
2083
  /**
@@ -2100,7 +2117,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2100
2117
  */
2101
2118
  cells?: GridCellsSettings;
2102
2119
  /**
2103
- * Sets the data of the Grid ([see example]({% slug paging_grid %})). If you use paging, the `data` option has to contain only the items for the current page.
2120
+ * Sets the data of the Grid ([see example]({% slug paging_grid %})). If you use paging, the `data` option has to contain only the items for the current page. It takes values of type null, any or [DataResult]({% slug api_kendo-data-query_dataresult%})
2104
2121
  */
2105
2122
  data?: any[] | DataResult | null;
2106
2123
  /**
@@ -2120,7 +2137,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2120
2137
  */
2121
2138
  onSortChange?: (event: GridSortChangeEvent) => void;
2122
2139
  /**
2123
- * The descriptors by which the data is sorted. Applies the sorting styles and buttons to the affected columns.
2140
+ * The ([descriptors]({% slug api_kendo-data-query_sortdescriptor %})) by which the data is sorted. Applies the sorting styles and buttons to the affected columns.
2124
2141
  */
2125
2142
  sort?: SortDescriptor[];
2126
2143
  /**
@@ -2128,55 +2145,11 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2128
2145
  */
2129
2146
  filterable?: boolean;
2130
2147
  /**
2131
- * The descriptor by which the data is filtered ([more information and examples]({% slug filtering_grid %})). This affects the values and buttons in the `FilterRow` of the Grid.
2148
+ * The [descriptor]({% api_kendo-data-query_compositefilterdescriptor %}) by which the data is filtered ([more information and examples]({% slug filtering_grid %})). This affects the values and buttons in the `FilterRow` of the Grid.
2132
2149
  */
2133
2150
  filter?: CompositeFilterDescriptor;
2134
2151
  /**
2135
2152
  * The filter operators for the Grid filters.
2136
- *
2137
- * @example
2138
- * ```jsx
2139
- * const customFilterOperators = {
2140
- * 'text': [
2141
- * { text: 'grid.filterContainsOperator', operator: 'contains' }
2142
- * ],
2143
- * 'numeric': [
2144
- * { text: 'grid.filterGtOperator', operator: 'gt' }
2145
- * ],
2146
- * 'date': [
2147
- * { text: 'grid.filterAfterOperator', operator: 'gt' }
2148
- * ]
2149
- * }
2150
- *
2151
- * class App extends React.Component {
2152
- * constructor(props) {
2153
- * super(props);
2154
- * this.state = {
2155
- * data: [
2156
- * { 'foo': 'A1', 'bar': 'B1' },
2157
- * { 'foo': 'A2', 'bar': 'B2' },
2158
- * { 'foo': 'A3', 'bar': 'B2' }
2159
- * ]
2160
- * };
2161
- * }
2162
- * render() {
2163
- * return (
2164
- * <div>
2165
- * <Grid
2166
- * data={this.state.data}
2167
- * reorderable={true}
2168
- * filterable
2169
- * filterOperators={customFilterOperators}
2170
- * >
2171
- * <GridColumn field="foo" />
2172
- * <GridColumn field="bar" />
2173
- * </Grid>
2174
- * </div>
2175
- * );
2176
- * }
2177
- * }
2178
- * ReactDOM.render(<App />, document.querySelector('my-app'));
2179
- * ```
2180
2153
  */
2181
2154
  filterOperators?: GridFilterOperators;
2182
2155
  /**
@@ -2188,7 +2161,11 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2188
2161
  */
2189
2162
  columnMenu?: null | ComponentType<GridColumnMenuProps>;
2190
2163
  /**
2191
- * The descriptors by which the data will be grouped
2164
+ * Globally overrides the default(three vertical dots) column menu icon for the whole Grid. If set, the prop can be overridden on column level using the ([menuIcon]({% slug api_grid_gridcolumnprops %}#toc-menuicon)) property.
2165
+ */
2166
+ columnMenuIcon?: SVGIcon_2;
2167
+ /**
2168
+ * The [descriptors]({% slug api_kendo-data-query_groupdescriptor %})[] by which the data will be grouped
2192
2169
  * ([more information and examples]({% slug groupingbasics_grid %})).
2193
2170
  */
2194
2171
  group?: GroupDescriptor[];
@@ -2206,6 +2183,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2206
2183
  * - `type: PagerType`&mdash;Accepts the `numeric` (buttons with numbers) and `input` (input for typing the page number) values.
2207
2184
  * - `pageSizes: Boolean` or `Array<number>`&mdash;Shows a menu for selecting the page size.
2208
2185
  * - `previousNext: Boolean`&mdash;Toggles the **Previous** and **Next** buttons.
2186
+ * - `navigatable: Boolean`&mdash;Defines if the pager will be navigatable.
2209
2187
  */
2210
2188
  pageable?: GridPagerSettings | boolean;
2211
2189
  /**
@@ -2213,7 +2191,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2213
2191
  */
2214
2192
  pageSize?: number;
2215
2193
  /**
2216
- * The pager component that the Grid will render instead of the built-in pager.
2194
+ * The pager component that the Grid will render instead of the built-in pager. It takes values of type null and ComponentType&lt;[PagerProps]({% slug api_data-tools_pagerprops %})&gt
2217
2195
  */
2218
2196
  pager?: null | ComponentType<PagerProps>;
2219
2197
  /**
@@ -2529,6 +2507,14 @@ export declare const GridSelectionCell: (props: GridCellProps) => JSX_2.Element
2529
2507
  * Represents the object of the `onSelectionChange` Grid event.
2530
2508
  */
2531
2509
  export declare interface GridSelectionChangeEvent extends GridEvent, TableSelectionChangeEvent<GridClassComponent> {
2510
+ /**
2511
+ * The dataItem from which the selection starts(Valid for scenarios without checkbox selection).
2512
+ */
2513
+ startDataItem?: any;
2514
+ /**
2515
+ * The dataItem to which the selection ends(Valid for scenarios without checkbox selection)
2516
+ */
2517
+ endDataItem?: any;
2532
2518
  }
2533
2519
 
2534
2520
  /**
@@ -2536,7 +2522,7 @@ export declare interface GridSelectionChangeEvent extends GridEvent, TableSelect
2536
2522
  */
2537
2523
  export declare interface GridSortChangeEvent extends GridEvent {
2538
2524
  /**
2539
- * The new `SortDescriptor` according to the user action.
2525
+ * The new ([SortDescriptor]({% slug api_kendo-data-query_sortdescriptor %})) according to the user action.
2540
2526
  */
2541
2527
  sort: SortDescriptor[];
2542
2528
  }
package/index.d.ts CHANGED
@@ -36,6 +36,7 @@ import { SortDescriptor } from '@progress/kendo-data-query';
36
36
  import { SortSettings } from '@progress/kendo-react-data-tools';
37
37
  import { State } from '@progress/kendo-data-query';
38
38
  import { SVGIcon } from '@progress/kendo-react-common';
39
+ import { SVGIcon as SVGIcon_2 } from '@progress/kendo-svg-icons';
39
40
  import { TABLE_COL_INDEX_ATTRIBUTE } from '@progress/kendo-react-data-tools';
40
41
  import { TableDragSelectionReleaseEvent } from '@progress/kendo-react-data-tools';
41
42
  import { TableKeyboardNavigationContextType } from '@progress/kendo-react-data-tools';
@@ -327,6 +328,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
327
328
  private _columnsMap;
328
329
  private _columnsMutations;
329
330
  private _resized;
331
+ private _focusFirst;
330
332
  private _shouldUpdateLeftRight;
331
333
  private contextStateRef;
332
334
  private navigationStateRef;
@@ -391,6 +393,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
391
393
  private forceUpdateTimeout;
392
394
  private isRtl;
393
395
  private rowIndex;
396
+ private headTable;
394
397
  private get _header();
395
398
  private get _gridId();
396
399
  private observer;
@@ -446,6 +449,9 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
446
449
  private onHeaderSelectionChange;
447
450
  private selectionRelease;
448
451
  private pageChange;
452
+ private getTotal;
453
+ private moveToNextPage;
454
+ private moveToPrevPage;
449
455
  private pagerPageChange;
450
456
  private sortChange;
451
457
  private filterChange;
@@ -472,6 +478,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
472
478
  private getDataState;
473
479
  private getArguments;
474
480
  private getLeafDataItems;
481
+ private getSlicedLeafDataItems;
475
482
  }
476
483
 
477
484
  /**
@@ -773,7 +780,7 @@ export declare class GridColumnMenuFilter extends React_2.Component<GridColumnMe
773
780
  */
774
781
  declare interface GridColumnMenuFilterBaseProps extends GridColumnMenuBaseProps {
775
782
  /**
776
- * The current filter state of the Grid.
783
+ * The current filter state of the Grid.It takes value of type [CompositeFilterDescriptor]({% api_kendo-data-query_compositefilterdescriptor %})
777
784
  */
778
785
  filter?: CompositeFilterDescriptor;
779
786
  /**
@@ -983,7 +990,7 @@ declare interface GridColumnMenuGroupBaseProps extends GridColumnMenuBaseProps {
983
990
  */
984
991
  groupable?: boolean;
985
992
  /**
986
- * The current group state of the Grid.
993
+ * The current group state of the Grid. It takes value of type [GroupDescriptor]({% slug api_kendo-data-query_groupdescriptor %})[]
987
994
  */
988
995
  group?: GroupDescriptor[];
989
996
  /**
@@ -1160,7 +1167,7 @@ declare interface GridColumnMenuSortBaseProps extends GridColumnMenuBaseProps {
1160
1167
  */
1161
1168
  sortable?: GridSortSettings;
1162
1169
  /**
1163
- * The current sort state of the Grid.
1170
+ * The current sort state of the Grid. It takes a value of type [SortDescriptor]({% slug api_kendo-data-query_sortdescriptor %})[]
1164
1171
  */
1165
1172
  sort?: SortDescriptor[];
1166
1173
  /**
@@ -1188,6 +1195,10 @@ export declare interface GridColumnMenuWrapperProps extends GridColumnMenuProps
1188
1195
  * The component to be rendered as content of the Grid column menu.
1189
1196
  */
1190
1197
  columnMenu?: React_2.ComponentType<GridColumnMenuProps> | null;
1198
+ /**
1199
+ * The icon that overrides the default(three vertical dots) icon displayed in the column menu of each column.
1200
+ */
1201
+ columnMenuIcon?: SVGIcon;
1191
1202
  }
1192
1203
 
1193
1204
  /**
@@ -1238,6 +1249,10 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell'> {
1238
1249
  * Defines the editor type. Used when the column enters the edit mode ([more information and examples]({% slug editing_inline_grid %})). Defaults to `text`.
1239
1250
  */
1240
1251
  editor?: 'text' | 'numeric' | 'boolean' | 'date';
1252
+ /**
1253
+ * Overrides the default(three vertical dots) column menu icon or the icon set through the ([`columnMenuIcon`]({% slug api_grid_gridprops %}#toc-columnmenuicon)) property.
1254
+ */
1255
+ menuIcon?: SVGIcon;
1241
1256
  /**
1242
1257
  * Defines the component that will be rendered as a cell. If not set, a `GridCell` will be rendered by default.
1243
1258
  */
@@ -1468,7 +1483,7 @@ export declare interface GridCustomHeaderCellProps extends GridHeaderCellProps {
1468
1483
  */
1469
1484
  export declare interface GridDataStateChangeEvent extends GridEvent {
1470
1485
  /**
1471
- * The state of the Grid based on the user action.
1486
+ * The [State]({% api_kendo-data-query_state %}) of the Grid based on the user action.
1472
1487
  */
1473
1488
  dataState: State;
1474
1489
  targetEvent?: PagerTargetEvent;
@@ -1562,9 +1577,7 @@ export declare interface GridExpandChangeEvent extends GridEvent {
1562
1577
  */
1563
1578
  dataItem: any;
1564
1579
  /**
1565
- * The available values are:
1566
- * - `true`&mdash;If the data item is expanded.
1567
- * - `false`&mdash;If the data item is collapsed.
1580
+ * Indicates whether the data item is expanded or collapsed
1568
1581
  */
1569
1582
  value: boolean;
1570
1583
  /**
@@ -1657,7 +1670,7 @@ export declare interface GridFilterCellProps {
1657
1670
  */
1658
1671
  export declare interface GridFilterChangeEvent extends GridEvent {
1659
1672
  /**
1660
- * The new `CompositeFilterDescriptor` based on the user action.
1673
+ * The new [CompositeFilterDescriptor]({% api_kendo-data-query_compositefilterdescriptor %}) based on the user action.
1661
1674
  */
1662
1675
  filter: CompositeFilterDescriptor;
1663
1676
  }
@@ -1764,7 +1777,7 @@ export declare const GridGroupCell: (props: GridCellProps) => JSX_2.Element | nu
1764
1777
  */
1765
1778
  export declare interface GridGroupChangeEvent extends GridEvent {
1766
1779
  /**
1767
- * An array of `GroupDescriptor` that corresponds to the user action.
1780
+ * An array of [GroupDescriptor]({% slug api_kendo-data-query_groupdescriptor %})[] that corresponds to the user action.
1768
1781
  */
1769
1782
  group: GroupDescriptor[];
1770
1783
  }
@@ -2061,6 +2074,10 @@ export declare interface GridPagerSettings {
2061
2074
  * Defines if the pager will be responsive. Defaults to `true`.
2062
2075
  */
2063
2076
  responsive?: boolean;
2077
+ /**
2078
+ * Defines if the pager will be navigatable.
2079
+ */
2080
+ navigatable?: boolean;
2064
2081
  }
2065
2082
 
2066
2083
  /**
@@ -2100,7 +2117,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2100
2117
  */
2101
2118
  cells?: GridCellsSettings;
2102
2119
  /**
2103
- * Sets the data of the Grid ([see example]({% slug paging_grid %})). If you use paging, the `data` option has to contain only the items for the current page.
2120
+ * Sets the data of the Grid ([see example]({% slug paging_grid %})). If you use paging, the `data` option has to contain only the items for the current page. It takes values of type null, any or [DataResult]({% slug api_kendo-data-query_dataresult%})
2104
2121
  */
2105
2122
  data?: any[] | DataResult | null;
2106
2123
  /**
@@ -2120,7 +2137,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2120
2137
  */
2121
2138
  onSortChange?: (event: GridSortChangeEvent) => void;
2122
2139
  /**
2123
- * The descriptors by which the data is sorted. Applies the sorting styles and buttons to the affected columns.
2140
+ * The ([descriptors]({% slug api_kendo-data-query_sortdescriptor %})) by which the data is sorted. Applies the sorting styles and buttons to the affected columns.
2124
2141
  */
2125
2142
  sort?: SortDescriptor[];
2126
2143
  /**
@@ -2128,55 +2145,11 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2128
2145
  */
2129
2146
  filterable?: boolean;
2130
2147
  /**
2131
- * The descriptor by which the data is filtered ([more information and examples]({% slug filtering_grid %})). This affects the values and buttons in the `FilterRow` of the Grid.
2148
+ * The [descriptor]({% api_kendo-data-query_compositefilterdescriptor %}) by which the data is filtered ([more information and examples]({% slug filtering_grid %})). This affects the values and buttons in the `FilterRow` of the Grid.
2132
2149
  */
2133
2150
  filter?: CompositeFilterDescriptor;
2134
2151
  /**
2135
2152
  * The filter operators for the Grid filters.
2136
- *
2137
- * @example
2138
- * ```jsx
2139
- * const customFilterOperators = {
2140
- * 'text': [
2141
- * { text: 'grid.filterContainsOperator', operator: 'contains' }
2142
- * ],
2143
- * 'numeric': [
2144
- * { text: 'grid.filterGtOperator', operator: 'gt' }
2145
- * ],
2146
- * 'date': [
2147
- * { text: 'grid.filterAfterOperator', operator: 'gt' }
2148
- * ]
2149
- * }
2150
- *
2151
- * class App extends React.Component {
2152
- * constructor(props) {
2153
- * super(props);
2154
- * this.state = {
2155
- * data: [
2156
- * { 'foo': 'A1', 'bar': 'B1' },
2157
- * { 'foo': 'A2', 'bar': 'B2' },
2158
- * { 'foo': 'A3', 'bar': 'B2' }
2159
- * ]
2160
- * };
2161
- * }
2162
- * render() {
2163
- * return (
2164
- * <div>
2165
- * <Grid
2166
- * data={this.state.data}
2167
- * reorderable={true}
2168
- * filterable
2169
- * filterOperators={customFilterOperators}
2170
- * >
2171
- * <GridColumn field="foo" />
2172
- * <GridColumn field="bar" />
2173
- * </Grid>
2174
- * </div>
2175
- * );
2176
- * }
2177
- * }
2178
- * ReactDOM.render(<App />, document.querySelector('my-app'));
2179
- * ```
2180
2153
  */
2181
2154
  filterOperators?: GridFilterOperators;
2182
2155
  /**
@@ -2188,7 +2161,11 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2188
2161
  */
2189
2162
  columnMenu?: null | ComponentType<GridColumnMenuProps>;
2190
2163
  /**
2191
- * The descriptors by which the data will be grouped
2164
+ * Globally overrides the default(three vertical dots) column menu icon for the whole Grid. If set, the prop can be overridden on column level using the ([menuIcon]({% slug api_grid_gridcolumnprops %}#toc-menuicon)) property.
2165
+ */
2166
+ columnMenuIcon?: SVGIcon_2;
2167
+ /**
2168
+ * The [descriptors]({% slug api_kendo-data-query_groupdescriptor %})[] by which the data will be grouped
2192
2169
  * ([more information and examples]({% slug groupingbasics_grid %})).
2193
2170
  */
2194
2171
  group?: GroupDescriptor[];
@@ -2206,6 +2183,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2206
2183
  * - `type: PagerType`&mdash;Accepts the `numeric` (buttons with numbers) and `input` (input for typing the page number) values.
2207
2184
  * - `pageSizes: Boolean` or `Array<number>`&mdash;Shows a menu for selecting the page size.
2208
2185
  * - `previousNext: Boolean`&mdash;Toggles the **Previous** and **Next** buttons.
2186
+ * - `navigatable: Boolean`&mdash;Defines if the pager will be navigatable.
2209
2187
  */
2210
2188
  pageable?: GridPagerSettings | boolean;
2211
2189
  /**
@@ -2213,7 +2191,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
2213
2191
  */
2214
2192
  pageSize?: number;
2215
2193
  /**
2216
- * The pager component that the Grid will render instead of the built-in pager.
2194
+ * The pager component that the Grid will render instead of the built-in pager. It takes values of type null and ComponentType&lt;[PagerProps]({% slug api_data-tools_pagerprops %})&gt
2217
2195
  */
2218
2196
  pager?: null | ComponentType<PagerProps>;
2219
2197
  /**
@@ -2529,6 +2507,14 @@ export declare const GridSelectionCell: (props: GridCellProps) => JSX_2.Element
2529
2507
  * Represents the object of the `onSelectionChange` Grid event.
2530
2508
  */
2531
2509
  export declare interface GridSelectionChangeEvent extends GridEvent, TableSelectionChangeEvent<GridClassComponent> {
2510
+ /**
2511
+ * The dataItem from which the selection starts(Valid for scenarios without checkbox selection).
2512
+ */
2513
+ startDataItem?: any;
2514
+ /**
2515
+ * The dataItem to which the selection ends(Valid for scenarios without checkbox selection)
2516
+ */
2517
+ endDataItem?: any;
2532
2518
  }
2533
2519
 
2534
2520
  /**
@@ -2536,7 +2522,7 @@ export declare interface GridSelectionChangeEvent extends GridEvent, TableSelect
2536
2522
  */
2537
2523
  export declare interface GridSortChangeEvent extends GridEvent {
2538
2524
  /**
2539
- * The new `SortDescriptor` according to the user action.
2525
+ * The new ([SortDescriptor]({% slug api_kendo-data-query_sortdescriptor %})) according to the user action.
2540
2526
  */
2541
2527
  sort: SortDescriptor[];
2542
2528
  }
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-grid",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1712928523,
13
+ publishDate: 1715353267,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-grid",
3
- "version": "7.5.0-develop.2",
3
+ "version": "7.5.0-develop.21",
4
4
  "description": "React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,18 +23,18 @@
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-data-query": "^1.0.0",
26
- "@progress/kendo-drawing": "^1.19.0",
26
+ "@progress/kendo-drawing": "^1.20.1",
27
27
  "@progress/kendo-licensing": "^1.3.4",
28
- "@progress/kendo-react-animation": "7.5.0-develop.2",
29
- "@progress/kendo-react-buttons": "7.5.0-develop.2",
30
- "@progress/kendo-react-common": "7.5.0-develop.2",
31
- "@progress/kendo-react-data-tools": "7.5.0-develop.2",
32
- "@progress/kendo-react-dateinputs": "7.5.0-develop.2",
33
- "@progress/kendo-react-dropdowns": "7.5.0-develop.2",
34
- "@progress/kendo-react-inputs": "7.5.0-develop.2",
35
- "@progress/kendo-react-intl": "7.5.0-develop.2",
36
- "@progress/kendo-react-popup": "7.5.0-develop.2",
37
- "@progress/kendo-svg-icons": "^2.1.0",
28
+ "@progress/kendo-react-animation": "7.5.0-develop.21",
29
+ "@progress/kendo-react-buttons": "7.5.0-develop.21",
30
+ "@progress/kendo-react-common": "7.5.0-develop.21",
31
+ "@progress/kendo-react-data-tools": "7.5.0-develop.21",
32
+ "@progress/kendo-react-dateinputs": "7.5.0-develop.21",
33
+ "@progress/kendo-react-dropdowns": "7.5.0-develop.21",
34
+ "@progress/kendo-react-inputs": "7.5.0-develop.21",
35
+ "@progress/kendo-react-intl": "7.5.0-develop.21",
36
+ "@progress/kendo-react-popup": "7.5.0-develop.21",
37
+ "@progress/kendo-svg-icons": "^3.0.0",
38
38
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
39
39
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
40
40
  },
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=({buttonCount:e=10,info:r=!0,type:t="numeric",pageSizes:o=void 0,previousNext:i=!0,responsive:n=void 0,pageSizeValue:u=void 0})=>({buttonCount:e,info:r,pageSizes:o===!0?[5,10,20]:o||void 0,previousNext:i,responsive:n!==!1,type:t,pageSizeValue:u}),s=e=>l(e===!0?{}:e);exports.normalize=s;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=({buttonCount:e=10,info:i=!0,type:o="numeric",pageSizes:t=void 0,previousNext:r=!0,responsive:a=void 0,navigatable:l=void 0,pageSizeValue:n=void 0})=>({buttonCount:e,info:i,pageSizes:t===!0?[5,10,20]:t||void 0,previousNext:r,responsive:a!==!1,navigatable:l!==!1,type:o,pageSizeValue:n}),s=e=>u(e===!0?{}:e);exports.normalize=s;
@@ -8,21 +8,23 @@
8
8
  "use client";
9
9
  const s = ({
10
10
  buttonCount: e = 10,
11
- info: r = !0,
12
- type: i = "numeric",
13
- pageSizes: o = void 0,
11
+ info: o = !0,
12
+ type: r = "numeric",
13
+ pageSizes: i = void 0,
14
14
  previousNext: t = !0,
15
- responsive: n = void 0,
16
- pageSizeValue: u = void 0
15
+ responsive: a = void 0,
16
+ navigatable: l = void 0,
17
+ pageSizeValue: n = void 0
17
18
  }) => ({
18
19
  buttonCount: e,
19
- info: r,
20
- pageSizes: o === !0 ? [5, 10, 20] : o || void 0,
20
+ info: o,
21
+ pageSizes: i === !0 ? [5, 10, 20] : i || void 0,
21
22
  previousNext: t,
22
- responsive: n !== !1,
23
- type: i,
24
- pageSizeValue: u
25
- }), l = (e) => s(e === !0 ? {} : e);
23
+ responsive: a !== !1,
24
+ navigatable: l !== !1,
25
+ type: r,
26
+ pageSizeValue: n
27
+ }), u = (e) => s(e === !0 ? {} : e);
26
28
  export {
27
- l as normalize
29
+ u as normalize
28
30
  };