@azrico/reactgrid 1.1.21 → 1.1.23

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.
@@ -58,7 +58,7 @@ export type AzGridProps = {
58
58
  limit?: number;
59
59
  loading?: boolean;
60
60
  dark?: boolean;
61
- editable: boolean;
61
+ editable?: boolean;
62
62
  allowChildRows?: boolean;
63
63
  looseCacheCheck?: boolean;
64
64
  className?: string;
@@ -43,7 +43,9 @@ const defaultOptions = {
43
43
  editStartEvent: 'click',
44
44
  rowReorderColumn: false,
45
45
  resizable: true,
46
- rowIndexColumn: true
46
+ rowIndexColumn: true,
47
+ rowHeight: 40,
48
+ maxRowHeight: 40
47
49
  };
48
50
  const forcedOptions = {
49
51
  idProperty: '__table_id',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/reactgrid",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "main": "dist/index.js",
5
5
  "description": "React Datagrid",
6
6
  "author": "Azrideus <MehrdadTavangar@gmail.com>",
@@ -99,7 +99,7 @@ export type AzGridProps = {
99
99
  //
100
100
  loading?: boolean;
101
101
  dark?: boolean;
102
- editable: boolean;
102
+ editable?: boolean;
103
103
  allowChildRows?: boolean;
104
104
  looseCacheCheck?: boolean;
105
105
  className?: string;
@@ -135,7 +135,10 @@ const defaultOptions: GridOptions = {
135
135
  editStartEvent: 'click',
136
136
  rowReorderColumn: false,
137
137
  resizable: true,
138
+
138
139
  rowIndexColumn: true,
140
+ rowHeight: 40,
141
+ maxRowHeight: 40,
139
142
  };
140
143
  const forcedOptions: GridOptions = {
141
144
  idProperty: '__table_id',