@azrico/reactgrid 1.2.51 → 1.3.1

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,20 @@
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.1](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.3.1) (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
+
5
19
  ### [1.2.51](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.2.51) (2023-07-09)
6
20
 
7
21
 
@@ -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,8 @@ function set_row_id(obj, val) {
272
272
  }
273
273
  /**
274
274
  * Gets default activation key for grid plugin
275
+ * THIS KEY IS FOR DEBUGGING PURPOSE ONLY.
276
+ * PROVIDE YOUR OWN KEY
275
277
  * @returns
276
278
  */
277
279
  function get_default_key() {
@@ -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.2.51",
3
+ "version": "1.3.1",
4
4
  "main": "dist/index.js",
5
5
  "description": "React Datagrid",
6
6
  "author": "Azrideus <MehrdadTavangar@gmail.com>",
@@ -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() {
@@ -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}