@azrico/reactgrid 1.3.36 → 1.3.37

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.
@@ -362,7 +362,7 @@ function DataGridCore(props) {
362
362
  ...props.static_gridOptions,
363
363
  ...props.dynamic_gridOptions,
364
364
  rowIndexColumn: true,
365
- handle: ref => props.gridRef = ref,
365
+ handle: ref => props.gridRef.current = ref.current,
366
366
  className: 'azgrid-flexed',
367
367
  columns: props.columns,
368
368
  dataSource: props.dataSource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/reactgrid",
3
- "version": "1.3.36",
3
+ "version": "1.3.37",
4
4
  "main": "dist/index.js",
5
5
  "description": "React Datagrid",
6
6
  "author": "Azrideus <MehrdadTavangar@gmail.com>",
@@ -548,7 +548,7 @@ function DataGridCore(props: DataGridWrapperProps) {
548
548
  {...props.static_gridOptions}
549
549
  {...props.dynamic_gridOptions}
550
550
  rowIndexColumn
551
- handle={(ref) => (props.gridRef = ref as any)}
551
+ handle={(ref) => (props.gridRef.current = ref.current as any)}
552
552
  className={'azgrid-flexed'}
553
553
  columns={props.columns}
554
554
  dataSource={props.dataSource}