Is it possible to make an item in combobox not be selectable?

Hello
In order to get a splitter in the combobox, I use logical follwing,
"" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >
< mx:Script >
<! [CDATA]
Import mx.controls.Alert;
[Bindable]
[public var arr:Array = [{Label: 'Test (1)'}, {label: "Test (2)"}, {label: "-"}, {label: 'Test'}, {label: 'SimpleTe st'}]];

public var str:String = 'str ';

public void isItem(str:String):Boolean {}
{if (Str.match("--"))}
Returns false;
} else
Returns true;
}


[]] >
< / mx:Script >

< mx:ComboBox width = "250" dataProvider = "(arr)" >
< mx:itemRenderer >
< mx:Component >

"< mx:Label text =" {data.label} "color ="#000000"selectable =" {outerDocument.isItem (data.label)} ">

< / mx:Label >

< / mx:Component >
< / mx:itemRenderer >
< / mx:ComboBox >

< / mx:Application >

But it does not work. Is there a solution for this.

Also, I would like to know if my approach is suitable get a separator between two groups of items in the combobox.

Thank you...

This link should help:
http://butterfliesandbugs.WordPress.com/2007/08/27/how-to-add-a-separator-to-your-ComboBox /.

Matt Horn
Flex docs

Tags: Flex

Similar Questions

  • Is it possible to make a required field if you have selected a "sales stage"?

    Hi all.

    We use certain stages of the sale to our opportunities.

    The higher ups would make it necessary to choose a "lost reason" when the "sales stage", "" closed / "lost" is selected.

    These fields are drop-down lists currently used by everyone. "Sales stage" is currently required.

    We cannot pull of this layout dynamic because it is an area that is not "Opportunity Type" led.

    Thanks in advance!

    Yes it is possible. In the details of the sales process where you have defined at the stage of the sale. Down on the stage of sale closed/lost. In this section, you will see a section called "of the required additional fields.
    You can specify the fields you want to make required for this stage sales

  • Is it possible to import multiple items?

    Is it possible to import multiple items?

    Not through the current user interface, but it's something that we'll think actively. It is possible to build a tool to do this, use our API development, but it's something that we certainly are given including the base product. Our test team would like to have too

    Neil

  • Is it possible to make a "GO DOWN" - button in a smooth scrolling page?

    It is possible to make a button GO UP in a page to scroll smoothly AND in a several page article

    It is possible to make a button GO to BOTTOM in a several page article (for example the button go to URL > navto://pagename#pagenumber-1)

    But is it possible to make a "GO DOWN" - button in a smooth scrolling page? Perhaps with some sort of anchor point?

    Yes, in the scenes, Smooth Scrolling items are divided into tiles, each tile is actually a page, so navto://articlename#99 will pass at the end of the article. You can even use fractions to jump to a specific point. See DPS tips > overlays advanced for an example.

  • Possible to make an element editable for some users and read-only for others

    Is it possible to make an element editable for some users and read only for others?

    I was able to achieve by catches of the select statement that I used to define an authorization scheme, placing in the State of read-only element. However, I would simply refer to the authorization scheme to use caching and to help keep things cleaner for future maintenance.

    Is it possible for a system of authorisation under a condition similar to the way point another element can be referenced by preceding with two reference points (e.g.: P1_First_Name)?

    I accomplished this in one of my applications by setting the value of a hidden Page 0 item on connect, for example P0_ACCESS_PRIVILIGES, and then use the feature 'Read only' integrated into the APEX for each article that I don't read for some users check the value of this element.

  • Is it possible to make DVD Region Free of A60?

    Hi all

    Is it possible to make my DVD of game (742) Satellite A60 in the region?

    Currently, I can play region 2 DVDs.

    My computer:
    -Windows XP Home Edition (Swedish)
    -Pioneer DVR K13A, revision 2.00

    Thank you and best regards,
    Thomas Jedenfelt

    P.S. to the webmaster Forum
    The title of the page on the pages of the Forum Satellite contains a B element.
    The TITLE element cannot contain other elements,
    and the B element has been deprecated for several years.
    Suggested reading to W3C (www.w3.org).

    HI Thomas,

    You can select the desired region by going into the properties of your DVD-ROM (right clivk on icon workstation).

    You can only change the region 5 times before it becomes permanent how he will stay on the last selected region.

    There is no legitimate way to make your drive "set".

    Kind regards

  • Is it possible to make a slipstream using the recovery CD (SM30-154 WXP)?

    Is it possible to make a slipstream using the product recovery (satellite SM30-154 pro and windows XP home) and put on day of windows XP sp 3 die?
    If so, how?

    friend
    Bert

    Hello

    What you could do is to create a new image using a 3rd party such as Norton Ghost for example application.

    You might first install Windows XP using the Toshiba Recovery CD.
    You could install the MS 3 service pack and then you can create the new image.

    This image could be stored on the new CD, or as a file on the second partition.

    I did it too. I ve got two partitions on my HARD drive and have created a backup of C (System partition) by using the spirit. The file is stored on D (data partition) and if something goes wrong with my Windows I can restore using this file.

    Easy ;)

  • Is it possible to make the back to Pentecost iPhone 6 and Air iPad

    Is it possible to make the back to Pentecost iPhone 6 and Air iPad

    You cannot back up an iPhone to an iPad or vice versa, but you can save them both to a computer via iTunes or you can backup to iCloud. See: How to back up your device using iCloud or iTunes - Apple Support

    You can also synchronize contacts, photos, etc. between the iPhone and the iPad. See settings > iCloud on each device for things that you can synchronize.

  • Satellite M40-300: is it possible to make a CD or a DVD for all facilities?

    Hello

    I bought a Satellite M40-300, it's a very good laptop
    I just have two questions:
    is it possible to make a CD or DVD for all facilities
    because I have two partitions. One for the window
    and the other for a linux?

    For Linux I want to install Red Hat Fedora Core 4 all devices are compatible or not? and where I can get driver for this?

    Thank you very much

    PS: Sorry for my English I'm French.

    Hello

    First of all there is no drivers for Linux because Toshiba doesn t supports the Linux operating system. All Toshiba units are shipped with the Microsoft Windows operating system.
    I also work with Linux, but I use a different distribution. I use Knoppix because I n t need to install anything whatsoever on the HARD drive and I can use this Linux as other Linux distributions.

    On a CD/DVD creation: do you know that Symantec Ghost?
    This tool allows to create an image file or a CD/DVD image you OS. I don't know if it works with Linux, but as I suggested, you can use a Knoppix ;) m

    Hoppe these tips will help you make a decision.

    Good bye

  • Is it possible to make a DYI check for viruses and malware on an iPhone 6 more?

    Is it possible to make a DYI check for viruses and malware on an iPhone 6 more? Thanks in advance for your help.

    I don't know what it means 'DIY', but there is no virus and malware scanner available probably since there is no malware and virus scanner for now.

  • Is it possible to make the 2013 Outlook my default email

    Is it possible to make Outlook my email by default to send & receive emails for XP

    JR

    Not because you cannot install office 2013 on XP

    http://Office.Microsoft.com/en-us/help/why-cant-i-install-Office-2013-on-Windows-XP-or-Windows-Vista-HA103462811.aspx

  • My camera Olympus only works with Apple's Quick Time 7. Is it possible to make it work with my operating system from Windows XP?

    My camera Olympus only works with Apple's Quick Time 7.  Is it possible to make it work with my operating system from Windows XP?

    Apple QuickTime 7 works is because. MOV is the Apple
    QuickTime format.

    QuickTime. MOV files can cause problems with Windows Media Player.
    And... If you plan to try editing with Movie Maker... the files should
    be converted to the. WMV format.

    No guarantee, but the following decoder might allow Windows Media
    Reader to read your. MOV files. Only problem is... it is not freeware to retail.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    3ivx MPEG-4 5.0.4 decoder
    http://store.3ivx.com/3ivxStore/product_details.php?ID=11

    Convert the. MOV files to the. WMV format may be worth a try:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck

  • Hello. Is it possible to make a backup of the Pandoras Box Cd rom copy.?

    I have the original and the copy is for me.

    I made a copy sometimes, back, which I thought was right but now at mid-way through the game it stops working and I have tried the disk copy on my home and work PC so I guess that the error is on the copy.

    I really love this game and use the original for more than 12 years so it's to be!

    Please can you tell me if it is possible to make a copy that is feasible and, if so, how? I think I used the last Roxio cd Copier attempt but after watching im going online account that maybe the game is protected? and so I need to do a bit more that just a basic "copy CD". ? Any assistance received with gratitude and thanks for reading this.

    PS. I tried to buy an original, but finds him not available online to the United Kingdom!

    Thanks again

    I don't know if this particular game CD is protected against copying. According to the balance of probabilities, it is. And I don't know which particular method or methods has been or have been used.

    Take a look on

    http://www.SlySoft.com/en/

    and see if one of their products, alone or in combination with others, will allow you to make a backup copy of the game.

    Note that if the original disk is very readable, the copy cannot correct errors; However, the result may be usable.

    Tom Ferguson

    The foregoing it whole, is intended to answer the technical questions raised. A lawyer for legal advice upon which you intend to rely.

    TF

  • Is it possible to make files always open size full screen in Vista?

    Getting files to always open full screen

    Is it possible to make files always open size full screen in Vista?  It's a setting that is easy to do under XP, but he continues to annoy me in Vista, as some setting I try, it always opens with persistence in a small window of default size, and I have to click to maximize.

    I use Vista Ultimate with a score of 5.9 Windows experience.  I have the Radeon HD 4870 x 2 graphics card and a monitor ViewSonic 21 inches, both with drivers signed to date.

    Space ALT X - problem solved

  • Is it possible to cross the items in reminder similar to what you would do for a list of the written tasks?

    I want to use the text "off" option to cross the items on my reminder similar to what I would do with a written reminder.  In this way, I know what items I have completed as well as article I have left to do.  Is it possible to do this by using Sticky Notes?  I seem to be finding more reasons to not use this tool (cannot easily change fonts and now this...).

    I found it.  Highlight the text and use CTRL-T.

