Another clue that might help would be
http://flexpearls.blogspot
It indicates that there is a bug in dynamically changing the styleFunction for ADG...
Main Topics
Browse All TopicsI'm pulling my hair out on this one...
I've got a plot chart and an advanced datagrid both supplied by the same dataProvider - an arraycollection. My goal is to have the row in the adg highlight when a point is clicked in the plotchart and visaversa - the point hightlight when the row is clicked...
At this point I'm focusing on the plotchart click with the row highlight. I've tried a number of solutions - and have gotten some interesting results, but not what I want..
The code below ends up highlighting all rows, and interestingly, when I mouse over the rows - they are unhighlighted. Clicking on the plotchart points does nothing...
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Another clue that might help would be
http://flexpearls.blogspot
It indicates that there is a bug in dynamically changing the styleFunction for ADG...
Business Accounts
Answer for Membership
by: glg3Posted on 2009-10-10 at 18:58:49ID: 25544631
I've made some progress - tangentially... Still not where I want to be - which is toclick on a datapoint in the plotchart and highlight the corresponding row in the ADC
vent):void = new String(); entTarget. selectedIt em;
ovider = selectedRowData; unction = myLabelFunc; void {
em;
ovider = newSelectedItemsAC.getItem At(selecte dChartData .index); unction = myLabelFunc;
tring {
t, col:AdvancedDataGridColumn ):Object {
I've added a text area to display data based on each click - either the click on a data point in the plot chart or a click on the row of interest in the advanced datagrid.
private function itemClickEvent(event:ListE
{
var selectedRowContents:String
selectedRowData=event.curr
for (var p:String in selectedRowData) {
selectedRowContents += p + ":" + selectedRowData[p] ;
//use the show to introspect parts of the object.
//Alert.show("Selected Contents: " + selectedRowContents);
selectedDescription.dataPr
selectedDescription.labelF
}
private function handleChange(event:Event):
selectedChartData = plotchart3.selectedChartIt
selectedChartDataIndex = selectedChartData.index;
selectedDescription.dataPr
selectedDescription.labelF
}
public function myLabelFunc(item:Object):S
return "Town: " + item.Town + "\n " +
"Year: " + item.Year + "\n " +
"Total Time: " + item.Total_Time + "\n" +
"OCR Accuracy: " + item.OCR_Accuracy + "\n" +
"OCR Element Count: " + item.OCR_Elem_Count + "\n" +
"OCR Element Accuracy: " + item. OCR_Elem_Accuracy;
}
//myStyleFunction is the callback for the styleFunction..
private function myStyleFunction(data:Objec
if (data.rowIndex == selectedChartDataIndex)
return {color:0xFF0000, fontWeight:'bold'};
return null;
}