We have created two functions to expand/collapse the particular node.
The definition of the functions is give below:

function expandNode() {
    var row = chart.getSelection()[0].row;
    chart.collapse(row, false);
    chart.setSelection(row);
}

function collapseNode() {
    var row = chart.getSelection()[0].row;
    chart.collapse(row, true);
    chart.setSelection(row);
}

Now, what we want to do is change the css of the parent node which is
collapsed/expanded. if we use selectedStyle property, it change the
color but immediately revert to the previous stage after collapse/
expand. Kindly suggest on how we can change the background color of
the parent node that is collapsed or expanded.

-- 
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.

Reply via email to