@azrico/reactgrid 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.3.2](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.3.2) (2023-08-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* editable can be a function ([6ea857e](https://github.com/Azrideus/azrico-reactgrid/commit/6ea857e4f403d2a334dc5e74065f6b8033277ca4))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* DataGridDelayedSizeWrapper actual delayed ([2ddfd2f](https://github.com/Azrideus/azrico-reactgrid/commit/2ddfd2fb58c90bd906e1330f22f0ef7468d34afb))
|
|
16
|
+
* onCellSelectionChange ([95c8f54](https://github.com/Azrideus/azrico-reactgrid/commit/95c8f540e94dde0c7e245fb29fb6afc7172957ec))
|
|
17
|
+
* styling ([9018f75](https://github.com/Azrideus/azrico-reactgrid/commit/9018f7593e253720f751f52855a2d956dfc578ed))
|
|
18
|
+
|
|
19
|
+
### [1.3.1](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.3.1) (2023-08-03)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* editable can be a function ([6ea857e](https://github.com/Azrideus/azrico-reactgrid/commit/6ea857e4f403d2a334dc5e74065f6b8033277ca4))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* DataGridDelayedSizeWrapper actual delayed ([2ddfd2f](https://github.com/Azrideus/azrico-reactgrid/commit/2ddfd2fb58c90bd906e1330f22f0ef7468d34afb))
|
|
30
|
+
* onCellSelectionChange ([95c8f54](https://github.com/Azrideus/azrico-reactgrid/commit/95c8f540e94dde0c7e245fb29fb6afc7172957ec))
|
|
31
|
+
* styling ([9018f75](https://github.com/Azrideus/azrico-reactgrid/commit/9018f7593e253720f751f52855a2d956dfc578ed))
|
|
32
|
+
|
|
5
33
|
### [1.2.51](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.2.51) (2023-07-09)
|
|
6
34
|
|
|
7
35
|
|
|
@@ -33,6 +33,8 @@ export declare function get_row_id(obj: any): any;
|
|
|
33
33
|
export declare function set_row_id(obj: any, val: undefined | string): any;
|
|
34
34
|
/**
|
|
35
35
|
* Gets default activation key for grid plugin
|
|
36
|
+
* THIS KEY IS FOR DEBUGGING PURPOSE ONLY.
|
|
37
|
+
* PROVIDE YOUR OWN KEY
|
|
36
38
|
* @returns
|
|
37
39
|
*/
|
|
38
40
|
export declare function get_default_key(): string;
|
|
@@ -272,6 +272,7 @@ function DataGridCore(props) {
|
|
|
272
272
|
}, _react.default.createElement(_reactdatagridEnterprise.default, {
|
|
273
273
|
...props.static_gridOptions,
|
|
274
274
|
...props.dynamic_gridOptions,
|
|
275
|
+
rowIndexColumn: true,
|
|
275
276
|
handle: ref => props.gridRef.current = ref ? ref.current : null,
|
|
276
277
|
className: 'azgrid-filler',
|
|
277
278
|
columns: props.columns,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azrico/reactgrid",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"description": "React Datagrid",
|
|
6
6
|
"author": "Azrideus <MehrdadTavangar@gmail.com>",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@azrico/object": "^1.4.35",
|
|
34
34
|
"@emotion/react": "^11.9.3",
|
|
35
35
|
"@emotion/styled": "^11.9.3",
|
|
36
|
-
"@inovua/reactdatagrid-enterprise": "^5.
|
|
37
|
-
"clsx": "^
|
|
36
|
+
"@inovua/reactdatagrid-enterprise": "^5.10.2",
|
|
37
|
+
"clsx": "^2.0.0",
|
|
38
38
|
"react": "^18.2.0",
|
|
39
39
|
"react-use-size": "^3.0.1"
|
|
40
40
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@azrico/object": ">=1.4.12",
|
|
44
44
|
"@emotion/react": ">=11.9.3",
|
|
45
45
|
"@emotion/styled": ">=11.9.3",
|
|
46
|
-
"@inovua/reactdatagrid-enterprise": ">=5.
|
|
46
|
+
"@inovua/reactdatagrid-enterprise": ">=5.10.2",
|
|
47
47
|
"clsx": ">=1.2.1",
|
|
48
48
|
"react": ">=18.2.0",
|
|
49
49
|
"react-use-size": ">=3.0.1"
|
package/src/func/func_grid.ts
CHANGED
|
@@ -277,6 +277,8 @@ export function set_row_id(obj: any, val: undefined | string): any {
|
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Gets default activation key for grid plugin
|
|
280
|
+
* THIS KEY IS FOR DEBUGGING PURPOSE ONLY.
|
|
281
|
+
* PROVIDE YOUR OWN KEY
|
|
280
282
|
* @returns
|
|
281
283
|
*/
|
|
282
284
|
export function get_default_key() {
|
package/src/views/DataGrid.tsx
CHANGED
|
@@ -426,6 +426,7 @@ function DataGridCore(props: DataGridWrapperProps) {
|
|
|
426
426
|
<ReactDataGrid
|
|
427
427
|
{...props.static_gridOptions}
|
|
428
428
|
{...props.dynamic_gridOptions}
|
|
429
|
+
rowIndexColumn
|
|
429
430
|
handle={(ref) => (props.gridRef.current = ref ? ref.current : null)}
|
|
430
431
|
className={'azgrid-filler'}
|
|
431
432
|
columns={props.columns}
|