ninegrid2 6.413.0 → 6.415.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 +7 -1
- package/dist/bundle.esm.js +7 -1
- package/dist/etc/ngView.js +7 -1
- package/package.json +1 -1
- package/src/etc/ngView.js +7 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -23456,6 +23456,12 @@ class ngView
|
|
|
23456
23456
|
// 5. nodata resize
|
|
23457
23457
|
|
|
23458
23458
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23459
|
+
if (this.#owner.getAttribute("display-row-count")) {
|
|
23460
|
+
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
23461
|
+
h = 0;
|
|
23462
|
+
}
|
|
23463
|
+
}
|
|
23464
|
+
|
|
23459
23465
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
23460
23466
|
|
|
23461
23467
|
|
|
@@ -23564,7 +23570,7 @@ class ngView
|
|
|
23564
23570
|
//5. nodata resize
|
|
23565
23571
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23566
23572
|
|
|
23567
|
-
console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
23573
|
+
//console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
23568
23574
|
if (this.#owner.getAttribute("display-row-count")) {
|
|
23569
23575
|
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
23570
23576
|
h = 0;
|
package/dist/bundle.esm.js
CHANGED
|
@@ -23454,6 +23454,12 @@ class ngView
|
|
|
23454
23454
|
// 5. nodata resize
|
|
23455
23455
|
|
|
23456
23456
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23457
|
+
if (this.#owner.getAttribute("display-row-count")) {
|
|
23458
|
+
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
23459
|
+
h = 0;
|
|
23460
|
+
}
|
|
23461
|
+
}
|
|
23462
|
+
|
|
23457
23463
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
23458
23464
|
|
|
23459
23465
|
|
|
@@ -23562,7 +23568,7 @@ class ngView
|
|
|
23562
23568
|
//5. nodata resize
|
|
23563
23569
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
23564
23570
|
|
|
23565
|
-
console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
23571
|
+
//console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
23566
23572
|
if (this.#owner.getAttribute("display-row-count")) {
|
|
23567
23573
|
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
23568
23574
|
h = 0;
|
package/dist/etc/ngView.js
CHANGED
|
@@ -254,6 +254,12 @@ export class ngView
|
|
|
254
254
|
// 5. nodata resize
|
|
255
255
|
|
|
256
256
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
257
|
+
if (this.#owner.getAttribute("display-row-count")) {
|
|
258
|
+
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
259
|
+
h = 0;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
257
263
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
258
264
|
|
|
259
265
|
|
|
@@ -365,7 +371,7 @@ export class ngView
|
|
|
365
371
|
//5. nodata resize
|
|
366
372
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
367
373
|
|
|
368
|
-
console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
374
|
+
//console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
369
375
|
if (this.#owner.getAttribute("display-row-count")) {
|
|
370
376
|
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
371
377
|
h = 0;
|
package/package.json
CHANGED
package/src/etc/ngView.js
CHANGED
|
@@ -254,6 +254,12 @@ export class ngView
|
|
|
254
254
|
// 5. nodata resize
|
|
255
255
|
|
|
256
256
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
257
|
+
if (this.#owner.getAttribute("display-row-count")) {
|
|
258
|
+
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
259
|
+
h = 0;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
257
263
|
$(".ng-container tbody.bindable tr.nodata", this.#owner.body).height(h);
|
|
258
264
|
|
|
259
265
|
|
|
@@ -365,7 +371,7 @@ export class ngView
|
|
|
365
371
|
//5. nodata resize
|
|
366
372
|
var h = this.#height.body - this.#height.thead - this.#height.tfoot - this.#getTrHeight();
|
|
367
373
|
|
|
368
|
-
console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
374
|
+
//console.log(this.#owner, this.#owner.data.count(), this.#owner.getAttribute("display-row-count"))
|
|
369
375
|
if (this.#owner.getAttribute("display-row-count")) {
|
|
370
376
|
if (this.#owner.data.count() >= Number(this.#owner.getAttribute("display-row-count") || 0)) {
|
|
371
377
|
h = 0;
|