1. There is a configuration option to the org chart, called allowCollapse. Using this option, when the user double clicks on a node, all of the children of this node will collapse, and a small tail from the original node will mark that there are collapsed children.Another double click will expand the children again. There is no need to reload the data or to refresh the chart.
2. When a node is selected, you indeed get only the row and column indexes. But - these should be used as parameters to data.getValue(row, col), which will return the actual data. Hope this helps... Regards, VizGuy On Mon, Apr 13, 2009 at 9:03 AM, umpirsky <[email protected]> wrote: > > I have organization chart that is drawn once, and then, when user > clicks on some node, his children should appear. Do I need to redraw > wntire chart from the root or there is some way to just add new > children and redraw only that new part? And another question is, when > I get selection of the chart, I get only row and column number, how > can I get exact node with all data? Is there detailed documentation > somewere? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
