custom itemRenderer not working on initial drop down, one reuse of an IR and it works, ideas?


i've created spark dropdownlist extension has icons next label.  use skin dropdownlist, added logic , image component (which renders icon byte array in dropdownlist's dataprovider) , label component, , spark itemrenderer extension, has image component (which renders icon same byte array on dropdownlist's dataprovider) , label component.

 

the component works, on doing initial drop down (when dropdownlist 'opened') no icons shown (although space them there).  move through list (by using scrollbar or mousewheel) icons appear (all icons on shown on list @ same time, if scroll moved 1 item or down).

 

has idea why might happening?  or,

is there way can call 'update' or 'refresh' or 'reuse' renderers function directly on ir itself?

 

the component works expected 1 ir on reused, can't find out why...

 

thanks!

gtb

post code renderer.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい