ods-component-lib 1.18.11 → 1.18.12

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
@@ -17395,7 +17395,6 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
17395
17395
  var scrollHeight = (_scrollable$scrollHei = scrollable === null || scrollable === void 0 ? void 0 : scrollable.scrollHeight) != null ? _scrollable$scrollHei : 0;
17396
17396
  var maxHeight = Math.max(top, height, scrollHeight) - 1;
17397
17397
  var reachedBottom = Math.ceil(top + height) >= maxHeight;
17398
- console.log("reachedBottom", Math.ceil(top + height), maxHeight, reachedBottom);
17399
17398
  var lastScrollTop = 0;
17400
17399
  if (top < lastScrollTop) {
17401
17400
  return;
@@ -17418,7 +17417,7 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
17418
17417
  }
17419
17418
  };
17420
17419
  }, [data.length]);
17421
- return React__default.createElement(React__default.Fragment, null, React__default.createElement(DataGrid__default, {
17420
+ return React__default.createElement(React__default.Fragment, null, React__default.createElement(DataGrid__default, Object.assign({
17422
17421
  keyExpr: props.keyExpr,
17423
17422
  dataSource: props.isServerSide ? data : props.dataSource,
17424
17423
  showBorders: true,
@@ -17448,7 +17447,7 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
17448
17447
  columnFixing: {
17449
17448
  enabled: true
17450
17449
  }
17451
- }, columns.map(function (col) {
17450
+ }, props), columns.map(function (col) {
17452
17451
  return React__default.createElement(DataGrid.Column, Object.assign({
17453
17452
  key: col.dataField
17454
17453
  }, col, {