Flex :: Combobox Needs To Be Selected Twice To Open Drop Down List?

Mar 12, 2011

When a combobox is elected in the flex app, there is a quick flicker, then the combobox needs to be selected again in order to get the dropdown to open. After that, the dropdown works as expected, but only while selecting the control subsequent times while on the form. Reloading the form requires the double selection again.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: ComboBox That Removes Selected Item In Drop Down List?

Mar 30, 2011

Because of screen size, I must ensure we're only displaying necessary data to the user.I have a drop down box that contains only 5 items and I would like that when an item is selected, it doesn't appear in the drop down box (since technically it's showing twice, once at the top as the selected item and once in the list). how I would achieve this? I tried using a custom CellRender and overriding the "set selected" function to call this.visible = false if selected is true, but that simply hides the item but does not remove it from the layout of the drop down list.

View 1 Replies

Flex :: List - Show A Default Selected Item In A Combobox?

Apr 12, 2011

In a flex application how to display default selecteditem from the dataprovider of the combobox.

I'm using {staticdataholder.currencylist}.

For example: I have to show INDIA so it should be selected as default from the list.

View 2 Replies

ActionScript 2.0 :: ComboBox Component - List Doesn't Drop Down

Jun 3, 2008

I have a combo box on the stage in a main SWF. when the user selects an item in the dropdown list a child SWF is launched into level0 using loadMovieNum and data is left behind using _global variables for the child SWF to use. this works fine and well. but inside the new child SWF that is launched is a button that takes you back to the previous main SWF with the ComboBox. its done using the same method loadMovieNum into level0. and the main SWF loads but you cannot open the ComboBox. it will not drop down. the halo green color on hover over is there and it gets darker when you click, but the list doesn't drop down. here is some code that I think may be significant to the situation...

[Code]....

View 12 Replies

Flex :: Setting A Custom ItemRenderer In A ComboBox On Specific List Items After Combobox Creation?

Nov 8, 2010

I'm trying to set a specific list item in a mx combobox to have a custom item renderer, the problem is that I cannot do this via mxml, it needs to be done via actionscript at a later stage, eg: combobox gets created, combobox gets populated, user does other tasks, combobox needs to set one or more items in the combobox to have icons (via item renderer)..

I can do this via the onChange event, but it only applies the icon when the combobox is opened and there is a slight delay so you can see the icon being added.

View 1 Replies

Actionscript 3 :: Flex - List Selected Entire List By Default?

Aug 31, 2011

I am currently working on a project in Flex and I am having a hard time having a list's contents ALL be selected by default. Wondering how to do this.

<mx:List id="list" dataProvider="{dp}" allowMultipleSelection="true"/>

I'm just trying to have the list all selected.

View 2 Replies

Flex ::make 3 Combobox Selected Item?

Jun 4, 2011

I have a combobox with arrayCollection dataprovider, it selects nothing at start, but i see the first object label as selected, i want to add select text, as first option that selects nothing, just to indicate that the user didn't select an option yet.

View 1 Replies

Actionscript 3 :: Flex Combobox: Get The Value Of The Selected Item?

Dec 10, 2009

I am using a combobox for the us states, link. The label is set to the full name of the state, while the value attribute holds the abbreviation. What I want to do is to get the selected item's value. So I tried combo.selectedItem.value and combo.selectedItem.@value, but neither of them worked.

View 2 Replies

Flex :: First Value Should Be Selected When Loading The Data In ComboBox?

Aug 27, 2010

I had a comboBox and loading the datadynamically from the server. i need to display the first value in comboBox as a selected value and based on the value data should be populated on the grid.

View 2 Replies

Flex :: Dropdown Combobox Selected Background Color?

May 6, 2010

Flex is so tricky to style.

I have a combobox, when I arrow up and down over a select it has a background color, how do I change this color. This should be easy.

View 1 Replies

Flex :: Maintain Combobox Selected Item Across TabNavigator Tabs?

Mar 30, 2010

I've just recently started out using Flash Builder and have a question surrounding states. In fact I'm not entirely sure it is related to states but read on and I hope it will become clearer. I currently have a custom component that contains 3 comboboxes. This resides in a TabNavigator component. The TabNavigator consits of 5 pages (Tabs). The custom container holding the comboboxes should display the same selected data across all Tabs. ie. If I am in Tab1 and select an item from one of the comboboxes then click on Tab2 I need to mirror the combobox's selection in Tab2.

View 1 Replies

Flex :: Make SelectedIndex Correspond To Selected Item In ComboBox?

Jun 21, 2010

Isn't there a better way to accomplish this?[code]...

All I want to do is make sure that when I update the item that the comboBox is pointing to internally, that it's selectedIndex also update so that the label within the ComboBox reflects the new value.

View 1 Replies

AS3 :: Flex - Trigger A Search Function When Item Is Selected In Combobox?

Mar 3, 2011

I have a combobox that act as autosuggestion for a search application. Search function is getting triggered by a search button. I also want to trigger the search function either when the item in combobox is double or single clicked. Code:

[Code]..

View 2 Replies

Flex :: Force A ComboBox's LabelFunction To Be Called For The Selected Item When Locale Changes?

Sep 3, 2009

I have a ComboBox with a label function like this one:

private function fieldLabelFunction(item:Object):String {
return resourceManager.getString('dashboard',"SS." + item);
}

When I change locales, the labels display correctly in the ComboBox's dropdown list, or if I change a selection. However, the currently selected item's label doesn't refresh at first. Is there a way to force the labelFunction to get called again?

View 1 Replies

Flex :: Accessing The Currently Selected Item In ComboBox Of Manually Entered String?

Nov 14, 2011

I just want to acquire the existing label from the currently selected item in a ComboBox. I populated it with a DataProvider with a list of strings and it will not allow me to get the currently selected label, especially if I input a new one, not included in the DataProvider

View 1 Replies

Flex :: Change Text Color Of Component Label/selected Item In ComboBox?

Jun 2, 2010

When I set style color, it changes both the text color for the selected item/component label and the text in the dropdown menu.

color
Type: uint Format: Color CSS Inheritance: yes
Color of text in the component, including the component label. The default value is 0x0B333C.

I would really like the label to be white and the text to be black.

View 1 Replies

Flex :: Get Selected Items Drag & Drop Component?

Dec 2, 2009

How to get all the selected items from in this below code selectedContsList ?

<mx:DataGrid id="dg" dataProvider="{cNumbersList}" allowMultipleSelection="true" dropEnabled="true" dragMoveEnabled="true" >
<mx:columns>

[code].....

View 1 Replies

Flex :: Make Sure That There Is Always Something Selected In A Spark List?

Apr 29, 2010

I have a spark list, which is based on a dataProvider. As the application runs, the data in the dataprovider can change, and also the dataProvider can be swapped for a different one

What I need to do is make sure that something is always selected in the list (unless it is empty)

View 1 Replies

Flex :: Accessing Value Of Selected Item In A List?

Sep 2, 2011

I'm having a problem with getting the value of an item that the user selects in my mobile Flex application. When I select an item from the list I place that item into an ArrayCollection. But when I check the value (trace()), the value is [object Object] and I can't seem to access the actual value of the object. Here is what I am doing:

private var selectedPlayers:ArrayCollection = new ArrayCollection();
private var numOfPlayers:int;
...
//check if item is not already in selected players list

[code]....

View 2 Replies

Flex :: Spark List Selected Item Coordinates?

Jun 17, 2011

I have a list with custom item renderers. What I would like is when one of the list items is selected to position another control OUTSIDE the list to the same vertical position as the selected item.

View 2 Replies

Flex :: Scroll To Selected Item In Spark List Component?

Oct 21, 2009

I'm setting selected element in s:List component with Actionscript, it works, but List doesn't scroll to selected item -- need to scroll with scrollbar or mouse. Is it possible to auto-scroll to selected item

View 8 Replies

Flex :: Adobe - List Switching ItemRender Of Selected Item?

Dec 17, 2009

In Flex 4 (beta 2), I have a list control populated from an XMLListCollection. What I would like to do is when an item is selected in the list, use a custom item renderer on the selected item as well as the item that appears just prior to the selected item in the list.

I am using a spark list control, but I am open to alternate components if the solution makes sense.Here is the strucutre of the xml used to populate the XMLListCollection

<Images>
<Image>
<Id>1</Id>
<Url>http://www.mydomain.com/image1.png</Url>

[code]....

View 1 Replies

Flex :: Access Selected Items In Adobe Air Using The Spinner List?

Feb 21, 2012

I am learning Adobe Air and want to get the current selected item in the spinner list I have created, however every time I use selectedItem I keep getting the same value over and over, no matter what option I select. I am trying to make an application for the Playbook and this this my SpinnerList code:

<s:SpinnerListContainer x="10" y="279" width="325" height="266">
<s:SpinnerList width="69" height="100%" enabled="true" labelField="data" selectedIndex="1" id="From">

[Code]....

No matter what, 'KM' is always shows as the selected item when it is not. This is what I have in the script tags:

var selected = From.selectedItem;

View 1 Replies

Flex :: Data Binding - ComboBox And XML List

Mar 19, 2011

I have a bit of a problem (since I'm not used to binding with AS3), the thing is that I want to do this kind of data binding:

<mx:Application xmlns:mx="[URL]"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
[Code] .....

But the ComboBoxes are being created dynamically with AS3, everything is working except I cant bind the second ComboBox dataProvider to be the XMLList in the first ComboBox's selectedItem.

View 3 Replies

Flex :: Determine Where Selected Row Is Closed Or Open On ItemClick Event In AdvancedDataGrid

Sep 30, 2010

I have an AdvancedDataGrid with Hierarchical data in it. On itemClick I have to identify if the row I clicked is expanded or collapsed.

View 1 Replies

Actionscript 3 :: Flex 4 ComboBox Stays Open When Filtered

Jul 29, 2011

I have a Flex 4 app with an external ItemRenderer inside of a DataGroup for a repeating form. The DataGroup dataprovider is an ArrayCollection (coll_sites). In the documentParent I have a trio of comboBoxes (Status, Year, Area) that trigger a filter function that operates directly on coll_sites.The itemRenderer has a series of textInputs and comboBoxes. Three of these comboBoxes are tied to fields in coll_sites (again, Status, Year and Area) that are filtered by the aforementioned parentDocument comboBoxes.The problem I am having is that in the itemRenderer when the field is one of the filtered ones, the itemRenderer ComboBox will not close. If it's not filtered, there is no problem. I have confirmed that the problem ComboBox updates the ArrayCollection appropriately, it just won't close unless another Item in the dropdown is selected.[code]In the ItemRenderer code above, the ComboBox for STATUS works exactly as it should but YEAR stays open after changing. In my full code, I have three such filtered fields and all three behave exactly the same. The other six fields which are not filtered, close appropriately.

View 1 Replies

Flex :: Force Combobox Dropdowns To Stay Open?

Jan 19, 2012

How do you force Combobox dropdowns to stay open even when other Alert boxes appear. Looking at what to subclass from mx.Combobox, there doesn't seem to be much that i can do to short of implementing an entire combobox from scratch.

View 1 Replies

Flex :: Send The Names/labels Of Selected Items From A List To A Php File?

Oct 28, 2009

I know i can access multiply selected options of a list by

var selectedAlgos:Array = algosList.selectedItems;

where algosList is the name of my List.

How to i send this array via HTTPService to a phpfile and how can i then access the elements of this array from the php file?

View 1 Replies

Flex :: Handling Mouse Click 4 List To Find The Selected Item (since ItemClick Is Gone)?

Dec 8, 2011

I have prepared a simplified test case for my question. It will run instantly in your Flash Builder if you put the 2 files below into a project.I'm trying to display a List of strings and a confirmation checkbox in a popup:In the real application I dispatch a custom event with the string selected in the list, but in the test code below I just call trace(str);My problem: if I use click event, then the window closes, even if I click at a scrollbar (the !str check below doesn'twhen an item had been selected in previous use). And if I use change event, then the window doesn't close, when I click on the same item as the last time.riting a custom item renderer and having a click event handler for each item seems to be overkill for this case, because I have strings in the list.Test.mxml: (please click myBtn few times - to see my problems with click and change)

<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"

[code]........

View 3 Replies

Flash :: Flex - Combobox Drop Down Halted When Select One Item And Show Alert?

Feb 3, 2012

Here is my code.I run this code on change event.

for(var i:uint =0; i< model.medicalHistoryDTOListByPatient.length; i++)
{
if(formatDateTime.format(model.medicalHistoryDTOListByPatient[i].VisitDate) ==

[code]......

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved