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