ninegrid2 6.408.0 → 6.410.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.
@@ -23564,9 +23564,9 @@ class ngView
23564
23564
  //5. nodata resize
23565
23565
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
23566
23566
 
23567
- console.log(this.#owner, this.#owner.viewRecords.length, this.#owner.getAttribute("display-row-count"));
23567
+ console.log(this.#owner, this.#owner.dataManager.viewRecords, this.#owner.getAttribute("display-row-count"));
23568
23568
  if (this.#owner.getAttribute("display-row-count")) {
23569
- if (this.#owner.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
23569
+ if (this.#owner.dataManager.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
23570
23570
  h = 0;
23571
23571
  }
23572
23572
  }
@@ -23574,7 +23574,7 @@ class ngView
23574
23574
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
23575
23575
 
23576
23576
 
23577
- console.log("#refreshData", this.#owner.viewRecords);
23577
+ //console.log("#refreshData", this.#owner.viewRecords);
23578
23578
  //this.isLastPage = h > 0 ? true : false;
23579
23579
 
23580
23580
 
@@ -23562,9 +23562,9 @@ class ngView
23562
23562
  //5. nodata resize
23563
23563
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
23564
23564
 
23565
- console.log(this.#owner, this.#owner.viewRecords.length, this.#owner.getAttribute("display-row-count"));
23565
+ console.log(this.#owner, this.#owner.dataManager.viewRecords, this.#owner.getAttribute("display-row-count"));
23566
23566
  if (this.#owner.getAttribute("display-row-count")) {
23567
- if (this.#owner.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
23567
+ if (this.#owner.dataManager.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
23568
23568
  h = 0;
23569
23569
  }
23570
23570
  }
@@ -23572,7 +23572,7 @@ class ngView
23572
23572
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
23573
23573
 
23574
23574
 
23575
- console.log("#refreshData", this.#owner.viewRecords);
23575
+ //console.log("#refreshData", this.#owner.viewRecords);
23576
23576
  //this.isLastPage = h > 0 ? true : false;
23577
23577
 
23578
23578
 
@@ -365,9 +365,9 @@ export class ngView
365
365
  //5. nodata resize
366
366
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
367
367
 
368
- console.log(this.#owner, this.#owner.viewRecords.length, this.#owner.getAttribute("display-row-count"))
368
+ console.log(this.#owner, this.#owner.dataManager.viewRecords, this.#owner.getAttribute("display-row-count"))
369
369
  if (this.#owner.getAttribute("display-row-count")) {
370
- if (this.#owner.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
370
+ if (this.#owner.dataManager.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
371
371
  h = 0;
372
372
  }
373
373
  }
@@ -375,7 +375,7 @@ export class ngView
375
375
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
376
376
 
377
377
 
378
- console.log("#refreshData", this.#owner.viewRecords);
378
+ //console.log("#refreshData", this.#owner.viewRecords);
379
379
  //this.isLastPage = h > 0 ? true : false;
380
380
 
381
381
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.408.0",
4
+ "version": "6.410.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
package/src/etc/ngView.js CHANGED
@@ -365,9 +365,9 @@ export class ngView
365
365
  //5. nodata resize
366
366
  var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
367
367
 
368
- console.log(this.#owner, this.#owner.viewRecords.length, this.#owner.getAttribute("display-row-count"))
368
+ console.log(this.#owner, this.#owner.dataManager.viewRecords, this.#owner.getAttribute("display-row-count"))
369
369
  if (this.#owner.getAttribute("display-row-count")) {
370
- if (this.#owner.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
370
+ if (this.#owner.dataManager.viewRecords.length >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
371
371
  h = 0;
372
372
  }
373
373
  }
@@ -375,7 +375,7 @@ export class ngView
375
375
  $(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
376
376
 
377
377
 
378
- console.log("#refreshData", this.#owner.viewRecords);
378
+ //console.log("#refreshData", this.#owner.viewRecords);
379
379
  //this.isLastPage = h > 0 ? true : false;
380
380
 
381
381