Multiple Selection In Combobx In Flex 3.0?

Jul 8, 2009

I have put one combobox in flex application. I need combobox with multiple item selection how to select multiple items in combobx in adobe flex 3

View 1 Replies


Similar Posts:


Flex :: Multiple Selection Programmatically?

Mar 17, 2010

I have I datagrid, on which I want to select multiple rows on a other user interaction than the one intended by the Programm. I'm wondering, whether I can programmatically select some rows depending only on code?

View 1 Replies

Flex :: Multiple Row Selection In Datagrid

May 12, 2010

flex example to select multiple row selection in datagrid

View 1 Replies

ActionScript 3.0 :: Have Multiple Selection In Flex Combo Box?

Sep 7, 2009

can you please tell me how to have multiple selection in flex combo box component

View 1 Replies

Flex :: Find Out Deselected Item In Spark List With Multiple Selection

Aug 3, 2010

In a spark list I could use the change event to find out which item has been selected or deselected. The dispatched IndexChangeEvent object has the properties newIndex and oldIndex holding this information.

But with multiple selection allowed this doesn't work anymore because newIndex and oldIndex could refer to indices of still selected elements.

A solution would be to copy the selectedIndices vector to another variable and compare this variable with selectedIndices after a change in selection, but this seems to be somewhat complex.

Does anyone know if there is an easy way two get the index/item a user is deselecting while other elements are still selected?

View 2 Replies

Flex :: AdvancedDataGrid Multiple Cell Selection Highlight Not Fully Clearing

Sep 23, 2010

I've two problems, the second of which is only an issue because it's a possible way to fix the first! I'm developing a Flex 4.1 application, using a Spark theme: I can't change these; Halo isn't an option. It's providing the facility to fill multiple-selected cells of an AdvancedDataGrid with a single character, from a single keypress. So the user selects their cells using the Shift key, hits H (for example) and sees all the cells update with H, without using an itemEditor but via grid keyDown events instead. Then they click somewhere else and the selection should clear.

However the visible selection isn't fully cleared and the newly coloured cells won't all change from their selected colour. Underneath I can verify that the selection has cleared: mygrid.selectedCells is empty. All behaviour afterwards points to some kind of display glitch with the grid: The cells aren't selected any more but they look like they are.

[Code]...

View 1 Replies

ActionScript 2.0 :: Multiple Selection In A List?

Mar 24, 2010

I have a populated list component with multiple selection enabled, on pressing a button i want to know all of the selections that have been selected. Instead i can only find the .getSelectedItem() thing, which only tells me the last selected thing. How would i do what i want to do?

Also, another thing. If i want to select a specific index of the list, how do i do that? I have tried

'_root.roomsAvailableList.index(i).label'
'_root.roomsAvailableList(i).label'
etc. non seem to work.

View 1 Replies

Scaling Selection About Multiple Centers?

Jun 25, 2009

In Flash CS3 is there any way to scale a large number of symbols (each on their own layer) at the same time, about each symbols own center. For example after scaling down, every symbol is smaller but it's x,y position has not changed.

View 1 Replies

ActionScript 1/2 :: Checkbox List & Multiple Selection?

Aug 17, 2007

I've added checkboxes to a list component using the cellrenderer however the behavior is different from what i expected. I'm only able to check one box in the list at a time. I need to be able to check mutiple boxes in the list.

I'm aware you could hold down the control key and select individual the checkboxes, but the application i'm developing is a touch screen aplication hence no keyboard, no control key. I've tried programmaticaly setting the selectedindicies but the checkboxes don't appear checked after the selectedindices have been set.

View 1 Replies

IDE :: CS4 Jsfl - Fl.getDocumentDOM().selection Doesn't Retain The Selection Order

Nov 11, 2010

I never realized that fl.getDocumentDOM().selection doesn't retain the selection order... <sniff>. I was hoping to build relationships based on the order. I guess I took if for granted that tools like Maya and Max store the selection buffer in order of what was selected. I'm trying to avoid: Select Object, <Press 'Parent' Button>, Select Parent, <Press 'Parent' Button>

View 2 Replies

ActionScript 2.0 :: Selection.setFocus Selection.getFocus Inputting From Mc?

Sep 6, 2007

i am attaching a number of _mc (my_mc) with a for loop. Inside each my_mc is an input textfield (my_txt)I want to click on my_mc.my_txt and select the textfield .the following code allow this and i can enter text from the keyboard however I want to add text from a _mc keybooard on screen (here called myBtn_mc).As soon as I click on myBtn_mc of course I lose focus ... i have tried to use a variable (select) to keep scope&focus

View 6 Replies

