ninegrid2 6.400.0 → 6.401.0

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.
@@ -21246,6 +21246,13 @@ class ngVScrollBar extends HTMLElement
21246
21246
  // visible
21247
21247
  (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
21248
21248
 
21249
+ console.log(
21250
+ "refresh",
21251
+ parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
21252
+ this.#owner.dataManager.rawRecords.length,
21253
+ this.#owner.dataManager.viewRecords.rawIndex,
21254
+ );
21255
+
21249
21256
 
21250
21257
  // height
21251
21258
  var h = Math.min(trackHeight * (body.height() - thead.height()) / (this.#owner.template.height() * this.#owner.template.length * this.#owner.data.count()), trackHeight);
@@ -21244,6 +21244,13 @@ class ngVScrollBar extends HTMLElement
21244
21244
  // visible
21245
21245
  (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
21246
21246
 
21247
+ console.log(
21248
+ "refresh",
21249
+ parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
21250
+ this.#owner.dataManager.rawRecords.length,
21251
+ this.#owner.dataManager.viewRecords.rawIndex,
21252
+ );
21253
+
21247
21254
 
21248
21255
  // height
21249
21256
  var h = Math.min(trackHeight * (body.height() - thead.height()) / (this.#owner.template.height() * this.#owner.template.length * this.#owner.data.count()), trackHeight);
@@ -63,6 +63,13 @@ class ngVScrollBar extends HTMLElement
63
63
  // visible
64
64
  (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
65
65
 
66
+ console.log(
67
+ "refresh",
68
+ parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
69
+ this.#owner.dataManager.rawRecords.length,
70
+ this.#owner.dataManager.viewRecords.rawIndex,
71
+ );
72
+
66
73
 
67
74
  // height
68
75
  var h = Math.min(trackHeight * (body.height() - thead.height()) / (this.#owner.template.height() * this.#owner.template.length * this.#owner.data.count()), trackHeight);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.400.0",
4
+ "version": "6.401.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -63,6 +63,13 @@ class ngVScrollBar extends HTMLElement
63
63
  // visible
64
64
  (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 0 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
65
65
 
66
+ console.log(
67
+ "refresh",
68
+ parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
69
+ this.#owner.dataManager.rawRecords.length,
70
+ this.#owner.dataManager.viewRecords.rawIndex,
71
+ );
72
+
66
73
 
67
74
  // height
68
75
  var h = Math.min(trackHeight * (body.height() - thead.height()) / (this.#owner.template.height() * this.#owner.template.length * this.#owner.data.count()), trackHeight);