ods-component-lib 1.18.5 → 1.18.6

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
@@ -16737,7 +16737,12 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
16737
16737
  }
16738
16738
  };
16739
16739
  var renderTotal = function renderTotal() {
16740
- var totalloaded = loadedPageCount * props.pageSize;
16740
+ var totalloaded = 0;
16741
+ if (data.length < 50) {
16742
+ totalloaded = data.length;
16743
+ } else {
16744
+ totalloaded = loadedPageCount * props.pageSize;
16745
+ }
16741
16746
  var result = "";
16742
16747
  if (filteredRowCount > 0) {
16743
16748
  result = totalloaded + " Filtered" + (totalRecordCount > 0 ? totalloaded + " Loaded - " + totalRecordCount + " Total" : "");