Is it possible to add a checkable box to rows in this d3.js indented tree graph? http://bl.ocks.org/1093025
Is it possible to add a checkable box to rows in this d3.js indented
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no built in checkbox for svg, so you will need to create your own using svg elements that do exist.
I created a JSFiddle that uses the
circleelement to do this. To do this, I took the example you linked and added the following:To access the list of selected nodes, add the following function and call it