ninegrid2 6.404.0 → 6.405.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.
@@ -21247,16 +21247,16 @@ class ngVScrollBar extends HTMLElement
21247
21247
  /**
21248
21248
  * tr.nodata 길이가 0이 아니라 1인 경우 발생
21249
21249
  */
21250
- (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 1 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
21251
-
21252
21250
  /**
21253
21251
  console.log(
21254
21252
  "refresh",
21255
- this.#owner,
21256
- parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
21257
- this.#owner.dataManager.rawRecords.length,
21258
- this.#owner.dataManager.viewRecords.rawIndex,
21259
- ); */
21253
+ this.#owner.getAttribute("display-row-count"),
21254
+ ); */
21255
+
21256
+ (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();
21257
+
21258
+
21259
+
21260
21260
 
21261
21261
 
21262
21262
  // height
@@ -23457,6 +23457,9 @@ class ngView
23457
23457
 
23458
23458
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
23459
23459
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
23460
+
23461
+
23462
+ console.log("#resetTR3", this.#owner, h);
23460
23463
 
23461
23464
  /**
23462
23465
  this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
@@ -23562,6 +23565,7 @@ class ngView
23562
23565
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
23563
23566
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
23564
23567
 
23568
+ console.log("#refreshData", this.#owner, h);
23565
23569
  //this.isLastPage = h > 0 ? true : false;
23566
23570
 
23567
23571
 
@@ -21245,16 +21245,16 @@ class ngVScrollBar extends HTMLElement
21245
21245
  /**
21246
21246
  * tr.nodata 길이가 0이 아니라 1인 경우 발생
21247
21247
  */
21248
- (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 1 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
21249
-
21250
21248
  /**
21251
21249
  console.log(
21252
21250
  "refresh",
21253
- this.#owner,
21254
- parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
21255
- this.#owner.dataManager.rawRecords.length,
21256
- this.#owner.dataManager.viewRecords.rawIndex,
21257
- ); */
21251
+ this.#owner.getAttribute("display-row-count"),
21252
+ ); */
21253
+
21254
+ (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();
21255
+
21256
+
21257
+
21258
21258
 
21259
21259
 
21260
21260
  // height
@@ -23455,6 +23455,9 @@ class ngView
23455
23455
 
23456
23456
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
23457
23457
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
23458
+
23459
+
23460
+ console.log("#resetTR3", this.#owner, h);
23458
23461
 
23459
23462
  /**
23460
23463
  this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
@@ -23560,6 +23563,7 @@ class ngView
23560
23563
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
23561
23564
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
23562
23565
 
23566
+ console.log("#refreshData", this.#owner, h);
23563
23567
  //this.isLastPage = h > 0 ? true : false;
23564
23568
 
23565
23569
 
@@ -64,16 +64,16 @@ class ngVScrollBar extends HTMLElement
64
64
  /**
65
65
  * tr.nodata 길이가 0이 아니라 1인 경우 발생
66
66
  */
67
- (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 1 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
68
-
69
67
  /**
70
68
  console.log(
71
69
  "refresh",
72
- this.#owner,
73
- parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
74
- this.#owner.dataManager.rawRecords.length,
75
- this.#owner.dataManager.viewRecords.rawIndex,
76
- ); */
70
+ this.#owner.getAttribute("display-row-count"),
71
+ ); */
72
+
73
+ (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();
74
+
75
+
76
+
77
77
 
78
78
 
79
79
  // height
@@ -255,6 +255,9 @@ export class ngView
255
255
 
256
256
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
257
257
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
258
+
259
+
260
+ console.log("#resetTR3", this.#owner, h);
258
261
 
259
262
  /**
260
263
  this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
@@ -363,6 +366,7 @@ export class ngView
363
366
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
364
367
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
365
368
 
369
+ console.log("#refreshData", this.#owner, h);
366
370
  //this.isLastPage = h > 0 ? true : false;
367
371
 
368
372
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.404.0",
4
+ "version": "6.405.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -64,16 +64,16 @@ class ngVScrollBar extends HTMLElement
64
64
  /**
65
65
  * tr.nodata 길이가 0이 아니라 1인 경우 발생
66
66
  */
67
- (parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()) > 1 && (this.#owner.dataManager.rawRecords.length == 0 || this.#owner.dataManager.viewRecords.rawIndex == 0)) ? $(this).hide() : $(this).show();
68
-
69
67
  /**
70
68
  console.log(
71
69
  "refresh",
72
- this.#owner,
73
- parseInt($('.ng-container .ng-table tr.nodata', this.#owner.body).height()),
74
- this.#owner.dataManager.rawRecords.length,
75
- this.#owner.dataManager.viewRecords.rawIndex,
76
- ); */
70
+ this.#owner.getAttribute("display-row-count"),
71
+ ); */
72
+
73
+ (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();
74
+
75
+
76
+
77
77
 
78
78
 
79
79
  // height
package/src/etc/ngView.js CHANGED
@@ -255,6 +255,9 @@ export class ngView
255
255
 
256
256
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
257
257
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
258
+
259
+
260
+ console.log("#resetTR3", this.#owner, h);
258
261
 
259
262
  /**
260
263
  this.#owner.body.querySelector(".ng-container-body .ng-table").style.top = 0;
@@ -363,6 +366,7 @@ export class ngView
363
366
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
364
367
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
365
368
 
369
+ console.log("#refreshData", this.#owner, h);
366
370
  //this.isLastPage = h > 0 ? true : false;
367
371
 
368
372