@progress/kendo-react-grid 13.3.0-develop.2 → 13.3.0-develop.4
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/GridClientWrapper.js +1 -1
- package/GridClientWrapper.mjs +354 -336
- package/GridComponent.js +1 -1
- package/GridComponent.mjs +330 -350
- package/columnMenu/GridColumnMenuWrapper.js +1 -1
- package/columnMenu/GridColumnMenuWrapper.mjs +28 -28
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/index.d.mts +283 -69
- package/index.d.ts +283 -69
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/rows/GridDetailRowRenderer.js +8 -0
- package/rows/GridDetailRowRenderer.mjs +103 -0
- package/rows/GridRowRenderer.js +8 -0
- package/rows/GridRowRenderer.mjs +88 -0
- package/stacked/GridStackedCell.js +9 -0
- package/stacked/GridStackedCell.mjs +69 -0
- package/stacked/GridStackedDetailToggle.js +9 -0
- package/stacked/GridStackedDetailToggle.mjs +37 -0
- package/stacked/GridStackedRow.js +9 -0
- package/stacked/GridStackedRow.mjs +463 -0
- package/stacked/StackedModeComponents.js +9 -0
- package/stacked/StackedModeComponents.mjs +54 -0
- package/stacked/StackedModeRow.js +8 -0
- package/stacked/StackedModeRow.mjs +131 -0
package/index.d.mts
CHANGED
|
@@ -315,7 +315,7 @@ export { getSelectedStateFromKeyDown }
|
|
|
315
315
|
export declare const getStatusData: (args: StatusDataArgs) => StatusItem[];
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
|
-
* Represents the [KendoReact Grid component](
|
|
318
|
+
* Represents the [KendoReact Grid component](https://www.telerik.com/kendo-react-ui/components/grid).
|
|
319
319
|
*
|
|
320
320
|
* @remarks
|
|
321
321
|
* Supported children components are: {@link GridColumn}, {@link GridToolbar}, {@link GridNoRecords}, {@link StatusBar}.
|
|
@@ -775,7 +775,7 @@ export declare interface GridCellBaseOptions {
|
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
777
|
* Represents the props of the GridCell component
|
|
778
|
-
* ([more information](
|
|
778
|
+
* ([more information](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-grid-cells)).
|
|
779
779
|
*/
|
|
780
780
|
export declare interface GridCellProps extends Omit<CellProps, 'onChange' | 'render'> {
|
|
781
781
|
/**
|
|
@@ -918,7 +918,7 @@ export declare interface GridCellsSettings {
|
|
|
918
918
|
*/
|
|
919
919
|
groupHeader?: ComponentType<GridCustomCellProps>;
|
|
920
920
|
/**
|
|
921
|
-
* Custom component for rendering the data cell.
|
|
921
|
+
* Custom component for rendering the data cell in table layout mode.
|
|
922
922
|
*
|
|
923
923
|
* @example
|
|
924
924
|
* ```tsx
|
|
@@ -927,6 +927,20 @@ export declare interface GridCellsSettings {
|
|
|
927
927
|
* ```
|
|
928
928
|
*/
|
|
929
929
|
data?: ComponentType<GridCustomCellProps>;
|
|
930
|
+
/**
|
|
931
|
+
* Custom component for rendering the data cell in stacked layout mode.
|
|
932
|
+
* When both `stackedData` and `data` are provided, `stackedData` takes precedence in stacked layout.
|
|
933
|
+
*
|
|
934
|
+
* @example
|
|
935
|
+
* ```tsx
|
|
936
|
+
* import { MyStackedDataCell } from './MyStackedDataCell';
|
|
937
|
+
* <Grid
|
|
938
|
+
* stackedLayout={{ enabled: true }}
|
|
939
|
+
* cells={{ stackedData: MyStackedDataCell }}
|
|
940
|
+
* />
|
|
941
|
+
* ```
|
|
942
|
+
*/
|
|
943
|
+
stackedData?: ComponentType<GridStackedCustomCellProps>;
|
|
930
944
|
/**
|
|
931
945
|
* Custom component for rendering the group footer cell.
|
|
932
946
|
*
|
|
@@ -1348,7 +1362,7 @@ export declare const GridColumnMenuFilter: (props: GridColumnMenuFilterProps) =>
|
|
|
1348
1362
|
*/
|
|
1349
1363
|
declare interface GridColumnMenuFilterBaseProps extends GridColumnMenuBaseProps {
|
|
1350
1364
|
/**
|
|
1351
|
-
* The current filter state of the Grid.It takes value of type [CompositeFilterDescriptor](
|
|
1365
|
+
* The current filter state of the Grid.It takes value of type [CompositeFilterDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/compositefilterdescriptor)
|
|
1352
1366
|
*/
|
|
1353
1367
|
filter?: CompositeFilterDescriptor;
|
|
1354
1368
|
/**
|
|
@@ -1405,7 +1419,7 @@ export declare interface GridColumnMenuFilterProps extends GridColumnMenuFilterB
|
|
|
1405
1419
|
hideSecondFilter?: boolean;
|
|
1406
1420
|
/**
|
|
1407
1421
|
* Specifies a React element that will be cloned and rendered inside the UI of the column-menu filter component
|
|
1408
|
-
* ([see example](
|
|
1422
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu#toc-customizing-the-filter-component)).
|
|
1409
1423
|
*/
|
|
1410
1424
|
filterUI?: ComponentType<GridColumnMenuFilterUIProps>;
|
|
1411
1425
|
/**
|
|
@@ -1510,7 +1524,7 @@ declare interface GridColumnMenuGroupBaseProps extends GridColumnMenuBaseProps {
|
|
|
1510
1524
|
*/
|
|
1511
1525
|
groupable?: boolean;
|
|
1512
1526
|
/**
|
|
1513
|
-
* The current group state of the Grid. It takes value of type [GroupDescriptor](
|
|
1527
|
+
* The current group state of the Grid. It takes value of type [GroupDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/groupdescriptor)[]
|
|
1514
1528
|
*/
|
|
1515
1529
|
group?: GroupDescriptor[];
|
|
1516
1530
|
/**
|
|
@@ -1664,7 +1678,7 @@ declare interface GridColumnMenuSortBaseProps extends GridColumnMenuBaseProps {
|
|
|
1664
1678
|
*/
|
|
1665
1679
|
sortable?: GridSortSettings;
|
|
1666
1680
|
/**
|
|
1667
|
-
* The current sort state of the Grid. It takes a value of type [SortDescriptor](
|
|
1681
|
+
* The current sort state of the Grid. It takes a value of type [SortDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/sortdescriptor)[]
|
|
1668
1682
|
*/
|
|
1669
1683
|
sort?: SortDescriptor[];
|
|
1670
1684
|
/**
|
|
@@ -1737,7 +1751,7 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell' |
|
|
|
1737
1751
|
*/
|
|
1738
1752
|
children?: GridColumnProps[] | ReactElement<GridColumnProps>[] | GridColumnChildrenProps[];
|
|
1739
1753
|
/**
|
|
1740
|
-
* Specifies a React element that will be cloned and rendered inside the column menu of the Grid ([see example](
|
|
1754
|
+
* 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)).
|
|
1741
1755
|
*
|
|
1742
1756
|
* @example
|
|
1743
1757
|
* ```jsx
|
|
@@ -1765,7 +1779,7 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell' |
|
|
|
1765
1779
|
*/
|
|
1766
1780
|
groupable?: boolean;
|
|
1767
1781
|
/**
|
|
1768
|
-
* Defines whether the column is editable ([more information and examples](
|
|
1782
|
+
* Defines whether the column is editable ([more information and examples](https://www.telerik.com/kendo-react-ui/components/grid/editing/editing-inline)).
|
|
1769
1783
|
*
|
|
1770
1784
|
* @example
|
|
1771
1785
|
* ```jsx
|
|
@@ -1803,7 +1817,7 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell' |
|
|
|
1803
1817
|
*/
|
|
1804
1818
|
filter?: GridDataType;
|
|
1805
1819
|
/**
|
|
1806
|
-
* Defines the editor type. Used when the column enters the edit mode ([more information and examples](
|
|
1820
|
+
* 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)).
|
|
1807
1821
|
*
|
|
1808
1822
|
* @example
|
|
1809
1823
|
* ```jsx
|
|
@@ -1827,7 +1841,7 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell' |
|
|
|
1827
1841
|
*/
|
|
1828
1842
|
validator?: FieldProps['validator'];
|
|
1829
1843
|
/**
|
|
1830
|
-
* Overrides the default (three vertical dots) column menu icon or the icon set through the ([`columnMenuIcon`](
|
|
1844
|
+
* 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.
|
|
1831
1845
|
*
|
|
1832
1846
|
* @example
|
|
1833
1847
|
* ```jsx
|
|
@@ -2258,7 +2272,7 @@ export declare interface GridCustomFooterCellProps extends GridFooterCellProps {
|
|
|
2258
2272
|
*/
|
|
2259
2273
|
export declare interface GridCustomHeaderCellProps extends GridHeaderCellProps {
|
|
2260
2274
|
/**
|
|
2261
|
-
* The props and attributes that are applied to the `th` element by default. The property should be used with the [HeaderThElement](
|
|
2275
|
+
* The props and attributes that are applied to the `th` element by default. The property should be used with the [HeaderThElement](https://www.telerik.com/kendo-react-ui/components/datatools/api/headerthelement) component as demonstrated in [this example](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-group-header-group-footer-header-cell-footer-cell-filter-cell-and-data-cell).
|
|
2262
2276
|
*/
|
|
2263
2277
|
thProps?: GridThAttributes | null;
|
|
2264
2278
|
/**
|
|
@@ -2285,23 +2299,31 @@ export declare interface GridCustomRowProps extends GridRowProps {
|
|
|
2285
2299
|
children?: React.ReactNode | React.ReactNode[];
|
|
2286
2300
|
}
|
|
2287
2301
|
|
|
2302
|
+
/**
|
|
2303
|
+
* The data layout mode for the Grid.
|
|
2304
|
+
*
|
|
2305
|
+
* - `columns`: Traditional column-based table layout (default).
|
|
2306
|
+
* - `stacked`: Card-based layout with field labels and values stacked vertically.
|
|
2307
|
+
*/
|
|
2308
|
+
export declare type GridDataLayoutMode = 'columns' | 'stacked';
|
|
2309
|
+
|
|
2288
2310
|
/**
|
|
2289
2311
|
* Represents the object of the `onDataStateChange` Grid event.
|
|
2290
2312
|
*/
|
|
2291
2313
|
export declare interface GridDataStateChangeEvent extends GridEvent {
|
|
2292
2314
|
/**
|
|
2293
|
-
* The [State](
|
|
2315
|
+
* The [State](https://www.telerik.com/kendo-react-ui/components/datatools/api/state) of the Grid based on the user action.
|
|
2294
2316
|
*/
|
|
2295
2317
|
dataState: State;
|
|
2296
2318
|
/**
|
|
2297
|
-
* The [PagerTargetEvent](
|
|
2319
|
+
* The [PagerTargetEvent](https://www.telerik.com/kendo-react-ui/components/datatools/api/pagertargetevent) that triggered the data state change.
|
|
2298
2320
|
*/
|
|
2299
2321
|
targetEvent?: PagerTargetEvent;
|
|
2300
2322
|
}
|
|
2301
2323
|
|
|
2302
2324
|
/**
|
|
2303
|
-
* Exposes the data types available when setting the [filter](
|
|
2304
|
-
* [editor](
|
|
2325
|
+
* Exposes the data types available when setting the [filter](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops#toc-filter) or
|
|
2326
|
+
* [editor](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops#toc-editor) property of the Grid columns.
|
|
2305
2327
|
*/
|
|
2306
2328
|
export declare type GridDataType = 'text' | 'numeric' | 'boolean' | 'date';
|
|
2307
2329
|
|
|
@@ -2350,7 +2372,7 @@ export declare interface GridDetailExpandChangeEvent extends GridEvent {
|
|
|
2350
2372
|
export declare const GridDetailRow: (props: GridDetailRowProps) => null;
|
|
2351
2373
|
|
|
2352
2374
|
/**
|
|
2353
|
-
* The props of the GridDetailRow component ([see example](
|
|
2375
|
+
* The props of the GridDetailRow component ([see example](https://www.telerik.com/kendo-react-ui/components/grid/rows/detail)).
|
|
2354
2376
|
*/
|
|
2355
2377
|
export declare interface GridDetailRowProps {
|
|
2356
2378
|
/**
|
|
@@ -2425,8 +2447,8 @@ export declare const GridFilterCell: (props: GridFilterCellProps) => JSX.Element
|
|
|
2425
2447
|
|
|
2426
2448
|
/**
|
|
2427
2449
|
* The props of the GridFilterCell component
|
|
2428
|
-
* ([more information](
|
|
2429
|
-
* and [example](
|
|
2450
|
+
* ([more information](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-filter-cells)
|
|
2451
|
+
* and [example](https://www.telerik.com/kendo-react-ui/components/grid/filtering#toc-custom-filter-cells)).
|
|
2430
2452
|
*/
|
|
2431
2453
|
export declare interface GridFilterCellProps {
|
|
2432
2454
|
/**
|
|
@@ -2488,7 +2510,7 @@ export declare interface GridFilterCellProps {
|
|
|
2488
2510
|
*/
|
|
2489
2511
|
export declare interface GridFilterChangeEvent extends GridEvent {
|
|
2490
2512
|
/**
|
|
2491
|
-
* The new [CompositeFilterDescriptor](
|
|
2513
|
+
* The new [CompositeFilterDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/compositefilterdescriptor) based on the user action.
|
|
2492
2514
|
*/
|
|
2493
2515
|
filter: CompositeFilterDescriptor;
|
|
2494
2516
|
}
|
|
@@ -2550,7 +2572,7 @@ export declare interface GridFilterOperators {
|
|
|
2550
2572
|
|
|
2551
2573
|
/**
|
|
2552
2574
|
* The props of the GridFooterCell component
|
|
2553
|
-
* ([see example](
|
|
2575
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-footer-cells)).
|
|
2554
2576
|
*/
|
|
2555
2577
|
export declare interface GridFooterCellProps {
|
|
2556
2578
|
/**
|
|
@@ -2572,7 +2594,7 @@ export declare interface GridFooterCellProps {
|
|
|
2572
2594
|
}
|
|
2573
2595
|
|
|
2574
2596
|
/**
|
|
2575
|
-
* The settings for grouping the data of the Grid ([see example](
|
|
2597
|
+
* The settings for grouping the data of the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/grouping/grouping)).
|
|
2576
2598
|
*/
|
|
2577
2599
|
export declare interface GridGroupableSettings {
|
|
2578
2600
|
/**
|
|
@@ -2601,7 +2623,7 @@ export declare const GridGroupCell: (props: {
|
|
|
2601
2623
|
*/
|
|
2602
2624
|
export declare interface GridGroupChangeEvent extends GridEvent {
|
|
2603
2625
|
/**
|
|
2604
|
-
* An array of [GroupDescriptor](
|
|
2626
|
+
* An array of [GroupDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/groupdescriptor)[] that corresponds to the user action.
|
|
2605
2627
|
*/
|
|
2606
2628
|
group: GroupDescriptor[];
|
|
2607
2629
|
}
|
|
@@ -2644,7 +2666,7 @@ export declare interface GridHandle {
|
|
|
2644
2666
|
*/
|
|
2645
2667
|
props: GridProps;
|
|
2646
2668
|
/**
|
|
2647
|
-
* A getter of the current columns. Gets the current column width or current columns, or any other [`GridColumnProps`](
|
|
2669
|
+
* A getter of the current columns. Gets the current column width or current columns, or any other [`GridColumnProps`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops) for each defined column. Can be used on each Grid instance. To obtain the instance of the rendered Grid, use the `ref` callback. The following example demonstrates how to reorder the columns by dragging their handlers and check the properties afterwards. You can check the result in the browser console.
|
|
2648
2670
|
*
|
|
2649
2671
|
* @example
|
|
2650
2672
|
* ```jsx
|
|
@@ -2766,7 +2788,7 @@ export declare const GridHeaderCell: (props: GridHeaderCellProps) => JSX.Element
|
|
|
2766
2788
|
|
|
2767
2789
|
/**
|
|
2768
2790
|
* The props of the GridHeaderCell component
|
|
2769
|
-
* ([more information](
|
|
2791
|
+
* ([more information](https://www.telerik.com/kendo-react-ui/components/grid/cells#toc-header-cells)).
|
|
2770
2792
|
*/
|
|
2771
2793
|
export declare interface GridHeaderCellProps extends Omit<HeaderCellBaseProps, 'render'> {
|
|
2772
2794
|
/**
|
|
@@ -2784,7 +2806,7 @@ export declare interface GridHeaderCellProps extends Omit<HeaderCellBaseProps, '
|
|
|
2784
2806
|
*/
|
|
2785
2807
|
export declare interface GridHeaderSelectionChangeEvent extends GridEvent {
|
|
2786
2808
|
/**
|
|
2787
|
-
* The new [SelectDescriptor](
|
|
2809
|
+
* The new [SelectDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/selectdescriptor) based on the user action.
|
|
2788
2810
|
*/
|
|
2789
2811
|
select: SelectDescriptor;
|
|
2790
2812
|
/**
|
|
@@ -3004,7 +3026,7 @@ export declare interface GridPageChangeEvent extends GridEvent {
|
|
|
3004
3026
|
}
|
|
3005
3027
|
|
|
3006
3028
|
/**
|
|
3007
|
-
* The pager settings of the Grid ([see example](
|
|
3029
|
+
* The pager settings of the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/paging)).
|
|
3008
3030
|
*
|
|
3009
3031
|
* @example
|
|
3010
3032
|
* ```jsx-no-run
|
|
@@ -3095,7 +3117,7 @@ export declare interface GridPdfExportButtonProps extends ButtonProps {
|
|
|
3095
3117
|
}
|
|
3096
3118
|
|
|
3097
3119
|
/**
|
|
3098
|
-
* Represents the props of the [KendoReact Grid component](
|
|
3120
|
+
* Represents the props of the [KendoReact Grid component](https://www.telerik.com/kendo-react-ui/components/grid).
|
|
3099
3121
|
*/
|
|
3100
3122
|
export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
3101
3123
|
/**
|
|
@@ -3130,7 +3152,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3130
3152
|
*
|
|
3131
3153
|
* @example
|
|
3132
3154
|
* ```jsx
|
|
3133
|
-
* <Grid dataItemKey="
|
|
3155
|
+
* <Grid dataItemKey="ID" />
|
|
3134
3156
|
* ```
|
|
3135
3157
|
*/
|
|
3136
3158
|
dataItemKey?: string;
|
|
@@ -3185,7 +3207,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3185
3207
|
*/
|
|
3186
3208
|
rows?: GridRowsSettings;
|
|
3187
3209
|
/**
|
|
3188
|
-
* Sets the data of the Grid ([see example](
|
|
3210
|
+
* Sets the data of the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/paging)). 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](https://www.telerik.com/kendo-react-ui/components/datatools/api/dataresult)
|
|
3189
3211
|
* Accepts values of type `null`, `any[]`, or `DataResult`.
|
|
3190
3212
|
*
|
|
3191
3213
|
* @example
|
|
@@ -3196,7 +3218,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3196
3218
|
data?: any[] | DataResult | null;
|
|
3197
3219
|
/**
|
|
3198
3220
|
* Enables sorting for the columns with their `field` option set.
|
|
3199
|
-
* ([see example](
|
|
3221
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/grid/sorting))
|
|
3200
3222
|
*
|
|
3201
3223
|
* @example
|
|
3202
3224
|
* ```jsx
|
|
@@ -3228,7 +3250,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3228
3250
|
onClipboard?: (event: GridClipboardEvent) => void;
|
|
3229
3251
|
/**
|
|
3230
3252
|
* Fires when the sorting of the Grid is changed. You must handle the event and sort the data.
|
|
3231
|
-
* ([see example](
|
|
3253
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/grid/sorting))
|
|
3232
3254
|
*
|
|
3233
3255
|
* @example
|
|
3234
3256
|
* ```jsx
|
|
@@ -3240,7 +3262,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3240
3262
|
*/
|
|
3241
3263
|
onSortChange?: (event: GridSortChangeEvent) => void;
|
|
3242
3264
|
/**
|
|
3243
|
-
* The ([descriptors](
|
|
3265
|
+
* The ([descriptors](https://www.telerik.com/kendo-react-ui/components/datatools/api/sortdescriptor)) by which the data is sorted. Applies the sorting styles and buttons to the affected columns.
|
|
3244
3266
|
*
|
|
3245
3267
|
* @example
|
|
3246
3268
|
* ```jsx
|
|
@@ -3250,7 +3272,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3250
3272
|
sort?: SortDescriptor[];
|
|
3251
3273
|
/**
|
|
3252
3274
|
* The default `sort` state applied to the Grid when using uncontrolled mode.
|
|
3253
|
-
* ([see example](
|
|
3275
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/grid/sorting))
|
|
3254
3276
|
*
|
|
3255
3277
|
* @example
|
|
3256
3278
|
* ```jsx
|
|
@@ -3268,8 +3290,8 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3268
3290
|
*/
|
|
3269
3291
|
filterable?: boolean;
|
|
3270
3292
|
/**
|
|
3271
|
-
* The [descriptor](
|
|
3272
|
-
* the data is filtered ([more information and examples](
|
|
3293
|
+
* The [descriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/compositefilterdescriptor) by which
|
|
3294
|
+
* the data is filtered ([more information and examples](https://www.telerik.com/kendo-react-ui/components/grid/filtering)). This affects
|
|
3273
3295
|
* the values and buttons in the `FilterRow` of the Grid.
|
|
3274
3296
|
*
|
|
3275
3297
|
* @example
|
|
@@ -3369,7 +3391,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3369
3391
|
contextMenu?: boolean | GridContextMenuOptions | ((options: GridCellBaseOptions) => boolean | GridContextMenuOptions);
|
|
3370
3392
|
/**
|
|
3371
3393
|
* Globally overrides the default (three vertical dots) column menu icon for the whole Grid. If set, the prop can be overridden on column level
|
|
3372
|
-
* using the ([menuIcon](
|
|
3394
|
+
* using the ([menuIcon](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcolumnprops#toc-menuicon)) property.
|
|
3373
3395
|
*/
|
|
3374
3396
|
columnMenuIcon?: SVGIcon_2;
|
|
3375
3397
|
/**
|
|
@@ -3381,8 +3403,8 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3381
3403
|
*/
|
|
3382
3404
|
adaptiveTitle?: string;
|
|
3383
3405
|
/**
|
|
3384
|
-
* The [descriptors](
|
|
3385
|
-
* ([more information and examples](
|
|
3406
|
+
* The [descriptors](https://www.telerik.com/kendo-react-ui/components/datatools/api/groupdescriptor)[] by which the data will be grouped
|
|
3407
|
+
* ([more information and examples](https://www.telerik.com/kendo-react-ui/components/grid/grouping)).
|
|
3386
3408
|
*
|
|
3387
3409
|
* @example
|
|
3388
3410
|
* ```jsx
|
|
@@ -3401,7 +3423,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3401
3423
|
defaultGroup?: GroupDescriptor[];
|
|
3402
3424
|
/**
|
|
3403
3425
|
* Fires when the grouping of the Grid is changed. You have to handle the event yourself and group the data
|
|
3404
|
-
* ([more information and examples](
|
|
3426
|
+
* ([more information and examples](https://www.telerik.com/kendo-react-ui/components/grid/grouping)).
|
|
3405
3427
|
*
|
|
3406
3428
|
* @example
|
|
3407
3429
|
* ```jsx
|
|
@@ -3410,7 +3432,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3410
3432
|
*/
|
|
3411
3433
|
onGroupChange?: (event: GridGroupChangeEvent) => void;
|
|
3412
3434
|
/**
|
|
3413
|
-
* Configures the pager of the Grid. Accepts `GridPagerSettings` or a boolean value.([see example](
|
|
3435
|
+
* Configures the pager of the Grid. Accepts `GridPagerSettings` or a boolean value.([see example](https://www.telerik.com/kendo-react-ui/components/grid/paging))
|
|
3414
3436
|
*
|
|
3415
3437
|
* The available options are:
|
|
3416
3438
|
* - `buttonCount: Number`—Sets the maximum numeric buttons count before the buttons are collapsed.
|
|
@@ -3441,7 +3463,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3441
3463
|
pageSize?: number;
|
|
3442
3464
|
/**
|
|
3443
3465
|
* The pager component that the Grid will render instead of the built-in pager.
|
|
3444
|
-
* It takes values of type null and ComponentType<[PagerProps](
|
|
3466
|
+
* It takes values of type null and ComponentType<[PagerProps](https://www.telerik.com/kendo-react-ui/components/datatools/api/pagerprops)>
|
|
3445
3467
|
*
|
|
3446
3468
|
* @example
|
|
3447
3469
|
* ```jsx
|
|
@@ -3511,7 +3533,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3511
3533
|
*/
|
|
3512
3534
|
total?: number;
|
|
3513
3535
|
/**
|
|
3514
|
-
* Defines the number of records that will be skipped by the pager ([see example](
|
|
3536
|
+
* Defines the number of records that will be skipped by the pager ([see example](https://www.telerik.com/kendo-react-ui/components/grid/paging)). Required by the paging functionality.
|
|
3515
3537
|
*
|
|
3516
3538
|
* @example
|
|
3517
3539
|
* ```jsx
|
|
@@ -3592,7 +3614,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3592
3614
|
*/
|
|
3593
3615
|
onGroupExpandChange?: (event: GridGroupExpandChangeEvent) => void;
|
|
3594
3616
|
/**
|
|
3595
|
-
* The [descriptor](
|
|
3617
|
+
* The [descriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/selectdescriptor) by which the selected state of an item is defined.
|
|
3596
3618
|
* Passing a boolean value will select the whole row, while passing an array of strings will select individual.
|
|
3597
3619
|
*
|
|
3598
3620
|
* @example
|
|
@@ -3712,7 +3734,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3712
3734
|
*/
|
|
3713
3735
|
onEditChange?: (event: GridEditChangeEvent) => void;
|
|
3714
3736
|
/**
|
|
3715
|
-
* Defines the scroll mode that is used by the Grid ([see example](
|
|
3737
|
+
* Defines the scroll mode that is used by the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/scroll-modes)).
|
|
3716
3738
|
*
|
|
3717
3739
|
* The available options are:
|
|
3718
3740
|
* - `none`—Renders no scrollbar.
|
|
@@ -3726,7 +3748,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3726
3748
|
*/
|
|
3727
3749
|
scrollable?: ScrollMode;
|
|
3728
3750
|
/**
|
|
3729
|
-
* Defines the row height and forces an equal height to all rows ([see example](
|
|
3751
|
+
* Defines the row height and forces an equal height to all rows ([see example](https://www.telerik.com/kendo-react-ui/components/grid/scroll-modes)).
|
|
3730
3752
|
*
|
|
3731
3753
|
* @example
|
|
3732
3754
|
* ```jsx
|
|
@@ -3744,7 +3766,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3744
3766
|
*/
|
|
3745
3767
|
detailRowHeight?: number;
|
|
3746
3768
|
/**
|
|
3747
|
-
* Specifies a React element that will be cloned and rendered inside the detail rows of the currently expanded items ([see example](
|
|
3769
|
+
* Specifies a React element that will be cloned and rendered inside the detail rows of the currently expanded items ([see example](https://www.telerik.com/kendo-react-ui/components/grid/hierarchy)).
|
|
3748
3770
|
*
|
|
3749
3771
|
* @example
|
|
3750
3772
|
* ```jsx
|
|
@@ -3798,7 +3820,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3798
3820
|
*/
|
|
3799
3821
|
style?: React.CSSProperties;
|
|
3800
3822
|
/**
|
|
3801
|
-
* Fires when the data state of the Grid is changed ([more information](
|
|
3823
|
+
* Fires when the data state of the Grid is changed ([more information](https://www.telerik.com/kendo-react-ui/components/grid/data-operations/local-operations) and [example](https://www.telerik.com/kendo-react-ui/components/grid/data-operations/odata-server-operations)).
|
|
3802
3824
|
*
|
|
3803
3825
|
* @example
|
|
3804
3826
|
* ```jsx
|
|
@@ -3807,7 +3829,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3807
3829
|
*/
|
|
3808
3830
|
onDataStateChange?: (event: GridDataStateChangeEvent) => void;
|
|
3809
3831
|
/**
|
|
3810
|
-
* If set to `true`, the user can resize columns by dragging the edges (resize handles) of their header cells ([see example](
|
|
3832
|
+
* If set to `true`, the user can resize columns by dragging the edges (resize handles) of their header cells ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/resizing)).
|
|
3811
3833
|
*
|
|
3812
3834
|
* @example
|
|
3813
3835
|
* ```jsx
|
|
@@ -3816,7 +3838,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3816
3838
|
*/
|
|
3817
3839
|
resizable?: boolean;
|
|
3818
3840
|
/**
|
|
3819
|
-
* If set to `true`, the user can reorder columns by dragging their header cells ([see example](
|
|
3841
|
+
* If set to `true`, the user can reorder columns by dragging their header cells ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/reordering)).
|
|
3820
3842
|
*
|
|
3821
3843
|
* @example
|
|
3822
3844
|
* ```jsx
|
|
@@ -3834,7 +3856,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
3834
3856
|
*/
|
|
3835
3857
|
rowReorderable?: boolean | GridRowReorderSettings;
|
|
3836
3858
|
/**
|
|
3837
|
-
* Determines if grouping by dragging and dropping the column headers is allowed ([more information and examples](
|
|
3859
|
+
* Determines if grouping by dragging and dropping the column headers is allowed ([more information and examples](https://www.telerik.com/kendo-react-ui/components/grid/grouping)).
|
|
3838
3860
|
*
|
|
3839
3861
|
* @example
|
|
3840
3862
|
* ```jsx
|
|
@@ -4018,6 +4040,76 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
4018
4040
|
* ```
|
|
4019
4041
|
*/
|
|
4020
4042
|
language?: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* Specifies the data layout mode for the Grid.
|
|
4045
|
+
*
|
|
4046
|
+
* - `"columns"`: Traditional column-based table layout (default).
|
|
4047
|
+
* - `"stacked"`: Card-based layout where each row displays as a vertical
|
|
4048
|
+
* stack of field label/value pairs. Useful for responsive layouts
|
|
4049
|
+
* and mobile devices.
|
|
4050
|
+
*
|
|
4051
|
+
* The stacked mode is independent of `adaptiveMode` and can be used separately.
|
|
4052
|
+
*
|
|
4053
|
+
* > Note: Row/column spanning is not supported in stacked mode.
|
|
4054
|
+
*
|
|
4055
|
+
* @default "columns"
|
|
4056
|
+
*
|
|
4057
|
+
* @example
|
|
4058
|
+
* ```tsx
|
|
4059
|
+
* // Traditional column layout (default)
|
|
4060
|
+
* <Grid dataLayoutMode="columns" data={data}>
|
|
4061
|
+
* <GridColumn field="name" title="Name" />
|
|
4062
|
+
* <GridColumn field="email" title="Email" />
|
|
4063
|
+
* </Grid>
|
|
4064
|
+
*
|
|
4065
|
+
* // Stacked card layout
|
|
4066
|
+
* <Grid dataLayoutMode="stacked" data={data}>
|
|
4067
|
+
* <GridColumn field="name" title="Name" />
|
|
4068
|
+
* <GridColumn field="email" title="Email" />
|
|
4069
|
+
* </Grid>
|
|
4070
|
+
* ```
|
|
4071
|
+
*/
|
|
4072
|
+
dataLayoutMode?: GridDataLayoutMode;
|
|
4073
|
+
/**
|
|
4074
|
+
* Configuration for the stacked layout mode.
|
|
4075
|
+
* Only applicable when `dataLayoutMode="stacked"`.
|
|
4076
|
+
*
|
|
4077
|
+
* The `cols` property defines how stacked cells are arranged:
|
|
4078
|
+
* - As a number: Creates that many equal-width columns
|
|
4079
|
+
* - As an array: The length defines column count, values define widths
|
|
4080
|
+
*
|
|
4081
|
+
* @example
|
|
4082
|
+
* ```tsx
|
|
4083
|
+
* // Two-column stacked layout with equal widths
|
|
4084
|
+
* <Grid
|
|
4085
|
+
* dataLayoutMode="stacked"
|
|
4086
|
+
* stackedLayoutSettings={{ cols: 2 }}
|
|
4087
|
+
* data={data}
|
|
4088
|
+
* >
|
|
4089
|
+
* <GridColumn field="name" title="Name" />
|
|
4090
|
+
* <GridColumn field="email" title="Email" />
|
|
4091
|
+
* </Grid>
|
|
4092
|
+
*
|
|
4093
|
+
* // Three columns with custom widths using fr units
|
|
4094
|
+
* <Grid
|
|
4095
|
+
* dataLayoutMode="stacked"
|
|
4096
|
+
* stackedLayoutSettings={{ cols: ['1fr', '2fr', '1fr'] }}
|
|
4097
|
+
* data={data}
|
|
4098
|
+
* >
|
|
4099
|
+
* ...
|
|
4100
|
+
* </Grid>
|
|
4101
|
+
*
|
|
4102
|
+
* // Custom widths with pixel and fraction units
|
|
4103
|
+
* <Grid
|
|
4104
|
+
* dataLayoutMode="stacked"
|
|
4105
|
+
* stackedLayoutSettings={{ cols: [{ width: 200 }, { width: '1fr' }] }}
|
|
4106
|
+
* data={data}
|
|
4107
|
+
* >
|
|
4108
|
+
* ...
|
|
4109
|
+
* </Grid>
|
|
4110
|
+
* ```
|
|
4111
|
+
*/
|
|
4112
|
+
stackedLayoutSettings?: GridStackedLayoutSettings;
|
|
4021
4113
|
}
|
|
4022
4114
|
|
|
4023
4115
|
/**
|
|
@@ -4288,7 +4380,7 @@ export declare const GridSelectionCell: (props: {
|
|
|
4288
4380
|
*/
|
|
4289
4381
|
export declare interface GridSelectionChangeEvent extends GridEvent, TableSelectionChangeEvent<GridHandle> {
|
|
4290
4382
|
/**
|
|
4291
|
-
* The new [SelectDescriptor](
|
|
4383
|
+
* The new [SelectDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/selectdescriptor) based on the user action.
|
|
4292
4384
|
*/
|
|
4293
4385
|
select: SelectDescriptor;
|
|
4294
4386
|
/**
|
|
@@ -4306,13 +4398,13 @@ export declare interface GridSelectionChangeEvent extends GridEvent, TableSelect
|
|
|
4306
4398
|
*/
|
|
4307
4399
|
export declare interface GridSortChangeEvent extends GridEvent {
|
|
4308
4400
|
/**
|
|
4309
|
-
* The new ([SortDescriptor](
|
|
4401
|
+
* The new ([SortDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/sortdescriptor)) according to the user action.
|
|
4310
4402
|
*/
|
|
4311
4403
|
sort: SortDescriptor[];
|
|
4312
4404
|
}
|
|
4313
4405
|
|
|
4314
4406
|
/**
|
|
4315
|
-
* The sorting settings of the Grid ([see example](
|
|
4407
|
+
* The sorting settings of the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/sorting)).
|
|
4316
4408
|
*
|
|
4317
4409
|
* @example
|
|
4318
4410
|
* ```jsx-no-run
|
|
@@ -4325,6 +4417,128 @@ export declare interface GridSortChangeEvent extends GridEvent {
|
|
|
4325
4417
|
*/
|
|
4326
4418
|
export declare type GridSortSettings = SortSettings;
|
|
4327
4419
|
|
|
4420
|
+
/**
|
|
4421
|
+
* Defines the width of a column in the stacked layout.
|
|
4422
|
+
*/
|
|
4423
|
+
export declare interface GridStackedColSize {
|
|
4424
|
+
/**
|
|
4425
|
+
* The width of the column. Number values are treated as pixels.
|
|
4426
|
+
* String values can be any valid CSS width (px, %, fr, etc.).
|
|
4427
|
+
*
|
|
4428
|
+
* @example
|
|
4429
|
+
* ```tsx
|
|
4430
|
+
* { width: 200 } // 200px
|
|
4431
|
+
* { width: '1fr' } // 1 fraction unit
|
|
4432
|
+
* { width: '50%' } // 50% of container
|
|
4433
|
+
* ```
|
|
4434
|
+
*/
|
|
4435
|
+
width?: string | number;
|
|
4436
|
+
}
|
|
4437
|
+
|
|
4438
|
+
/**
|
|
4439
|
+
* Props passed to custom cell components in stacked layout mode.
|
|
4440
|
+
* Similar to GridCustomCellProps but adapted for stacked layout rendering.
|
|
4441
|
+
*
|
|
4442
|
+
* @hidden
|
|
4443
|
+
*/
|
|
4444
|
+
declare interface GridStackedCustomCellProps {
|
|
4445
|
+
/**
|
|
4446
|
+
* The data item for this row.
|
|
4447
|
+
*/
|
|
4448
|
+
dataItem: any;
|
|
4449
|
+
/**
|
|
4450
|
+
* The field name from the column.
|
|
4451
|
+
*/
|
|
4452
|
+
field?: string;
|
|
4453
|
+
/**
|
|
4454
|
+
* The column title.
|
|
4455
|
+
*/
|
|
4456
|
+
title?: string;
|
|
4457
|
+
/**
|
|
4458
|
+
* The row type - always 'data' for stacked layout.
|
|
4459
|
+
*/
|
|
4460
|
+
rowType: 'data';
|
|
4461
|
+
/**
|
|
4462
|
+
* The zero-based index of the data item in the data collection.
|
|
4463
|
+
*/
|
|
4464
|
+
dataIndex?: number;
|
|
4465
|
+
/**
|
|
4466
|
+
* The index of the column in the visible columns collection.
|
|
4467
|
+
*/
|
|
4468
|
+
columnIndex: number;
|
|
4469
|
+
/**
|
|
4470
|
+
* Indicates whether the row is selected.
|
|
4471
|
+
*/
|
|
4472
|
+
isSelected?: boolean;
|
|
4473
|
+
/**
|
|
4474
|
+
* Indicates whether the cell is in edit mode.
|
|
4475
|
+
*/
|
|
4476
|
+
isInEdit?: boolean;
|
|
4477
|
+
/**
|
|
4478
|
+
* Format string for the value.
|
|
4479
|
+
*/
|
|
4480
|
+
format?: string;
|
|
4481
|
+
/**
|
|
4482
|
+
* Additional CSS class name.
|
|
4483
|
+
*/
|
|
4484
|
+
className?: string;
|
|
4485
|
+
/**
|
|
4486
|
+
* The column type.
|
|
4487
|
+
*/
|
|
4488
|
+
columnType?: string;
|
|
4489
|
+
/**
|
|
4490
|
+
* The props for the stacked cell container div.
|
|
4491
|
+
* Use this to apply default props to your custom cell wrapper.
|
|
4492
|
+
*/
|
|
4493
|
+
stackedCellProps: {
|
|
4494
|
+
className: string;
|
|
4495
|
+
'data-grid-col-index': number;
|
|
4496
|
+
id?: string;
|
|
4497
|
+
style?: React_2.CSSProperties;
|
|
4498
|
+
tabIndex: number;
|
|
4499
|
+
onClick?: (event: React_2.MouseEvent<HTMLElement>) => void;
|
|
4500
|
+
onKeyDown?: (event: React_2.KeyboardEvent<HTMLElement>) => void;
|
|
4501
|
+
onDoubleClick?: (event: React_2.MouseEvent<HTMLElement>) => void;
|
|
4502
|
+
onContextMenu?: (event: React_2.MouseEvent<HTMLElement>) => void;
|
|
4503
|
+
ref?: React_2.Ref<any>;
|
|
4504
|
+
onFocus?: (event: React_2.FocusEvent<HTMLElement>) => void;
|
|
4505
|
+
};
|
|
4506
|
+
/**
|
|
4507
|
+
* The default content (field value) that would be rendered.
|
|
4508
|
+
*/
|
|
4509
|
+
children?: React_2.ReactNode;
|
|
4510
|
+
}
|
|
4511
|
+
|
|
4512
|
+
/**
|
|
4513
|
+
* Configuration for the stacked layout mode in the Grid.
|
|
4514
|
+
*
|
|
4515
|
+
* The stacked layout renders each data row as a card with field label/value pairs
|
|
4516
|
+
* arranged in a CSS Grid layout.
|
|
4517
|
+
*/
|
|
4518
|
+
export declare interface GridStackedLayoutSettings {
|
|
4519
|
+
/**
|
|
4520
|
+
* Defines the number of columns in the stacked layout.
|
|
4521
|
+
*
|
|
4522
|
+
* - When a `number`, creates that many equal-width columns.
|
|
4523
|
+
* - When an `array`, the length defines the column count and values define widths.
|
|
4524
|
+
*
|
|
4525
|
+
* @default 1
|
|
4526
|
+
*
|
|
4527
|
+
* @example
|
|
4528
|
+
* ```tsx
|
|
4529
|
+
* // Two equal columns
|
|
4530
|
+
* <Grid stackedLayoutSettings={{ cols: 2 }} />
|
|
4531
|
+
*
|
|
4532
|
+
* // Three columns with custom widths using fr units
|
|
4533
|
+
* <Grid stackedLayoutSettings={{ cols: ['1fr', '2fr', '1fr'] }} />
|
|
4534
|
+
*
|
|
4535
|
+
* // Two columns with pixel and fraction widths
|
|
4536
|
+
* <Grid stackedLayoutSettings={{ cols: [{ width: 200 }, { width: '1fr' }] }} />
|
|
4537
|
+
* ```
|
|
4538
|
+
*/
|
|
4539
|
+
cols?: number | Array<number | string | GridStackedColSize>;
|
|
4540
|
+
}
|
|
4541
|
+
|
|
4328
4542
|
/**
|
|
4329
4543
|
* Represents the attributes for Grid table cell elements, extending standard HTML td element properties.
|
|
4330
4544
|
*/
|
|
@@ -4558,7 +4772,7 @@ export declare interface GridToolbarAIAssistantProps {
|
|
|
4558
4772
|
*/
|
|
4559
4773
|
gridAIPrompt?: CustomComponent<GridAIPromptProps>;
|
|
4560
4774
|
/**
|
|
4561
|
-
* Defines the icon rendered in the GridToolbarAIAssistant tool ([see example](
|
|
4775
|
+
* Defines the icon rendered in the GridToolbarAIAssistant tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)).
|
|
4562
4776
|
*
|
|
4563
4777
|
* @example
|
|
4564
4778
|
* ```jsx
|
|
@@ -4567,7 +4781,7 @@ export declare interface GridToolbarAIAssistantProps {
|
|
|
4567
4781
|
*/
|
|
4568
4782
|
icon?: string;
|
|
4569
4783
|
/**
|
|
4570
|
-
* Defines the SVG icon rendered in the GridToolbarAIAssistant tool ([see example](
|
|
4784
|
+
* Defines the SVG icon rendered in the GridToolbarAIAssistant tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)).
|
|
4571
4785
|
*
|
|
4572
4786
|
* @example
|
|
4573
4787
|
* ```jsx
|
|
@@ -4646,7 +4860,7 @@ export declare interface GridToolbarCheckboxFilterProps {
|
|
|
4646
4860
|
*/
|
|
4647
4861
|
data: Array<string | object>;
|
|
4648
4862
|
/**
|
|
4649
|
-
* Defines the icon rendered in the GridToolbarCheckboxFilter tool ([see example](
|
|
4863
|
+
* Defines the icon rendered in the GridToolbarCheckboxFilter tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)).
|
|
4650
4864
|
*
|
|
4651
4865
|
* @example
|
|
4652
4866
|
* ```jsx
|
|
@@ -4655,7 +4869,7 @@ export declare interface GridToolbarCheckboxFilterProps {
|
|
|
4655
4869
|
*/
|
|
4656
4870
|
icon?: string;
|
|
4657
4871
|
/**
|
|
4658
|
-
* Defines the SVG icon rendered in the GridToolbarCheckboxFilter tool ([see example](
|
|
4872
|
+
* Defines the SVG icon rendered in the GridToolbarCheckboxFilter tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)).
|
|
4659
4873
|
*
|
|
4660
4874
|
* @example
|
|
4661
4875
|
* ```jsx
|
|
@@ -4724,7 +4938,7 @@ export declare const GridToolbarColumnsChooser: {
|
|
|
4724
4938
|
|
|
4725
4939
|
export declare interface GridToolbarColumnsChooserProps {
|
|
4726
4940
|
/**
|
|
4727
|
-
* Defines the icon rendered in the GridToolbarSort tool ([see example](
|
|
4941
|
+
* Defines the icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)).
|
|
4728
4942
|
*
|
|
4729
4943
|
* @example
|
|
4730
4944
|
* ```jsx
|
|
@@ -4733,7 +4947,7 @@ export declare interface GridToolbarColumnsChooserProps {
|
|
|
4733
4947
|
*/
|
|
4734
4948
|
icon?: string;
|
|
4735
4949
|
/**
|
|
4736
|
-
* Defines the SVG icon rendered in the GridToolbarSort tool ([see example](
|
|
4950
|
+
* Defines the SVG icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)).
|
|
4737
4951
|
*
|
|
4738
4952
|
* @example
|
|
4739
4953
|
* ```jsx
|
|
@@ -4772,7 +4986,7 @@ export declare const GridToolbarFilter: {
|
|
|
4772
4986
|
|
|
4773
4987
|
export declare interface GridToolbarFilterProps {
|
|
4774
4988
|
/**
|
|
4775
|
-
* Defines the icon rendered in the GridToolbarFilter tool ([see example](
|
|
4989
|
+
* Defines the icon rendered in the GridToolbarFilter tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)).
|
|
4776
4990
|
*
|
|
4777
4991
|
* @example
|
|
4778
4992
|
* ```jsx
|
|
@@ -4781,7 +4995,7 @@ export declare interface GridToolbarFilterProps {
|
|
|
4781
4995
|
*/
|
|
4782
4996
|
icon?: string;
|
|
4783
4997
|
/**
|
|
4784
|
-
* Defines the SVG icon rendered in the GridToolbarFilter tool ([see example](
|
|
4998
|
+
* Defines the SVG icon rendered in the GridToolbarFilter tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)).
|
|
4785
4999
|
*
|
|
4786
5000
|
* @example
|
|
4787
5001
|
* ```jsx
|
|
@@ -4797,7 +5011,7 @@ export declare interface GridToolbarFilterProps {
|
|
|
4797
5011
|
hideSecondFilter?: boolean;
|
|
4798
5012
|
/**
|
|
4799
5013
|
* Specifies a React element that will be cloned and rendered inside the UI of the column-menu filter component
|
|
4800
|
-
* ([see example](
|
|
5014
|
+
* ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu#toc-customizing-the-filter-component)).
|
|
4801
5015
|
*/
|
|
4802
5016
|
filterUI?: ComponentType<GridColumnMenuFilterUIProps>;
|
|
4803
5017
|
/**
|
|
@@ -4834,7 +5048,7 @@ export declare const GridToolbarGroup: {
|
|
|
4834
5048
|
|
|
4835
5049
|
export declare interface GridToolbarGroupProps {
|
|
4836
5050
|
/**
|
|
4837
|
-
* Defines the icon rendered in the GridToolbarGroup tool ([see example](
|
|
5051
|
+
* Defines the icon rendered in the GridToolbarGroup tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)).
|
|
4838
5052
|
*
|
|
4839
5053
|
* @example
|
|
4840
5054
|
* ```jsx
|
|
@@ -4843,7 +5057,7 @@ export declare interface GridToolbarGroupProps {
|
|
|
4843
5057
|
*/
|
|
4844
5058
|
icon?: string;
|
|
4845
5059
|
/**
|
|
4846
|
-
* Defines the SVG icon rendered in the GridToolbarGroup tool ([see example](
|
|
5060
|
+
* Defines the SVG icon rendered in the GridToolbarGroup tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)).
|
|
4847
5061
|
*
|
|
4848
5062
|
* @example
|
|
4849
5063
|
* ```jsx
|
|
@@ -4907,7 +5121,7 @@ export declare const GridToolbarSort: {
|
|
|
4907
5121
|
|
|
4908
5122
|
export declare interface GridToolbarSortProps {
|
|
4909
5123
|
/**
|
|
4910
|
-
* Defines the icon rendered in the GridToolbarSort tool ([see example](
|
|
5124
|
+
* Defines the icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)).
|
|
4911
5125
|
*
|
|
4912
5126
|
* @example
|
|
4913
5127
|
* ```jsx
|
|
@@ -4916,7 +5130,7 @@ export declare interface GridToolbarSortProps {
|
|
|
4916
5130
|
*/
|
|
4917
5131
|
icon?: string;
|
|
4918
5132
|
/**
|
|
4919
|
-
* Defines the SVG icon rendered in the GridToolbarSort tool ([see example](
|
|
5133
|
+
* Defines the SVG icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)).
|
|
4920
5134
|
*
|
|
4921
5135
|
* @example
|
|
4922
5136
|
* ```jsx
|
|
@@ -5022,12 +5236,12 @@ export declare function handleAIResponse(response: AxiosResponse<any>, currentSt
|
|
|
5022
5236
|
declare type handler = (prevIndex: number, nextIndex: number, nativeEvent: any) => void;
|
|
5023
5237
|
|
|
5024
5238
|
/**
|
|
5025
|
-
* Can be used to check if filtering is applied to a specific field ([see example](
|
|
5239
|
+
* Can be used to check if filtering is applied to a specific field ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu#toc-styling-the-column-menu-icon)). Useful for creating active filter indicators.
|
|
5026
5240
|
*/
|
|
5027
5241
|
export declare const isColumnMenuFilterActive: (field: string, filter?: CompositeFilterDescriptor) => boolean;
|
|
5028
5242
|
|
|
5029
5243
|
/**
|
|
5030
|
-
* Can be used to check if sorting is applied to a specific field ([see example](
|
|
5244
|
+
* Can be used to check if sorting is applied to a specific field ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu#toc-styling-the-column-menu-icon)). Useful for creating active sort indicators.
|
|
5031
5245
|
*/
|
|
5032
5246
|
export declare const isColumnMenuSortActive: (field: string, sort?: SortDescriptor[]) => boolean;
|
|
5033
5247
|
|