@azrico/reactgrid 1.1.3 → 1.1.5

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.
@@ -13,3 +13,8 @@
13
13
  .InovuaReactDataGrid__cell {
14
14
  background: var(--grid-bg) !important;
15
15
  } */
16
+ .InovuaReactDataGrid__cell .InovuaReactDataGrid__cell__content {
17
+ height: 100%;
18
+ display: flex;
19
+ align-items: center;
20
+ }
@@ -145,7 +145,7 @@ function DataGrid(props) {
145
145
  ...events,
146
146
  ...extra_ops
147
147
  };
148
- }, []);
148
+ }, [props.allowChildRows, columns, props.RowDetail]);
149
149
  const static_gridOptions = _react.default.useMemo(() => {
150
150
  return {
151
151
  ...base_gridOptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/reactgrid",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "main": "dist/index.js",
5
5
  "description": "React Datagrid",
6
6
  "author": "Azrideus <MehrdadTavangar@gmail.com>",
@@ -13,3 +13,8 @@
13
13
  .InovuaReactDataGrid__cell {
14
14
  background: var(--grid-bg) !important;
15
15
  } */
16
+ .InovuaReactDataGrid__cell .InovuaReactDataGrid__cell__content {
17
+ height: 100%;
18
+ display: flex;
19
+ align-items: center;
20
+ }
@@ -245,7 +245,7 @@ function DataGrid(props: DataGridProps) {
245
245
  theme: dark ? 'amber-dark' : 'default-light',
246
246
  };
247
247
  return { ...defaultOptions, ...events, ...extra_ops };
248
- }, []);
248
+ }, [props.allowChildRows, columns, props.RowDetail]);
249
249
 
250
250
  const static_gridOptions = React.useMemo<GridOptions>(() => {
251
251
  return { ...base_gridOptions, ...props.gridOptions, ...forcedOptions };