List Control - Item Renderer question
i nees list box categorized items..
for e.g
category1
items1.1
items1.2
items1.3
items1.4
category2
items2.1
items2.2
items2.3
category3
items3.1
items3.2
items3.3
items3.4
now, need create custom item renderer class display thiese items tabbing space.
my requirement is, user should not able choose categories, rather can choose items. how prevent highlight color on mouse on of categories?
any suggestions?
nith
hi nith,
use customitem renderer , take vbox root tag of renderer , within vbox include 1 label , 1 list....
so should below:
<!-- customitemrenderer.mxml--<
<mx:vbox verticalgap="0">
<mx:label text=""/>
<mx:list id="mylist" />
</mx:vbox>
after can use custom itemrenderer repeater component displaying categories
<mx:reapeater id="rptcat" dataprovider="{}">
<comp:customitemrenderer.mxml />
</mx:reapeater
if post answers question or helps, please kindly mark such.
thanks,
bhasker chari
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment