ActionScript 3.0 :: Flex DropDownList Scrollbar In DataGrid

Sep 8, 2010

I make the datagrid editable so that the selection can be passed from renderer to datagrid the scroll bars in the dropDownList fail to work. What can be done, nobody seems to know. If you know please let everyone know.[code]

View 1 Replies


Similar Posts:


Flex :: Datagrid With Dropdownlist In A Particular Row?

Mar 5, 2011

I'm having difficulty figuring out how to add a dropdownlist control to only a single row of a data grid. For example, if I have two rows of data in the grid, I want the top to be the normal text from the data provider, and the second row to be a dropdownlist (bound to an array collection).

View 1 Replies

Flex :: Datagrid - Pass A GridItemRenderer The DropDownList's DataProvider?

Oct 26, 2011

I need to display DropDownLists in a column of a DataGrid in my Flex application. Here is what I am doing:

First, I have a item renderer function that creates a custom item renderer, and passes it a property that is an IList that will be used as the dataProvider of the dropDownList:

private function rendererFunction(item:Object):ClassFactory {
var itemRenderer:ClassFactory = new ClassFactory(AudActionDropDownIR);
itemRenderer.properties = {AudActionData: AudActionData};

[Code]....

First, how can I call the init function when the renderer is created? Second, when I set the column's itemRendererFunction="rendererFunction", the app will not launch, a white screen comes up. But when I set itemRenderer="components.AudActionDropDownIR", the app will launch, but of course there is no data in the dropdown list.

View 1 Replies

Flex :: Scrollbars In Dropdownlist Inside DataGrid ItemEditor Not Working

Aug 17, 2010

I have a DropDownList inside the itemEditor of my DataGrid. There are enough items in the DropDownList to justify scrollbars. You can see the scrollbars, and the mousewheel works fine. If you move the mouse over the scrollbars, they'll change appearance fine (mouseover is working). If you click on them, the DropDownList closes as if you'd clicked elsewhere in the data grid.

I've been experimenting with custom skins hoping to find a way to trap the mouse event, but have been unsuccessful.

FWIW, this is Flex4, as an AIR app.

Scratch.mxml (main code)

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

[Code].....

View 2 Replies

Flex :: DataGrid Item Editor - DropDownList Fires Focus Out On Scroll

Feb 24, 2011

I have a data grid with a custom item editor that displays a DropDownList component. When I click the scroll bar in the component, it is firing a focus out event on the list, which is causing itemEditEnd to fire. Why the list is not keeping focus, or how to make it keep focus. I'm using Flex 4.

View 2 Replies

ActionScript 3.0 :: Flex - Create A Dropdownlist That Populates A Datagrid - Loop Through ArrayCollection

Oct 14, 2011

I'm using FlashBuilder 4 and trying to create a dropdownlist that populates a datagrid. The functionality is fine but my data is being chopped up too much. Currently every since "nepName" tag in my XML file is showing up in my dropdownlist (which makes for many duplicates of the same names) and only shows the data associated with that nepName tag. I want each nepName (by name ex. Barnegat Bay National Estuary Program) to display only once in my dropdownlist and populate my datadgrid with ALL the data in the XML file that is associated with that name

[Code]...

View 1 Replies

ActionScript 3.0 :: Component A Dropdownlist With A Scrollbar

Feb 24, 2011

I am looking for a component, a dropdownlist with a scrollbar, that can be populated with values from an XML List.

View 2 Replies

Flex :: Scrollbar MUST Be Around The DataGrid And HorizontalScrollPolicy

Dec 4, 2009

look at this code:

[CODE]...

The datagrid is outside the limits of my screen, but the scrollbar is useless. To show you what I mean, look at the compiled output here: [URL] Of course this is a simple example, my real life file is much more complex and the scrollbar MUST be just around the dataGrid, not on the whole application.

View 2 Replies

ActionScript 3.0 :: How To Remove Scrollbar From DataGrid

Nov 10, 2011

How remove the scrollbar from the datagrid to display a list that it grows as large or small like the list size? And how to appear the scrollbar in the stage?

View 5 Replies

ActionScript 3.0 :: DataGrid Component Scrollbar?

Jan 17, 2012

Trouble with my DataGrid component (aDg), i want to tell it to got a fixed height, and then have a scrollbar when the lines into the Datagrid are biger than its height, but with this code, it doesn't work, the grid continues to get bigger without scrollbar :

Code:
myDP= new DataProvider(fileXML);
aDg.dataProvider = myDP;

[code].....

View 1 Replies

ActionScript 2.0 :: Skinning A DataGrid Scrollbar?

Mar 18, 2008

(read the post title) I tried to the UIScrollbar tut here on Kirupa but it did not work.

View 2 Replies

ActionScript 3.0 :: Make Scrollbar On My Datagrid Invisible?

Apr 27, 2009

How can I make the Scrollbar on my datagrid invisible?

dg.verticalScrollBar.visible = false; Does not work

Also how do I scroll to a specific Index on my datagrid?

View 2 Replies

ActionScript 3.0 :: DataGrid Component Scrollbar Doesn't Work

Dec 12, 2009

Trouble with my DataGrid component (aDg), i want to tell it to got a fixed height, and then have a scrollbar when the lines into the Datagrid are biger than its height, but with this code, it doesn't work, the grid continues to get bigger without scrollbar :

[Code]...

View 1 Replies

Flex :: How To Get An Icons In A Dropdownlist

Oct 21, 2010

In a dropdown how to get icons along with text and once we select any of the index from the dropdown i want that icon also be selected and to be displayed on that dropdown header

View 1 Replies

AS :: Flex - Select Value Of A DropDownList?

Mar 8, 2011

I'm sure this is a easy one but I've been searching for a while how to select a DropDownList element with actionscript. In this scenario, I'd like to be able to specify the selectedItem based either on ddlLabel or ddlData

<?xml version="1.0" encoding="utf-8"?>
<fx:Script>
<![CDATA[

[code].....

View 1 Replies

Flex :: Set SelectedItem In DropDownList?

Sep 10, 2011

I am making some simple project and I have problem with selectedItem. I have sth like this

<s:State name="Form" enterState="makesService.send()"/>

so when I enter this state I take makes from database and populate them to dropdownlist.

but I have also button and on click event I'm changing state to this Form and I want to select specific make from the dropdownlist but I can't. I'm not sure whether I'm doing sth wrong or the problem is that I'm selecting item just before the dropdownlist became populated.

e.x. List of make consist of Audi and BMW and when I click button I want to open this state Form in which this dropdownlist exist with selected value e.x. BMW.

View 1 Replies

Flex :: Re-render ItemRenderer For A DropDownList?

Mar 2, 2011

I have created a custom ComboCheck which extends the spark DropDownList that is a DropDownList of checkboxes. Inside of my itemRenderer I have the code:

[Bindable]override public function set data (value:Object):void {
if (value!=null) {
_data = value;

[Code].....

This will also not cause the dropdownlist to reset to scrollPosition 0

View 3 Replies

Xml :: Flex - Add Items To DropDownList Using ItemRenderer?

Mar 17, 2011

I have a XML structure like:

<Main>
<Category1>
<Data Name="Data1">

[code].....

View 1 Replies

Flex :: Increasing The Width Of DropdownList?

Apr 15, 2011

I want to adjust the width of DropDownList control in flex 4. I could do it by editing the skinclass and setting the PopupAnchor's Property "popUpWidthMatchesAnchorWidth" to false, but in my application I have to do it using actionscript.

View 3 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

Actionscript 3 :: Flex DropDownList ItemRenderer Probably A Bug

May 29, 2011

I am trying to make a simple change on look of Flex 4.5 Spark DropDownLis trough extending it's item renderer, anyway even a just shiny new item renderer bring me as result a items which labels is blanks. If i remove the renderer everything is fine, but with it - the items is blank white.

[Code]...

View 1 Replies

Flex :: Specify Individual Fonts In Flex DropDownList?

Feb 8, 2011

I have just implemented a dropdownlist of checkboxes taken from this ComboCheck example but made it extend DropDownList instead of ComboBox to provide better functionality that I required. I am attempting to create a DropDownList where some items are bold and non-checkboxes (or can be checkboxes) and others are not.

I have not been able to find anything online about doing this yet and have been trying to figure it out. I am currently using an ArrayCollection as a dataProvider but I think this could possibly be my issue and I should be trying to setup the labels in flex not AS3.[code]...

View 1 Replies

Flex :: How To Change Open DropDownList Height

Feb 18, 2010

Using FB4, I want to change the height of an open spark DropDownList. By default, it shows up to 6 items before scrolling. My dropdownlist contains 7 items, so I want to change the height of the open dropdown list to fit all 7 items without scrolling. As a workaround, I've changed the font size of the items so that they are smaller and all 7 fit, but the smaller font doesn't look good. Is there a way to change this height?

View 5 Replies

Flex :: DropdownList Does Not Show The Correct Values

Sep 7, 2010

I have a Flex Spark dropdownList in which I need to show the Provider FirstName,LastName:

<s:DropDownList id="providerList"
dataProvider="{model.practiceProviderList.practiceProviders}"
labelField="provider.providerName.firstName"/>

But the output shows only [object Object] & [object Object] as there are 2 providers in the DB and does not show the actual values.

The PracticeProviderList.as:

[Bindable]
[RemoteClass(alias="model.PracticeProviderList")]
public class PracticeProviderList extends PracticeProviderListBase {

[Code]....

The Provider has providerName:PersonName as one of it's fields & PersonName has firstName:String & lastName:String

View 1 Replies

Flex :: Cannot Bind Data To DropDownList Control

Sep 8, 2010

I'm fetching some data from a PHP application using Zend AMF. However I can't get the data to bind to a simple DropDownList control. The PHP method is:

[Code]...

View 2 Replies

Flex :: DropDownList Doesn't Work In New Window

Oct 29, 2010

In this code I'm creating a new window when I click the button. In the new window are TextInput and DropDownList components. When the new window opens, clicking the DropDownList does nothing - you have to click it a second time round to get it to open. However, click into the TextInput field first and then try opening the DropDownList works no problem.

Below is the code, or download the FXP file here.

// DropDownTest.mxml (application)
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]....

View 1 Replies

Flex :: Spark DropDownList As ItemEditor Within AdvancedDataGrid?

Mar 11, 2011

I'm trying to use the Spark DropDownList as itemEditor in an AdvancedDataGrid. Howerver, I've stumbled onto two issues:Clicking on a item in the DropDownList changes the selected row in the ADG. You can see this behavior by compiling the code from below and executing the following steps.The value changes from "A" to "C" and Row 3 is the selected row in the ADG. It looks like the mouse click in the DropDownList is also handled by the ADG itself which changes the selected row accordingly. I couldn't figure out a way to prevent this. The expected behavior would be that row 1 is still selected after the DropDownList has been closed.Clicking on the scrollbar of the DropDownList closes the DropDownList. (I just found the solution to this problem in the relatated questions while writing this: Scrollbars in dropdownlist inside DataGrid itemEditor not working)

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

[code].....

View 2 Replies

Flex :: DropDownList Doesn't Always Open On Click?

May 12, 2011

I have an AIR application with 2-3 DropDownLists and a bunch of other controls. The DropDownLists are bound to dataproviders (ArrayCollections) in a central Model singleton. On launch, they all work fine.

However, when I click a button to add new objects to an object in another ArrayCollection in the same Model, the DropDownLists get weird. They still register clicks, and all other controls still work as before, but the dropdowns won't open. Clicking/waiting enough usually opens the dropdown, but if I don't make another selection it still won't open after closing. Making a different selection makes that DropDownList work again, but the others might still refuse to open.

If I open the dropdowns using Ctrl + Down arrow, they work all the time, so it's only the click that doesn't trigger the open correctly. I can work around the problem by calling openDropDown() on the dropdown when clicked, but that doesn't feel right.

I'm using the 4.1 SDK, and the dropdowns are s:DropDownLists. I tried using mx:ComboBoxes instead, but got the same behavior. Edit: Weirdly enough, using s:ComboBoxes they work as they should, but I really don't want to use them since they seemingly can't be made non-editable.

View 2 Replies

Php :: End The ID Of The Selected Item Of A Flex DropDownList To The Server?

Jul 18, 2011

I am using FlashBuilder 4.5 for PHP. I have a simple MySQL table with the fields {tID, tName}.I am able to populate a DropDownList in a Flex form as below. The DropDownList shows the name of the people without problem:

<s:Form defaultButton="{button}">
<s:FormItem label="myList: ">
<s:DropDownList id="dropDownList" creationComplete="dropDownList_creationCompleteHandler(event)" >
<s:AsyncListView list="{getPeopleResult.lastResult}"/>

[code]....

The above does not work.

View 2 Replies

Flex :: Use My Database Field Value To Select A Value On My <s:DropDownList?

Aug 9, 2011

I'd to use my database field value to select a value on my <s:DropDownList. I try to do

<s:DropDownList dataProvider="{DP_PAT_CIVIL}" selectedItem="@{objectUser.usrQualParent}"/>

But no selection appear, nothing appear on prompt.

objectUser.usrQualParent represent a value with is present in the dataprovider DP_PAT_CIVIL. For exemple, dataprovider is:

[Bindable]
private var DP_PAT_CIVIL:ArrayCollection = new ArrayCollection (
[{label:"Monsieur" , data:"0"},[code].....

View 2 Replies







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