Skip to content

Commit

Permalink
linking nodes to table
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Bakomihalis committed Oct 25, 2024
1 parent e2c24b2 commit 592c45c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node-parents-children/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function renderNode(node){
nodeElement = document.createElement("span");
nodeElement.innerText = node;
nodeElement.addEventListener("click", function(ev){
console.log("node clicked", node, ev);
grist.setCursor({"Node": node});
});
return nodeElement;
Expand Down

0 comments on commit 592c45c

Please sign in to comment.