Can a combobox contain two different list seperated by vdivider ?

Hi,
I need a combobox which contains list item of two types.
These items should be in two different list in a combobox seperated
with vidivider. Is this is possible.
Any one with suggestion or solution can help a lot.
Thanks...

hi,
Actually the i have an arrayCollection which which is having
items as some strings, thing is that some strings having numbers at
their end like text2,text5... and some are like text,demo.... these
strings are added in arrayCollection such that the strings with
numbers are at top and then are strings without number.
I want that the combobox should show numbered strings in
first half of list then there should be a
verticalDivider(mx:VDividedBox) and the string without numbers in
second half.
I mean to say a combobox with mx:VDividedBox which is having
two lists. something like this,
<mx:ComboBox width="250" dataProvider="" >
<mx:itemRenderer>
<mx:Component>
<mx:VDividedBox>
<mx:List dataProvider="" labelField="" >
</mx:List>
<mx:List dataProvider="" labelField="" >
</mx:List>
</mx:Component>
</mx:itemRenderer>
</mx:ComboBox>
Here it is some thing like i want but how to provide the
dataprovider to this i don't know.
Is it possible ? any how i need a solution for it...Please
reply if have some solution

Similar Messages

  • HT204053 can i set up two different phones on my computer to use i-tunes ?

    Can i set up two different phones with two different ids on my computer to use i-tunes?

    You can, and there are different ways to do it : http://support.apple.com/kb/HT1495

  • JComboBox display two different lists

    I have a JComboBox in a JTable column. The requirement is that the JComboBox displays two different lists based upon which mouse button is clicked on the JComboBox. i.e When user clicks on mouse Button1 the JComboBox should popup with a list of products(user default products). But, when the user clicks on mouse Button2 the JComboBox should popup with a different list of products(all the products).
    Any help will be appreciated,
    Thanks in advance!

    UNDEBUGGED, UNTESTED, OFF THE CUFF CODE
    public class myEditor extends AbstractCellEditor implements TableCellEditor {
      private int sel = 0;
      private String[][] str = {{"Option 1", "Option 2", "Option 3"},
                            {"Select 1", "Select 2", "Select 3"}};
      private JComboBox[] fieldCombos = new JComboBox[str.length];
      private DefaultCellEditor[] fieldEditors = new DefaultCellEditor[str.length];
      public myEditor() {
        for (int i=0; i<fieldEditors.length; i++) {
          fieldCombos[i] = new JComboBox();
          for (int j=0; j<str[0].length; j++) {
            fieldCombos.addItem(str[0][j]);
    fieldEditors[i] = new DefaultCellEditor(fieldCombos[i]);
    public Component getTableCellEditorComponent(JTable table, Object value,
              boolean isSelected, int row, int column) {
    fieldCombos[sel].setSelectedItem(value);
    return fieldEditors[sel];
    public void setSelector(int Selector) {
    if (Selector>=0 && Selector<str.length) sel=Selector;

  • HT204053 can I purchase from two different stores ie store in New Zealand and Store in Australia and  how do I sync updates on applications?  Do I have to switch ID's in my settings each time or is there an easier way.

    can I purchase from two different stores ie store in New Zealand and Store in Australia and  how do I sync updates on applications purchased from either store?  Do I have to switch ID's in my settings each time or is there an easier way.  The trouble is I set up my appleid in new Zealand and so all icloud and itunes and app stores are under New Zealand Apple ID I have since moved to Australia. Im a real beginner at this stuff so bare with me pse.

    I'm in the same boat as you -- except that I manage both a school lab (volunteer job) and macs in the enterprise (pay job).  What I think we need is the Education Volume Purchasing Program
    http://www.apple.com/education/volume-purchase-program/faq.html
    Unfortunately this all seems a little rough around the edges -- for example, I have found updates for AppStore apps on the support.apple.com updates download site, but then when I install them via ARD they don't actually update the software.  (The AppStore icons still show as needing the updates, and the version info reports the old version.)  The documentation is also vague about which AppleID to use in which circumstance.  I think they just haven't finished thinking through the implications of the various procedures and policies upon the various kinds of customers.  When we deployed Mountain Lion on the school lab, we made an install usb and went around and installed it on each computer -- and it appears that you are on the honor system as far as paying for all of the licenses that you install.  We did!  But they appear to have no way to enforce it.
    So far, I have only deployed 9 Lion macs in my day job, and our "solution" to the AppStore showing updates problem has been to drag the AppStore icon off of the users' docks so they don't see them!

  • If I purchase Lightroom 5 can I install on two different computers?

    If I purchase Lightroom 5 can I download onto two different computers?

    Provided they're both for your use, yes.

  • Group radio button itemrenderers of two different lists

    Hello ,
    How do I group radio button item-renderers of two different lists? If i select a radio button of list 1, then the list 2  Radiobutton which was selected previously should be un-selected. How to do?

    Are you looking for something like this:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark">
        <fx:Declarations>
            <fx:Component className="MyRenderer">
                <s:ItemRenderer>
                    <s:RadioButton id="rb" label="{data}" group="{outerDocument.rbg}" width="100%" height="100%" />
                </s:ItemRenderer>
            </fx:Component>
            <s:RadioButtonGroup id="rbg" />
        </fx:Declarations>
        <s:List id="myList" itemRenderer="MyRenderer">
            <s:dataProvider>
                <s:ArrayList>
                    <fx:String>0</fx:String>
                    <fx:String>1</fx:String>
                    <fx:String>2</fx:String>
                </s:ArrayList>
            </s:dataProvider>
        </s:List>
        <s:List id="myList2" x="150" itemRenderer="MyRenderer">
            <s:dataProvider>
                <s:ArrayList>
                    <fx:String>A</fx:String>
                    <fx:String>B</fx:String>
                    <fx:String>C</fx:String>
                </s:ArrayList>
            </s:dataProvider>
        </s:List>
    </s:Application>

  • How to insert data into two different lists in sharepoint 2010

    I have a page containing a dropdown list having two departments like IT, HR.
    If i select HR, one input form will display for filling HR related info, these i need to store in HR list.
    In the same way for other dept through custom coding.
    someone help me on this

    Hello
    chiranjeevi avala
    I think You can do it using event listener on Item Creation event of your HR List and put your functionality to add elements in IT list over their.
    for more info check this link:
    http://msdn.microsoft.com/en-us/library/office/ms437502(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/gg749858(v=office.14).aspx
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • Wether can invoice have with two different VAT rates, 16%

    Dear SDN team,
    I have a requirement like a invoice should have two different VAT rates.
    Situation is below:
    A rebate agreement is created and it was settled partially and final settlement is also carried out.
    Rebate agreement nº  XXXXXXXX, with a validity period between the 01.05.2010 until 31.07.2010. This rebate agreement created the credit memo XXXXXXXXX with the VAT rate of 18%.
    Mean time the VAT rate was changed from 1st July from 16% to 18%.
    There are invoice created in the first half and others belonging to the second half.  Invoice created during the First Half it was created the VAT value with 16% (Before July)and the Invoice created with the Second Half it was created with 18% (After July1st).
    But customer request is to have an invoice with two different VAT rates, 16% and 18%. However, the invoice only takes into account the 18%.
    And i have suggested the below resolution - But user still needs to have two different VAT rates in one invoice for the line item this is for the have a legal precept which force me to have a different VAT rates depending on the original invoice date
    Please let me advice how to resolve this issue.
    Looking forward for your favorable reply.
    Thanks and Regards,
    Jana
    Suggested Solution:
    But having two different VAT rates in one single invoice or credit note is not possible at all.
    Further if you would liked to have different VAT rates for the two separate ivoices - This can be done by doing the Rebate agreement with partial settlement for the First half that is before 30.06.2010 and final settlement after 01.07.2010. By doing this rebate agreement will have two different invoices created with two different VAT rates.  But now this is not possible for the RA where it is done with final settlement.
    So, You can not have two different VAT rate in one single invoice.

    Dear,
    In order to solve this issue with wrong VAt rates I propose you to proceed as follow:
    1) Cancel the CN (Credit Note)
    2) In the CMR (Credit Memo Request) set the tax classification of the materials with wrong VAT % to 0 (inside the CMR in item-billing document).
    3) Maintain for the access sequence of MWST a higher access than the normal one for tax classification 0 with the old tax percentage (E.g.: 16% in your case)
    4) Determine a new pricing for the CMR (via menu path: Edit > New pricing document)
    At this stage your items will have some 18% and some 16% of VAT. When you create the CN those percentages will be kept.
    If you are satisfied with the result it is now a matter of making sure the program that prints your invoice is mentioning the different VAT rates of the items. As you didn't specify anything about this point, I seize the opportunity to advice you about. No matter of the type of print program you are using (SAP script, PDF or Smartforms), you need TO BE SURE that when the CN is created (with two different types of VAT %) also your PRINTOUT is properly created mentioning the two different rates and relative values.
    If not printed correctly because you did not foresee to have different percentages it is easy to solve it with a programmer.
    In case of questions or doubts do not hesitate to post back your answer.
    Regards,

  • Create Site Column and add it to two different list as dependent lookup column

    I want to create two lookup lists that will have one common column. The common column values will vary depending on the list.
    For ex: List A holds Countries (USA) and their Currency code (USD). List B holds States (New York) and their code (NY). The lists are completely independent of each other. I would like to create a common site column named "Code" of type
    Text and use it across these two lists. Is it possible?
    My solution so far -
    a. created the site column (programmatically) which is pretty straight forward.
    b. created list definition with two fields (Title and Code).
    c. created list instance for Country list. Added data rows in the elements.xml. But not sure how to add Code field as dependent lookup.
    If I remove the code field from the elements.xml, the solution deploys successfully creating the Country list with just the Title field. But I need both the fields. Any help is appreciated.
    Here is a look at the elements.xml with data rows for Country list instance
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ListInstance Title="List Instance" OnQuickLaunch="TRUE" TemplateType="10001" Url="Lists/CountryList" Description="Country Values">
    <Data>
    <Rows>
    <Row>
    <Field Name="Title">USA</Field>
    <Field Name="Code">USD</Field>
    </Row>
    <Row>
    <Field Name="Title">Japan</Field>
    <Field Name="Code">Yen</Field>
    </Row>
    <Row>
    <Field Name="Title">Australia</Field>
    <Field Name="Code">AUD</Field>
    </Row>
    </Rows>
    </Data>
    </ListInstance>
    </Elements>

    Hi,
    According to your post, my understanding is that you want to add lookup field to the list in elements.xml.
    I recoment you to create lookup column as site column, then bind the lookup column to the contnet type, and then use the contnet type in the list.
    For more information, you can refer to:
    http://spcodes.blogspot.com/2013/02/create-custom-content-type-with-lookup.html
    http://social.msdn.microsoft.com/Forums/office/en-US/d5ec08d5-cfa7-4bbb-9459-78d04674ee59/add-a-lookup-column-in-the-schemaxml?forum=sharepointcustomizationlegacy
    http://www.justanothertechnologyguy.com/2013/01/how-to-create-and-connect-lookup-fields.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How can I interact between two different frames in the same indesign template as well as from one template to another.

    I am looking for the best way (or any way) to interact between two different frames in the same indesign template as well as from one template to another. It's for a DPS app which needs to carry some button initiated data from one page to another and then present it in a table.

    There is no simple way to do it, as itunes wont let you use it on another computer without wiping the contents first.
    However if you really want to transfer songs to another computer then you could try this;
    * make sure that your ipod is accessible as a disk drive (ipod options)
    * when you plug your ipod into the computer you want to transfer to make sure you select "no" or "cancel" when it asks to wipe the contents. Leave the ipod connected and quit from itunes.
    * go to "my computer" and access the ipod directly. You probably have to select "view hidden files" from windows. You will see a lot of folders with odd names like ZX838aff with similar named files inside.
    * copy these files to a folder on your computers hardrive. Now remove the ipod and start itunes.
    * import the files from the folder you made in the last step.
    * Now your music is on itunes, but with unrecogisable names.
    This is the only way I have found to do it, but there may be another way, say with an application to do the hard work for you.
    Generic homebuild PC Windows XP
    Generic homebuild PC   Windows XP  

  • How can I set up two different ical accounts? my wife's iPhone syncs my calendar.

    I need to set up two different ical accounts. my wife's iphone syncs my calender entries. she needs her own.

    Move them from one library to the other, or click here and follow the instructions.
    (100046)

  • How can I log into two differant accounts at the same time in two windows without the second window affecting the first.

    I'm trying to log into two facebook accounts at the same time in differant windows. When ever I log into the second account in the second window it changes the login in the first window. When I hit home or any other link the first window account has been logged out and logged into the second window account. I tried installing a second copy of firefox in a differant folder that the first but it seems to use all the files of the first installation. If I can get 2 toatally seperated instalations that don't rely on the same history, cookies, cache, etc I belive that will solve my problem. Please help.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)

    Nah, that won't work. Facebook has a feature that gets your IP Address, so as soon as you sign into one on the same computer, it changes the other login for safety purposes (say, someone was on a public library PC. They forgot to log out. Someone else logs in, and it automatically logs them out). You'll need 2 computers to do that.

  • HT2534 How can i download from two different store with the same account?

    I live in both countries but my credit card is registered in a french bank, therefore it is not recognised by the Aussie store on itunes. There are apps or music i want to get form the Aussie store as well as music and other apps from the french one...
    Is it possible to have two stores under the same account????? I wish apple could fix this, which could result in more spending as you can buy from different store!

    Wait 90 days
    Why would you start a new account?  Why not just correct the original account?

  • Can I Read From two different Kindle accounts on one ipad?

    My fiance just bought an ipad 4.  She has installed the Kindle app so she can read content from her Amazon Kindle library on her ipad. 
    I have a separate Amazon Kindle library that I want to read on her ipad too.  How can I do this without co-mingling our Kindle libraries?  Is there a way to install two separate Kindle apps on her ipad? 
    I will be most appreciative of any solutions that you can offer to me.
    Robert

    You can use Safari (the Amazon site that it's only compatible with Safari on iOS devices) and go to https://read.amazon.co.uk/ and you should be able to save the site/'web app' to your iPad's homescreen and link it to a different account than is in the Kindle app itself.
    Kindle Cloud reader help

  • Fetch Data from two different Lists (Based on criteria)

    I have two lists. One is for Designations and another is for
    Hirings. Designations list holds all available designations and Hiring list has list of hired employees. Data may look like following...
    Designations list:
    PostTitle
    Software Engineer
    Web Developer
    Graphic Designer
    Trainer
    Manager
    Team Lead
    and Hiring list may look like following
    Hirings list:
    PostTitle
    Employee
    Start Date End Date
    Trainer David
    05-Jun-14
    Manager Peter
    06-Jun-14 30-Jun-14
    PostTitle is lookup column in hirings list. Now, I have to create several views over this data... one of them is of "Vacant Posts" that will fetch all those records from Designations which are either not referenced in hirings or are referenced
    in hirings but has some end date.
    Vacant Posts View:
    Fetch all records from Designation which are NOT in Hirings
    UNION
    Fetch all records from Designations which are in Hirings But has some END DATE.
    Please guide me how can I create this Vacant Posts view ? Is their any out of the box functionality available ? what are the easiest possible ways to accomplish this?
    Zia.

    Yes You can Use CAML.
    Below Query can be helpful to start with.
    Function GetSharePointList1() {
    context = SP.ClientContext.get_curre
    nt();
        oList = context.get_web().get_lists().getByTitle('SharePoint List 2');
        var camlQuery = new SP.CamlQuery();
        camlQuery.set_viewXml(query);
        items = oList.getItems(camlQuery);
        context.load(items);
        context.executeQueryAsync(
            Function.createDelegate(this, onSuccessSharePointList1),
            Function.createDelegate(this, onFail)
    function onSuccessSharePointList1(){
            recNum = items.get_count();
          if(recNum != 0){
             var listItemEnumerator = items.getEnumerator();
             while(listItemEnumerator.moveNext()){
                    var oListItem = listItemEnumerator.get_current();
                    $().SPServices({
                    operation: "GetListItems",
                    async: false,
                    listName: "SharePoint List 2",
                    CAMLViewFields: "<ViewFields><FieldRef Name='Worklocation'/></ViewFields>",
                    CAMLQuery: "<Query><Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + ReferenceID +
                                              "</Value></Eq></Where></Query>",
                    completefunc: function (xData, Status) {
                      $(xData.responseXML).SPFilterNode("z:row").each(function() {
                        Worklocation = ($(this).attr("ows_Worklocation"));
                     s = ..... (display all in table format)
                  $("#resultTable").append(s);
                  i++;
    Thanks and Regards Rahul Dagar

Maybe you are looking for