No custom renderer necessary... Just swap your ComboBox for a MenuBar,
and bind it to an array like this one:
[Bindable]
public var compList : Array = [{label: "separating menu options",
children:
[
{label: "ya gotta", type: "normal", value:
"1"},
{label: "keep em", type: "normal", value:
"2"},
{type: "separator"},
{label: "separated", type: "normal", value:
"3"}
]},
];
Peace out...
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Friday, March 23, 2007 10:59 AM
To: [email protected]
Subject: RE: [flexcoders] Line inbetween comboItems
Maybe some sort of custom itemRenderer.
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of sanjaypmg
Sent: Friday, March 23, 2007 2:09 AM
To: [email protected]
Subject: [flexcoders] Line inbetween comboItems
Hi All,
I have a combo box in my application and there a lots of items all are
related to 4-5 categories.. Wht I wanted to do here.... I want a
seperator sort of line once a category Items are finished....
I have tried it but didnt get success.....
Pls suggest, How can i do the same?
Thanks in Advance,
Sanjay Sharma