@azrico/reactgrid 1.1.24 → 1.1.26

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.
@@ -364,6 +364,7 @@ function ApplyColumnData(props) {
364
364
  delete col.field;
365
365
  delete col.key;
366
366
  delete col.columnName;
367
+ if (col.flex && !col.defaultFlex) col.defaultFlex = col.flex;
367
368
  }
368
369
  }
369
370
  /* -------------------------------------------------------------------------- */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/reactgrid",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "main": "dist/index.js",
5
5
  "description": "React Datagrid",
6
6
  "author": "Azrideus <MehrdadTavangar@gmail.com>",
@@ -502,6 +502,8 @@ function ApplyColumnData(props: any): ColumnDefinition[] {
502
502
  delete col.field;
503
503
  delete col.key;
504
504
  delete col.columnName;
505
+
506
+ if (col.flex && !col.defaultFlex) col.defaultFlex = col.flex;
505
507
  }
506
508
  }
507
509
  /* -------------------------------------------------------------------------- */