Flex :: Providing Values To Components In A DataGrid?

Jul 11, 2009

I have the follwoing. :

mx:DataGridColumn width="125" headerText="Time" editable="false"
mx:itemRenderer
mx:Component
mx:HBox

[Code]....

How do I provide values from the dataprovider (which is an array of objects) to these individual numeric steppers. dataField cannot be mentioned in the NumericStepper tag it seems.

View 2 Replies


Similar Posts:


Flex :: Datagrid Multiple Components In One Column?

Jun 24, 2009

I wanted to ask if there is a possibility to have both strings and radiobuttons in one column depending on the value of another column perhaps|column1 | column 2 | |r | radiobutton||s | string |If there is an r in column 1 in column2 should appear a radiobutton, otherwise column 2 just shows a string.

View 2 Replies

Flex :: Assign Xml Values To Dynamically Created Components

Oct 5, 2010

xml values are stored in 'arr' array collection. depending on the length of the array stored, the below described components are created and assign those values to relevant components dynamically. For Example:

[Code]....

View 1 Replies

Datagrid - 2 Numeric Stepper Components In An Item Renderer Of Flex?

Jul 7, 2009

I have to put 2 numeric stepper components in one column of a datagrid. I suppose I need to write my own item renederer code for that. How to write a code for putting 2 numeric stepper components in one coulmn of datagrid.

The 2 numeric steppers would work as time (Hour and Min) components. I cannot use readily availabel time components, and hence have to write something of the above for my own time component.

View 3 Replies

Flex :: Disable Roll-over Color For List Or DataGrid Components

Feb 24, 2010

I want to get rid of the typical Flex roll-over color in list-based components, and to display my own style of roll-over rendering. Setting useRollOver to 'false' is not an option, since disabling that will also make the List.isItemHighlighted() function to always return false. My custom renderer relies on that function. Can it be so hard? Is there no way of setting that roll-over color to transparent? Is there some other way for my renderer to figure out if an item is highlighted?

View 3 Replies

Flex :: Getting Error When Use Itemrenderer And Itemeditor Components In The Datagrid Column

Apr 11, 2011

[Code]...

ErrorStackTrace: ReferenceError: Error #1069: Property text not found on a.mxml.a_inlineComponent3 and there is no default value.

View 2 Replies

Flex :: Get The Particular Values In DataGrid Column?

Jul 14, 2009

dg.selectedItems gives me all the values selected, but if i need one column names value alone then what should i do.

<mx:DataGridColumn dataField="1" headerText="Email" />

View 1 Replies

Flex :: Get Column Values In Datagrid?

Nov 22, 2009

I want to get all values in one of the columns of a datagrid and put them in an array, to use it as a dataprovider of a combobox, is this possible?

I use an ArrayCollection as the dataprovider of the datagrid, it's filled from the database.

View 1 Replies

Flex :: Datagrid - ItemRenderer Flex Values Getting Not Rendered According To ArrayCollection Provider?

Feb 4, 2011

i have a problem using the itemRenderer functionality. When using an ArrayCollection the visible Data in the DataGrid using the itemRenderer will be rendered just fine. But if i start scrolling the entries are repeating in the cells using the renderer. The cells are not filled with date according to the id. What mistake i'm doing here.

I read a lot of the explainations like:

[URL]

here is the code for the set data function (itemRenderer is extending HBox):

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

[code]....

View 1 Replies

Flex :: Add The Values Of A Particular Column And Display It Below Datagrid?

Sep 14, 2010

I have a datagrid with three columns.In one column I have to add all the values and display the total value.

View 1 Replies

Flex :: Get Or Set Cell Values In A Datagrid Progmmatically?

Oct 8, 2010

In Flex 4 using a pre populated data grid, how can I get or set specific values programatically, IE I wont be using selectedItems etc.

How do I reference the value of a cell in row 4 colum 6 for example.

View 1 Replies

Flex :: Capture New Values That Have Been Changed In A Datagrid?

Oct 11, 2010

I have an editable grid and would like to update values based on the edited cell and I am doing this in the itemEditEndHandler such that when they finish editing a cell I update other cells that are dependent on it. the only problem is in the itemEditEndHandler the new value has not registered yet. If I try and get the value of the cell i find that its still giving me the old value and not the new value that I have entered.

View 2 Replies

Flex :: Export Datagrid Values To Excel?

Nov 10, 2010

Datagrid with 3 columns namely Name,Place and Country. In order to export these columns values to Excel sheet by Clicking a Button called 'Export to Excel'. When Click this button, the values in datagrid is exported in excel sheet.

View 2 Replies

Flex :: Get Selected Values (using CheckBox) From DataGrid In It?

Jan 2, 2012

I have a datagrid which is getting values from a XML file (getting this xml file from database using PHP and HTTP request in flex). i have created a checkbox in every row in data grid. and here is my requirement:i want to select tow or three check-box and would like to get all the values form that particular ROWs in some form , prefered arraycollection (such that i can pass this array directly to a bar chart) .. can some one help me as i am new to flex .[code]...

View 1 Replies

Flex :: DataGrid - Getting And Setting Individual Cell Values

Oct 8, 2010

I have Flex 4 DataGrid, what I would like to do is when an cell has been edited, I would then like to walk through the values of that column and preform math on the values, e.g., I want to total up certain values.

1) How do I reference individual values of a specific column so that I may set them.
2) How do I then set those values or should I create a new column array and pop it in place of that column.

View 3 Replies

ActionScript 3.0 :: Restrict Editable Datagrid Values In Flex?

Dec 21, 2010

I have a datagrid in flex and i am making the datagrid as editable. I can able to edit it and enter the values. so far so good. Now my requirement was, i want to restrict the editable datagrid cell to some max chars like 10. I mean to say maxChars = 10, i want to restrict like this & i want to implement like this.

