scrollToIndex just won't work ... any workarounds ?


hello,

any ideas why scrolltoindex won't work ? tried on tilelist,
datagrid, ... without result. not error message !


this works, last item selected in tilelist:

tlproductssearchresults.selectedindex =
tlproductssearchresults.dataprovider.length - 1;


but 1 doesn't thing:

tlproductssearchresults.scrolltoindex(tlproductssearchresults.dataprovider.lengt\
h
- 1);

best regards,
frank

try in function:

var index:int = tlproductssearchresults.dataprovider.length - 1;
tlproductssearchresults.scrolltoindex(index);

regards,
dan


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial