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