You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by agm65 <ag...@gmx.de> on 2016/06/17 09:08:54 UTC
Datagrid keep vertical scroll position after dataprovaider change
Hi all,
how to keep the vertical scroll position after the dataprovider changed
data?
ensureCellIsVisible(x) sets botthe original scroll position.
i also tried this:
myGrid.grid.verticalScrollPosition = lastvpos;
but nothing works..
thx for help.
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Datagrid-keep-vertical-scroll-position-after-dataprovaider-change-tp12850.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Datagrid keep vertical scroll position after dataprovaider
change
Posted by agm65 <ag...@gmx.de>.
perfectly! thx alot!
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Datagrid-keep-vertical-scroll-position-after-dataprovaider-change-tp12850p12914.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Re: Datagrid keep vertical scroll position after dataprovaider change
Posted by Alex Harui <ah...@adobe.com>.
Try validateNow() before setting the verticalScrollPosition to lastvpos;
-Alex
On 6/17/16, 2:08 AM, "agm65" <ag...@gmx.de> wrote:
>Hi all,
>
>how to keep the vertical scroll position after the dataprovider changed
>data?
>ensureCellIsVisible(x) sets botthe original scroll position.
>
>i also tried this:
>
>myGrid.grid.verticalScrollPosition = lastvpos;
>
>but nothing works..
>
>thx for help.
>
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Datagrid-keep-vertical-scro
>ll-position-after-dataprovaider-change-tp12850.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.