mn-angular-lib 2.0.25 → 2.0.26
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.
|
@@ -1469,11 +1469,14 @@ class MnTable extends MnSelectableCollectionBase {
|
|
|
1469
1469
|
return this.isTemplateRef(column.cell) ? column.cell : null;
|
|
1470
1470
|
}
|
|
1471
1471
|
/**
|
|
1472
|
-
* Whether a
|
|
1473
|
-
* "nothing". Such a value is left off the
|
|
1474
|
-
*
|
|
1472
|
+
* Whether a cell is empty for this row: what the column's `isEmpty` says, else for a string
|
|
1473
|
+
* cell blank or the lone dash an app writes for "nothing". Such a value is left off the
|
|
1474
|
+
* composed row and the detail sheet ("Beschrijving: -" said nothing). A template cell without
|
|
1475
|
+
* `isEmpty` is never judged empty — its markup is the app's.
|
|
1475
1476
|
*/
|
|
1476
1477
|
rowValueEmpty(column, row) {
|
|
1478
|
+
if (column.isEmpty)
|
|
1479
|
+
return column.isEmpty(row);
|
|
1477
1480
|
if (this.rowCellTemplate(column))
|
|
1478
1481
|
return false;
|
|
1479
1482
|
return EMPTY_VALUE.test(this.rowCellText(column, row));
|