ninegrid2 6.1222.0 → 6.1224.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.
@@ -117222,7 +117222,7 @@ class ngView
117222
117222
  #getRowCount = () => {
117223
117223
 
117224
117224
  const displayRowCount = parseInt(this.#owner.getAttribute("display-row-count"));
117225
-
117225
+ console.log("=======displayRowCount: ", displayRowCount, this.#owner.data.count());
117226
117226
  if (this.#owner.closest("dialog") && ninegrid.j.querySelectorAll(this.#owner).hasClass("simple")) return 1;
117227
117227
  if ([ninegrid.PAGINGTYPE.CLIENT,ninegrid.PAGINGTYPE.SERVER].includes(this.#owner.paging.type)) return this.#owner.paging.linesPerPage;
117228
117228
  if (!isNaN(displayRowCount)) {
@@ -117518,16 +117518,12 @@ class ngView
117518
117518
 
117519
117519
  #r = () => {
117520
117520
 
117521
- console.log("===============================", this.#owner);
117522
-
117523
117521
  var rows = [];
117524
117522
  this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
117525
117523
  rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
117526
117524
  });
117527
117525
 
117528
117526
  rows = [...new Set(rows)];
117529
-
117530
- console.log(rows);
117531
117527
 
117532
117528
  this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
117533
117529
  const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);
@@ -117218,7 +117218,7 @@ class ngView
117218
117218
  #getRowCount = () => {
117219
117219
 
117220
117220
  const displayRowCount = parseInt(this.#owner.getAttribute("display-row-count"));
117221
-
117221
+ console.log("=======displayRowCount: ", displayRowCount, this.#owner.data.count());
117222
117222
  if (this.#owner.closest("dialog") && ninegrid.j.querySelectorAll(this.#owner).hasClass("simple")) return 1;
117223
117223
  if ([ninegrid.PAGINGTYPE.CLIENT,ninegrid.PAGINGTYPE.SERVER].includes(this.#owner.paging.type)) return this.#owner.paging.linesPerPage;
117224
117224
  if (!isNaN(displayRowCount)) {
@@ -117514,16 +117514,12 @@ class ngView
117514
117514
 
117515
117515
  #r = () => {
117516
117516
 
117517
- console.log("===============================", this.#owner);
117518
-
117519
117517
  var rows = [];
117520
117518
  this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
117521
117519
  rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
117522
117520
  });
117523
117521
 
117524
117522
  rows = [...new Set(rows)];
117525
-
117526
- console.log(rows);
117527
117523
 
117528
117524
  this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
117529
117525
  const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);
@@ -109,7 +109,7 @@ export class ngView
109
109
  #getRowCount = () => {
110
110
 
111
111
  const displayRowCount = parseInt(this.#owner.getAttribute("display-row-count"));
112
-
112
+ console.log("=======displayRowCount: ", displayRowCount, this.#owner.data.count());
113
113
  if (this.#owner.closest("dialog") && ninegrid.j.querySelectorAll(this.#owner).hasClass("simple")) return 1;
114
114
  if ([ninegrid.PAGINGTYPE.CLIENT,ninegrid.PAGINGTYPE.SERVER].includes(this.#owner.paging.type)) return this.#owner.paging.linesPerPage;
115
115
  if (!isNaN(displayRowCount)) {
@@ -424,16 +424,12 @@ export class ngView
424
424
 
425
425
  #r = () => {
426
426
 
427
- console.log("===============================", this.#owner);
428
-
429
427
  var rows = [];
430
428
  this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
431
429
  rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
432
430
  });
433
431
 
434
432
  rows = [...new Set(rows)];
435
-
436
- console.log(rows);
437
433
 
438
434
  this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
439
435
  const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1222.0",
4
+ "version": "6.1224.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/src/etc/ngView.js CHANGED
@@ -109,7 +109,7 @@ export class ngView
109
109
  #getRowCount = () => {
110
110
 
111
111
  const displayRowCount = parseInt(this.#owner.getAttribute("display-row-count"));
112
-
112
+ console.log("=======displayRowCount: ", displayRowCount, this.#owner.data.count());
113
113
  if (this.#owner.closest("dialog") && ninegrid.j.querySelectorAll(this.#owner).hasClass("simple")) return 1;
114
114
  if ([ninegrid.PAGINGTYPE.CLIENT,ninegrid.PAGINGTYPE.SERVER].includes(this.#owner.paging.type)) return this.#owner.paging.linesPerPage;
115
115
  if (!isNaN(displayRowCount)) {
@@ -424,16 +424,12 @@ export class ngView
424
424
 
425
425
  #r = () => {
426
426
 
427
- console.log("===============================", this.#owner);
428
-
429
427
  var rows = [];
430
428
  this.#owner.body.querySelectorAll(".ng-container-body tbody.bindable tr:not(.nodata)").forEach(tr => {
431
429
  rows.push(this.#rawIndex + parseInt(tr.sectionRowIndex / this.#owner.template.length));
432
430
  });
433
431
 
434
432
  rows = [...new Set(rows)];
435
-
436
- console.log(rows);
437
433
 
438
434
  this.#owner.body.querySelectorAll(".ng-container tbody.bindable tr:not(.nodata)").forEach(tr => {
439
435
  const index = parseInt(tr.sectionRowIndex / this.#owner.template.length);