Advice much appreciated...

I have a dataTable from which I draw() a Treemap. From this dataTable
I also create a dataView by using getFilteredRows(), using those
filtered rows to draw a Table.

(Reasoning: I have a treemap of countries and cities. If I select
'UK', the treemap shows me UK cities. A listener hears this thanks to
getSelection(), and redraws the table to show only those rows where
parent matches the value 'UK'. In short, the state the treemap and the
table always match).

I see unexpected behaviours with a listener on the Treemap.

table.setSelection(treemap.getSelection());

...causes the wrong table row to be selected.

I'm guessing this is because the rowIndexes from the dataTable and
dataView are different.

Any ideas for a workaround, or something I've missed?

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