ods-component-lib 1.17.55 → 1.17.57

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/dist/index.js CHANGED
@@ -1198,17 +1198,6 @@ var renderMenuItem = function renderMenuItem() {
1198
1198
  };
1199
1199
  function OdsDataGrid(props) {
1200
1200
  var dataGridRef = React.useRef(null);
1201
- React.useEffect(function () {
1202
- setTimeout(function () {
1203
- var totalCount = props.dataSource.length;
1204
- if (dataGridRef.current.instance.component !== undefined) {
1205
- debugger;
1206
- dataGridRef.current.instance.component.beginUpdate();
1207
- dataGridRef.current.instance.totalCount(totalCount);
1208
- dataGridRef.current.instance.component.endUpdate();
1209
- }
1210
- }, 1000);
1211
- }, [props.dataSource]);
1212
1201
  return grid(props, dataGridRef);
1213
1202
  }
1214
1203
  function grid(props, dataGridRef) {