View 3 Replies

Flex :: Datagrid - Pass An Array Of Values From One Mxml Component To Another?

Oct 13, 2009

I have a mxml component with a datagrid listing project names and code versions. I have the selected projects from the datagrid binded to a public variable named "selectedProjects". But how to access this variable in another mxml component. I want the selected project's name in that component's text area. I even created an instance of the first component and using that called the selectedProjects variable. But I do not get the value updated in the text area.

This is the code for the first component where I get the selected projects name in a variable:

<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="handleCreationComplete();"
width="800" height="600">

[Code].....

I was trying to update the value of the selected projects in the text area of Id "projDocs", But I do not get it..

View 1 Replies

Flex :: ComboBox In DataGrid Loses Values When Scroll Horizontally

Dec 14, 2009

I have a very strange problem in a Flex 3.4 Datagrid. One of the columns is a ComboBox - I have my own custom renderer for the ComboBox. I use it to select my data and then make a "save" to the db. Upon return the comboBox loses its value. Even stranger is that when I scroll the datagrid area to the left (by moving scrollbar right) - the values in the ComboBox change!! When I scroll the datagrid right (by moving the scrollbar left) - the values in the ComboBox don't change.

View 2 Replies

Actionscript 3 :: Get The Values Of A Selected Row In The Advanced DataGrid Control In Flex?

Feb 26, 2010

How to get the values of a selected row in the Advanced DataGrid control in Flex

View 1 Replies

Flex :: Datagrid, Select An Item Given My Data Attribute Values?

May 6, 2010

I'm using a custom component CheckBoxList DataGrid (http://blogs.adobe.com/aharui/2008/02/checkbox_selection_in_datagrid.html) and as dataProvider I have an ArrayCollection with items such this one:

name="item name" selected="true"

I would like the CheckBox list updated when the selected attribute is set to false or true in the data model.

View 1 Replies

Actionscript 3 :: Multiple Update Of Values In A Row In A Flex DataGrid Or AdvancedDatagrid

Jul 14, 2010

How can i update multiple cells of the same row changing the value of a single cell of the same row ??

Example: id, height, weight, fat percentage, corporal mass. When i change one of the values in a row (except id of course) the corporal mass cell value must change using a formula like: (height/weight2)*fat percentage*100. Is this posible with Datagrid or AdvancedDatagrid in Flex ??

I tried using custom item renders and inserting actionscript code inside the datagrid with no good result.

View 1 Replies

Xml - Populating A Cell In A DataGrid With Multiple Values Separated By Commas - Flex?

Jun 28, 2011

I have an XML file with this data.

<resultSet>
<MerchandiseAssortmentCategory>
<merchandiseAssortmentCategoryId>275</merchandiseAssortmentCategoryId>
<merchandiseAssortmentCategoryName>D21 Plywood</merchandiseAssortmentCategoryName>
<merchandiseSubordinateClass>

[Code]...

When i run this, only the category name is filled. the subordinateclass number is just blank.

View 2 Replies

Php :: Flex : Providing Data With A PHP Class?

Apr 25, 2010

i'm a very new user to flex (never use flex, nor flashbuilder, nor action script before), but i want to learn this langage because of the beautiful RIA and chart it can do.I watched the video on adobe : 1 hour to build your first program but i'm stuck :

On the video it says that we have to provide a PHP class for accessing data and i used the example that flash builder gave (with zend framework and mysqli). I never used those ones and it makes a lot to learn if i count zen + mysqli.My question is : can i use a PHP class like this one ? What does flash builder except in return ? i hear that was automatic.example it may be wrong, i'm not very familiar with classes when acessing to database :

<?php
class DBConnection {
protected $server = "localhost";[code]..........

View 1 Replies

Flex :: Datagrid Data Splitting - Show All Column Values And If Uncheck Columns Has To Show

Jan 23, 2012

In my flex datagird i have a checkbox and a datgrid with seven columns. im populating values in first five column(remaining two column no values) of datgrid by an Arraycollection. now,By clicking the checkbox i want to show all seven column values and if i uncheck five columns has to show... how its possible?? heres my code

[Code]...

View 1 Replies

ActionScript 2.0 :: UI-Components - Values Being Sent To PHP

Jul 10, 2005

I have a form in my flashdocument with two textinputs and one button. User, pass, and submit. Yeah, as you might have understood by now, it's a login-form. Anyway, my question is - how can I submit this information to 'actions.php' through POST?

[Code]...

View 10 Replies

Flex :: Components - Components - Any Component With The Functionality Such As Horizontally Collapsible Window Or Panel

Aug 22, 2010

Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.

View 1 Replies

Flash :: Flex Dynamically Created Components Added To Custom Components

Sep 8, 2009

I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....

[Code]...

View 1 Replies

ActionScript 2.0 :: Keep Values Inside Components When Flicking Between Frames?

Jul 12, 2010

Say i have a UI with check boxes, text fields etc on 1 frame, and again a different layout on another. If i type values into boxes and click radio and check boxes. is there a way to keep these values on there when i flick to another frame then back again?

View 1 Replies

Is It Bad Design To Nest Components Inside Components Using Flex 4

Sep 15, 2010

Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?

<com:MyComp1>
<com:MyComp2>
<com:MyComp3>

[code]....

View 1 Replies

Data Integration :: The Datagrid.selectedIndex Parameter Is Bound To The XML Components?

Jun 21, 2007

I have a DataGrid bound to an XMLConnector and XMLDataSet. The XML data loads fine into the components. However, I cannot get the value of the selected index using: my_datagrid.selectedIndex

The call works fine if you use addItem to populate the grid.

Is there an issue being that the datagrid.selectedIndex parameter is bound to the XML components?

View 1 Replies







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