@fto-consult/expo-ui 2.43.0 → 2.43.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "2.43.0",
3
+ "version": "2.43.1",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -342,6 +342,7 @@ const DatagridFactory = (Factory)=>{
342
342
  }
343
343
  }}
344
344
  data = {this.state.data}
345
+ footers = {this.getFooterValues()}
345
346
  renderHeaderCell={this.renderHeaderCell.bind(this)}
346
347
  renderFilterCell={this.renderFilterCell.bind(this)}
347
348
  renderFooterCell={this.renderFooterCell.bind(this)}
@@ -128,7 +128,7 @@ const TableComponent = React.forwardRef(({containerProps,sortedColumn,listContai
128
128
  columnIndex++;
129
129
  });
130
130
  return {columns:cols,columnsNames,headers,visibleColumns,vColumnsMapping,hasFooters,footers,filters};
131
- },[columns,sortedColumn]);
131
+ },[columns,sortedColumn,props.footers]);
132
132
  const {columns:cols,headers,footers,filters,hasFooters:stateHasFooters,columnsNames,vColumnsMapping,visibleColumns} = preparedColumns;
133
133
  headerContainerProps = defaultObj(headerContainerProps);
134
134
  footerContainerProps = defaultObj(footerContainerProps);