Maybe you are looking for

  • SIRI remote no longer meets its

    When I first set up my TY Apple (4th Gen) the SIRI remote worked perfectly, I don't know when exactly it has stopped working, but now if I press the Microphone button, the TV responds and shows the bar of SIRI, but it not modulated and continues to g

  • Should which driver I use for Windows XP on Portege R500 by WLan

    Because I couldn't get the wireless Lan driver, Intel, 11.1.0.100 references driver Toshiba download site (I'm redirected to a link that does not work), I went on the site: http://aps2.toshiba-tro.de/wlan/. Information about the two sites, all two of

  • Rename LVLIB containing LLB

    Please can someone corrects me if I try to use the structures of LabVIEW files incorrectly. I built a free figure instrument driver - contained in a LVLIB It refers to a code written by the H/W manufacturer which was provided in a LAW degree. Problem

  • 23 envy d027c All In One with the card mother Lavaca3-SB IPISB - NK. How to upgrade the video card?

    I have a HP Envy 23 d027c All In One with the card mother Lavaca3-SB (pegatron) IPISB-NK.  It has a PCI slot available for upgrade of the video.  I want to do this.  I intend to use the pc for video processing and maybe a few games. How to pass the v

  • Automatic "set associations" feature stopped working - how can I reset it?

    Running on Windows Vista Edition home premium & use hotmail to send. I had yesterday a prompt to update my "Real Player" that I did and in the process it has automatically installed Google Chrome - that I did not open, but simply removed from the lin