@progress/kendo-react-grid 8.1.0-develop.8 → 8.1.0-develop.9
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/Grid.js +1 -1
- package/Grid.mjs +139 -119
- package/GridColumn.js +1 -1
- package/GridColumn.mjs +3 -1
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/index.d.mts +13 -0
- package/index.d.ts +13 -0
- package/package-metadata.mjs +1 -1
- package/package.json +10 -10
package/index.d.mts
CHANGED
|
@@ -336,6 +336,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
|
|
|
336
336
|
private _slicedData;
|
|
337
337
|
private wrapperScrollTop;
|
|
338
338
|
private showLicenseWatermark;
|
|
339
|
+
private resizeObserver?;
|
|
339
340
|
/**
|
|
340
341
|
* A getter of the current columns. Gets the current column width or current columns, or any other [`GridColumnProps`]({% slug api_grid_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.
|
|
341
342
|
*
|
|
@@ -434,6 +435,9 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
|
|
|
434
435
|
* @hidden
|
|
435
436
|
*/
|
|
436
437
|
render(): JSX_2.Element;
|
|
438
|
+
private getColumnsEssentialProps;
|
|
439
|
+
private checkMatchMediaColumnsDifferece;
|
|
440
|
+
private calculateMedia;
|
|
437
441
|
private onContextMenu;
|
|
438
442
|
private getVirtualScroll;
|
|
439
443
|
private isAllData;
|
|
@@ -471,6 +475,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
|
|
|
471
475
|
private childrenToArray;
|
|
472
476
|
private readColumns;
|
|
473
477
|
private mapColumns;
|
|
478
|
+
private filterHiddenColumns;
|
|
474
479
|
private initColumns;
|
|
475
480
|
private configureColumns;
|
|
476
481
|
private getHeaderRow;
|
|
@@ -1253,6 +1258,14 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell'> {
|
|
|
1253
1258
|
* Overrides the default(three vertical dots) column menu icon or the icon set through the ([`columnMenuIcon`]({% slug api_grid_gridprops %}#toc-columnmenuicon)) property.
|
|
1254
1259
|
*/
|
|
1255
1260
|
menuIcon?: SVGIcon;
|
|
1261
|
+
/**
|
|
1262
|
+
* Controls the visibility of Grid's column. Defaults to `false`.
|
|
1263
|
+
*/
|
|
1264
|
+
hidden?: boolean;
|
|
1265
|
+
/**
|
|
1266
|
+
* Sets the screen size condition that needs to be satisfied for a column to remain visible. If you set the hidden property, the behavior of media is overridden.
|
|
1267
|
+
*/
|
|
1268
|
+
media?: string;
|
|
1256
1269
|
/**
|
|
1257
1270
|
* Defines the component that will be rendered as a cell. If not set, a `GridCell` will be rendered by default.
|
|
1258
1271
|
*/
|
package/index.d.ts
CHANGED
|
@@ -336,6 +336,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
|
|
|
336
336
|
private _slicedData;
|
|
337
337
|
private wrapperScrollTop;
|
|
338
338
|
private showLicenseWatermark;
|
|
339
|
+
private resizeObserver?;
|
|
339
340
|
/**
|
|
340
341
|
* A getter of the current columns. Gets the current column width or current columns, or any other [`GridColumnProps`]({% slug api_grid_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.
|
|
341
342
|
*
|
|
@@ -434,6 +435,9 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
|
|
|
434
435
|
* @hidden
|
|
435
436
|
*/
|
|
436
437
|
render(): JSX_2.Element;
|
|
438
|
+
private getColumnsEssentialProps;
|
|
439
|
+
private checkMatchMediaColumnsDifferece;
|
|
440
|
+
private calculateMedia;
|
|
437
441
|
private onContextMenu;
|
|
438
442
|
private getVirtualScroll;
|
|
439
443
|
private isAllData;
|
|
@@ -471,6 +475,7 @@ export declare class GridClassComponent extends React_2.Component<GridProps> {
|
|
|
471
475
|
private childrenToArray;
|
|
472
476
|
private readColumns;
|
|
473
477
|
private mapColumns;
|
|
478
|
+
private filterHiddenColumns;
|
|
474
479
|
private initColumns;
|
|
475
480
|
private configureColumns;
|
|
476
481
|
private getHeaderRow;
|
|
@@ -1253,6 +1258,14 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell'> {
|
|
|
1253
1258
|
* Overrides the default(three vertical dots) column menu icon or the icon set through the ([`columnMenuIcon`]({% slug api_grid_gridprops %}#toc-columnmenuicon)) property.
|
|
1254
1259
|
*/
|
|
1255
1260
|
menuIcon?: SVGIcon;
|
|
1261
|
+
/**
|
|
1262
|
+
* Controls the visibility of Grid's column. Defaults to `false`.
|
|
1263
|
+
*/
|
|
1264
|
+
hidden?: boolean;
|
|
1265
|
+
/**
|
|
1266
|
+
* Sets the screen size condition that needs to be satisfied for a column to remain visible. If you set the hidden property, the behavior of media is overridden.
|
|
1267
|
+
*/
|
|
1268
|
+
media?: string;
|
|
1256
1269
|
/**
|
|
1257
1270
|
* Defines the component that will be rendered as a cell. If not set, a `GridCell` will be rendered by default.
|
|
1258
1271
|
*/
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-grid",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1718182316,
|
|
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": "8.1.0-develop.
|
|
3
|
+
"version": "8.1.0-develop.9",
|
|
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",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@progress/kendo-data-query": "^1.0.0",
|
|
26
26
|
"@progress/kendo-drawing": "^1.20.1",
|
|
27
27
|
"@progress/kendo-licensing": "^1.3.4",
|
|
28
|
-
"@progress/kendo-react-animation": "8.1.0-develop.
|
|
29
|
-
"@progress/kendo-react-buttons": "8.1.0-develop.
|
|
30
|
-
"@progress/kendo-react-common": "8.1.0-develop.
|
|
31
|
-
"@progress/kendo-react-data-tools": "8.1.0-develop.
|
|
32
|
-
"@progress/kendo-react-dateinputs": "8.1.0-develop.
|
|
33
|
-
"@progress/kendo-react-dropdowns": "8.1.0-develop.
|
|
34
|
-
"@progress/kendo-react-inputs": "8.1.0-develop.
|
|
35
|
-
"@progress/kendo-react-intl": "8.1.0-develop.
|
|
36
|
-
"@progress/kendo-react-popup": "8.1.0-develop.
|
|
28
|
+
"@progress/kendo-react-animation": "8.1.0-develop.9",
|
|
29
|
+
"@progress/kendo-react-buttons": "8.1.0-develop.9",
|
|
30
|
+
"@progress/kendo-react-common": "8.1.0-develop.9",
|
|
31
|
+
"@progress/kendo-react-data-tools": "8.1.0-develop.9",
|
|
32
|
+
"@progress/kendo-react-dateinputs": "8.1.0-develop.9",
|
|
33
|
+
"@progress/kendo-react-dropdowns": "8.1.0-develop.9",
|
|
34
|
+
"@progress/kendo-react-inputs": "8.1.0-develop.9",
|
|
35
|
+
"@progress/kendo-react-intl": "8.1.0-develop.9",
|
|
36
|
+
"@progress/kendo-react-popup": "8.1.0-develop.9",
|
|
37
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"
|