Add comment to help designers understand TreeData (#2715)
This commit is contained in:
parent
686315b0c3
commit
e8f9c7d065
@ -233,6 +233,9 @@ DataTableView.prototype._renderDataTables = function(table, headerTable) {
|
|||||||
$(td).html(' ');
|
$(td).html(' ');
|
||||||
} else {
|
} else {
|
||||||
for (var k = 0; k < keys.length; k++) {
|
for (var k = 0; k < keys.length; k++) {
|
||||||
|
// if a node is a key in the tree-based data (JSON/XML/etc), then also display a dropdown arrow (non-functional currently)
|
||||||
|
// See https://github.com/OpenRefine/OpenRefine/blob/master/main/src/com/google/refine/model/ColumnGroup.java
|
||||||
|
// and https://github.com/OpenRefine/OpenRefine/tree/master/main/src/com/google/refine/importers/tree
|
||||||
if (c == keys[k]) {
|
if (c == keys[k]) {
|
||||||
$('<img />').attr("src", "../images/down-arrow.png").appendTo(td);
|
$('<img />').attr("src", "../images/down-arrow.png").appendTo(td);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user