Hi thanks... :) But I am using this combo in a dataGrid headerRenderer.... and all the items values are unique from the corresponding column.
When I replace the combo code with PopUP Menu.... It doesnt load the menu when i click on the arrow..... I dont know y its behaving like dis.... Pls help me... Thanks in Advance... Sanjay --- In flexcoders@yahoogroups.com, "Trevor.Peace" <[EMAIL PROTECTED]> wrote: > > 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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Alex Harui > Sent: Friday, March 23, 2007 10:59 AM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Line inbetween comboItems > > > > Maybe some sort of custom itemRenderer. > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sanjaypmg > Sent: Friday, March 23, 2007 2:09 AM > To: flexcoders@yahoogroups.com > 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 >