Actionscript 3 :: Flex - Selection In Flex Datagrid Does Not Pass The ValueObject To SelectionChangeHandler Function

Aug 11, 2011

I have a TabNavigator, and each tab is a Module. One of the modules is labelled Units and the full code of the module is posted in this post. There are several problems:

1) Forms are not populated with data from the datagrid selection.
2) Selecting a row and clicking delete gives the very-common error: TypeError: Error #1009: Cannot access a property or method of a null object reference.

A trace on the valueObject unit within the selectionChangeHandler function gives NULL. Why? Note: In other modules (other tabs of the TabNavigator), I have DropDownLists populated with units. This means that the valueObject Unit is defined in the other modules. However, valueObjects should be private to modules, and not shared.

[Code]....

View 1 Replies

Flex :: Disable Selection Of A Row?

Sep 16, 2011

I want to disable (and look disabled) some rows in a spark datagrid. I found this answer to stop selection which is greatIn flex, is there a way to capture and optionally cancel a row selection event in a DataGrid?

But I want in addition to show that the particular row is not selectable. Ideally I want to have some sort of overlay but I am not sure if that is possible. My alternative solution is to change the text color to grey for the unselectable row. Looking at the datagrid renders they all seem to be column based. I looked at skinning potentially (overriding the alternating color property) but this just sets the background property and not the text color.

View 1 Replies

Flex :: TileList Item Selection?

Sep 1, 2009

In my TileList, I want to select the TileList items on rollover, as opposed to the click event. I already have the TileList setup to allowMultipleSelection = "true".

View 3 Replies

Flex :: 3 - Combobox With Multi Selection

Jun 15, 2010

I have a combobox with multi selection. when i click on add button, which ever data is selected in the Combobox, those data has to be displayed in the another comboBox.

[Code]...

View 1 Replies

Flex :: Set Focus And Selection On A TextField?

Jan 16, 2011

I am trying to programmatically pass focus to a newly created TextField, but for some reason setSelection and setFocus do not work. For example, see my test code below:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="_init()">
<mx:Button click="{tf.setSelection(1,2)}" />[code]....

The only setSelection that does anything is the 0,3 one on MOUSE_DOWN. I assume this all has something to do with the text field receiving focus with the mouse click,

View 2 Replies

Flex :: Get A Bounding Box For The Current Selection?

Jan 25, 2011

I'd like to do fancy things the selection indicator. How do I get the bounding box for the currently selected characters?

View 2 Replies

Flex :: DropDownList Selection When Using Keyboard In Air

May 11, 2011

Let's say I have a DropDownList with the 50 states in it. I would like to type in the letters "C + O + L" to jump to Colorado, like Firefox and most application do. Right now, it's jumping from California to Ohio to end with Louisiana.

View 3 Replies

Flex :: Keep Selection After Refresh In Datagrid?

Jun 6, 2011

My datagrid is filled with data from an Oracle database. The datagrid refreshes after 1 min. After that, I lose the selected item. I want to avoid that. Consider that it's quite possible that there is new data after refresh, so the selected index may no longer appear in the datagrid after a refresh.

View 1 Replies

Flash Flex Datagrid Selection

Oct 14, 2011

I have a dataGrid in Flex to which data is added dynamically using dataGrid1.dataProvider=myArrayCollection;The DataGrid is non-editable and defined in mxml as [code]The data in myArrayCollection definitely does not contain duplicates.I am not able to select any row except the last.This occurs when I overlay the AIR 3 SDK on my copy of Flex

View 1 Replies

Xml :: Flex + DataGrid + Dynamic Display On Selection

Dec 17, 2009

Back again with another Flex question. I have an XML structure like...

[Code]...

Now I got his displaying on my grid by saying dataProvider=XMLListCollection... What I want to do is on selection of a row, check if it has "Address" tag, if it has display the other grid, else hide the grid.

View 2 Replies

Flex :: Selecting Row On Selection Of CheckBox In Datagrid

Jan 5, 2010

I have a datagrid with 5 columns. The first column has checkboxs and rest four columns have data from the dataProvider.

I have two relating issues: First: I want the row to get selected when I click on a checkbox, or if i click on multiple checkboxes, every row should stay selected in the datagrid for whose checkbox is selected.

Second: If a row or multiple rows are selected, the corresponding checkbox should get selected too.

My code is given below:

<mx:DataGrid id="dg_trashContent" allowMultipleSelection="true"
verticalGridLines="true"
dataProvider="{trashDataProvider}"

[code].....

View 2 Replies

Flex :: Blue Selection Of Datagrid Row Programmatically?

Jan 28, 2010

