function drawChart() {
chart = new google.visualization.OrgChart(document.getElementById('chart_div'));
data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('string', 'Manager');
data.addColumn('string', 'tip');
data.addColumn('boolean', 'expanded');
data.addRow([{v:'cn=Faaborg-Midtfyn Kommune,ou=depts,ou=structures,o=dk', f:'Faaborg-Midtfyn Kommune'},'','', true]);
data.addRows([[{v:Mark, f:'<div>Mark</div><div><a href="info.html">Info</a></div>'}, '', '', false], [{v:'John', f:'<div>John</div><div><a href="info.htm">Info</a></div>'}, 'Mark', '', false]]);
chart.draw(data, {allowHtml:true,allowCollapse:false,size:'medium'});
google.visualization.events.addListener(chart, 'select', selectHandler);
}
With the above code, i can click the nodes which calls the selectHandler() function, but i can't click the hyper-link on the nodes, it triggers the underlaying selectHandler().
Is it possible til have links or buttons in the content of the nodes and be able to cllick on them?
/ Michael.