kopia lustrzana https://github.com/c9/core
Merge pull request +8617 from c9/pull/core/124
Added column.getHTML method to acetreepull/125/head
commit
3d99de215c
|
@ -109,9 +109,9 @@ var Cells = function(parentEl) {
|
||||||
}
|
}
|
||||||
if (columns) {
|
if (columns) {
|
||||||
for (var col = columns[0].type == "tree" ? 1 : 0; col < columns.length; col++) {
|
for (var col = columns[0].type == "tree" ? 1 : 0; col < columns.length; col++) {
|
||||||
html.push("</span>"
|
var column = columns[col];
|
||||||
+ this.columnNode(datarow, columns[col], row)
|
var rowStr = (column.getHTML) ? column.getHTML(datarow) : escapeHTML(column.getText(datarow) + "");
|
||||||
+ escapeHTML(columns[col].getText(datarow) + ""));
|
html.push("</span>" + this.columnNode(datarow, column, row) + rowStr);
|
||||||
}
|
}
|
||||||
html.push("</span>");
|
html.push("</span>");
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue