we have a datagrid that we populate programatically and i'd like to
auto scroll to the bottom of the grid after each new row is added.
i've tried using the updateComplete "event" ala

updateComplete=
"resultsPlaceHolder.verticalScrollPosition =
resultsPlaceHolder.maxVerticalScrollPosition + 1;"

where resultsPlaceHolder is the datagrid. this works but seems to have
a nasty side effect of pegging the CPU at 40-50% & more or less
freezing the app under some circumstances.

not entirely sure of the relationship between this & the CPU spike as
the datagrid's nested in tab navigator (w/creation policy set to all)
and happens only when the app uses a custom cursor. but it does happen
100% of the time when we use this method to auto-scroll.

any ideas for a workaround?

thanks.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to