given the following code snippet ...
What is the syntax to bring back the property values when doing an addlistener to the select event.. For what its worth the code I have renders the WordTree and I get to the first alert below but the second alert never prints the value of "word" .
I've tried data.word, wordtree.word and a whole sleu of options that i'd rather not post :-)
Any help would be greatly appreciated ...
wordtree.draw(data, options);
google.visualization.events.addListener(wordtree, 'select', function() {
alert('A table row was selected');
var xyz = data.word ;
alert( xyz );
});