Hi everyone,

I am working on a dashboard in which in the base state some data (several
indices with their data split by time) will be visible in a datagrid and the
user can switch the state to the one in which for every index, there will be
charts one below the other. I want to implement an itemClick event such that
on clicking on any index in the datagrid, the state switched to the "charts"
state and the chart corresponding to the clicked index is shown on the
screen. That is, in case I clicked on the 10th index (such that the 10th
chart would have been hidden in the charts view and user would have to
scroll to it) in the datagrid, automatically, the state would switch and the
page would have automatically scrolled down to show the 10th chart.

I tried setFocus() method of UIComponent class but it did not help. (Note
that the charts are the same custom component each having a different
dataProvider).

Please let me know how I can implement this.

Thanks.
Gaurav
-- 
View this message in context: 
http://www.nabble.com/Automatically-scroll-down-to-component-tp23312982p23312982.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to