I have a question I came up with 3 days ago about how to do the blue underlining of a datagrid row programmatically. I thought to have found the solution, with just adding the column and row Indexes to the datagrids editedItemPosition Property.It turned out, that this is just practical if you want to be able to edit the grids row right away. But what if I just want to underline it with the blue color?Additionally how to detect that a list based Item got this kind of selection? es there a event to detect that? whats the name of this kind of selection?

View 1 Replies

Flex :: Maintain Selection In A DataGrid When The Data Changes?

Apr 6, 2010

I have a DataGrid and I set the DataProvider to my data. When my data changes the DataGrid loses the selected row and the scroll bar jumps back to the top. How do I maintain the selection and scroll position?

View 2 Replies

Flex :: Cancel Text Selection On Textinput?

Jun 9, 2010

So the real problem is the lack of an onReleaseOutside function. I found some examples of how to bypass this during a drag function but it was not applicable for a text input.The problem is that when a user selects some text in textinput and mouses off the application area and then mouses up, I'm getting a problem that the textinput keeps thinking that the mouse down is actively selecting text in the textinput and continually overwrites the characters being entered in the textinput. in the search bar of the live store on the page, type some text, then highlight it all and don't let up on the mouse until you are outside the store.I finally hacked some junk together so I can tell if the mouse goes off the stage using some code like.

var x = stage.mouseX;var y = stage.mouseY;if(x < 0 || y <0 || x >stage.stageWidth || y > stage.stageHeight)I'd like to just make the textinput stop thinking it should be highlighting text so that even if the user scrolls out of the applet and mouses up that the text input still overwrites what is in the search bar and functions as normal.

View 1 Replies

Flex :: Remove The Highlight/selection On AdvancedDataGrid

Jul 3, 2010

This page describes how to override the drawHighlightIndicator/drawSelectionIndicators methods for the header of a DataGrid, but an AdvancedDataGrid does not have "headerClass" in mx_internal. It instead has an headerRenderer.

How can I remove those blasted highlights over an AdvancedDataGrid in Flex 3?

View 2 Replies

ActionScript :: Flex - Keep Selection When Refreshing Datagrid

Oct 20, 2010

I'm working on my first ever AIR application with flashbuilder - just so you know. I've bound a mx:DataGrid component to a DataProvider which is a mx:HTTPService fetching an xml file with items. To keep the data up to data I'm polling the webservice on a given interval.

My problem is that I loose the currently selected item in my DataGrid when the data is updated. I've tried to save the DataGrid.selectedIndex and set when the data is updated, but I'm not sure when to do it?! The closest I've come is to restore the index when the updateComplete event of DataGrid is fired. This works, but the selection first fades away and then fades in - not updated soon enough. So what is the best way to keep the selection? (only one selected item at a time) And as a side question: is there a convenient way to only update the data when it has actually changed?

View 2 Replies

Flex :: How To Disable Hover And Selection Colors

Feb 10, 2011

Flex 4: mx|tree - How can I disable items selection? I want to disable the hover and selection colors so when a user selects an item it's background won't change color. how is that possible. I do not want to choose the selection and hover colors. the background contains an image so it won't be useful. I need to completely disable the colors.

I tried to override the Tree class but with no luck. This is the class that overrides the tree Class:
package components.popups.WelcomeBack {
import mx.controls.listClasses.IListItemRenderer;
import mx.controls.Tree;
[Code] .....

View 3 Replies

Flex :: Combobox Selection Inside Datagrid?

Mar 1, 2011

I have a datagrid.In this datagrid I have a combobox item editor. This datagrid also has multiple columns where a user inputs numbers in each column. These numbers are then calculated by formula where the sum is posted in the "total" column. In this combobox there are two options for the user to choose from and each option has a different formula for calculating the inputted numbers. What I want is for when a user chooses "option 1" one formula is used to do the calculation, when "option 2" is chosen by the user then formula two is used to the calculation.Here's an example:

Combobox Option 1 (formula 1) is chosen by user = (Column2 - Column1) x column3 = "total" column
Combobox Option 2 (formula 2) is chosen by user = (Column1 - Column2) x column3 ="total" column

I realize you would use a conditional such as "if else" statement, but im just not sure how to do it. I've been trying to implement this for a while with no success.

View 2 Replies

Flex :: Prevent Changing Tree Selection?

Mar 16, 2011

I have a tree in Flex Application and one of the items is selected.

When a user clicks another item, I would like to make a check and possibly prevent the change of selection.

I tried catching click event and calling stopPropagation, and also itemClick with stopPropogation but both do not prevent selectedItem from changing.[code]...

View 2 Replies







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