Preview table: display reconciled cells instead of blanking them
This commit is contained in:
parent
3dcda5a42c
commit
e47fb3f2a6
@ -83,8 +83,13 @@ Refine.PreviewTable.prototype._render = function() {
|
||||
$('<span>').html(" ").appendTo(divContent);
|
||||
} else if ("e" in cell) {
|
||||
$('<span>').addClass("data-table-error").text(cell.e).appendTo(divContent);
|
||||
} else if (!("r" in cell) || !cell.r) {
|
||||
if (typeof cell.v !== "string") {
|
||||
} else {
|
||||
if ("r" in cell && cell.ri !== null) {
|
||||
$('<a>')
|
||||
.attr("href", "#") // we don't have access to the reconciliation data here
|
||||
.text(cell.v)
|
||||
.appendTo(divContent);
|
||||
} else if (typeof cell.v !== "string") {
|
||||
if (typeof cell.v == "number") {
|
||||
divContent.addClass("data-table-cell-content-numeric");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user