[flexcoders] one renderer forcing update of another

2009-01-19 Thread darylgmyers
I have a datagrid with a renderer in each of 2 columns. The first column displays a combobox. When the combobox is changed on one row I want to update the data in the second column on the same row. Is there a way to do this?

[flexcoders] Combobox text does not render on some

2008-12-11 Thread darylgmyers
I have form window with about 20 combobox fields. Each one is bound to a unique arraycollection which is bindable. When the window is first displayed there are 3 of the combobox firlds that do not display the text from the drop down list even though the value has been loaded correctly. As

[flexcoders] datagrid autoscrolls

2007-04-20 Thread darylgmyers
I have a datagrid on a form with fields above and below. The datagrid displays 3 rows. I have custom renderers in the datagrid columns. When more than 3 rows exists, the datagrid will scroll when I move the cursor above or below the datagrid. When I open the combobox on the last visable

[flexcoders] setFocus in DataGrid cell

2007-04-19 Thread darylgmyers
Is there any way to setFocus in a DataGrid cell? I have tried the DataGrid.editedItemPosition property but that doesn't work.

[flexcoders] Re: setFocus in DataGrid cell

2007-04-19 Thread darylgmyers
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darylgmyers Sent: Thursday, April 19, 2007 6:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] setFocus in DataGrid cell Is there any way to setFocus in a DataGrid cell? I have tried

[flexcoders] Re: setFocus in DataGrid cell

2007-04-19 Thread darylgmyers
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darylgmyers Sent: Thursday, April 19, 2007 6:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] setFocus in DataGrid cell Is there any way to setFocus in a DataGrid cell? I have tried

[flexcoders] dataGrid - process each item

2007-04-16 Thread darylgmyers
How can I go about processing each dataGrid item? I need to validate all items at time of update. I can walk through each item using the dataProvider but I can not find a way to know which dataGrid item to validate from just the dataProvider's information.

[flexcoders] dataGrid - process each item

2007-04-16 Thread darylgmyers
How can I go about processing each dataGrid item? I need to validate all items at time of update. I can walk through each item using the dataProvider but I can not find a way to know which dataGrid item to validate from just the dataProvider's information.

[flexcoders] rendererArray - How to process each renderer in a DataGrid

2007-04-13 Thread darylgmyers
I need to process each renderer in a DataGrid. I have found a property - rendererArray - on the DataGrid which looks like what I need. The first array element contains the headers and the rest of the elements contain the rows of data. When I debug Flex the rendererArray is visible and has

[flexcoders] Re: Date format - internal and external

2007-03-19 Thread darylgmyers
to format it as $123.45. I have done that with the currencyformatter. But now when I need to return the data to the server I want the raw data (unformatted) as 123.45. --- In flexcoders@yahoogroups.com, darylgmyers [EMAIL PROTECTED] wrote: I have a VO which contains a date field formatted

[flexcoders] Re: Date format - internal and external

2007-03-19 Thread darylgmyers
the display, using a renderer or a labelfunction. The underlying data in the dataProvider will still be a plain number. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darylgmyers Sent: Monday, March 19, 2007 11:45 AM

[flexcoders] Re: Date format - internal and external

2007-03-19 Thread darylgmyers
the display, using a renderer or a labelfunction. The underlying data in the dataProvider will still be a plain number. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darylgmyers Sent: Monday, March 19, 2007 11:45 AM

[flexcoders] Date format - internal and external

2007-03-15 Thread darylgmyers
I have a VO which contains a date field formatted as 2007-01-01. This is how the HTTP service retrieves the data. I want to format the date as 01/01/2007 in the display but keep the internal date 2007-01-01 so that I can send the VO back for update. What is the best way to keep the internal

[flexcoders] Result to ArrayCollection - somtimes node is single, sometimes it's an array

2007-02-27 Thread darylgmyers
When I use an HTTPService result as an ArrayCollection, certain nodes will be set as a single item or an array depending on the number of items in the node. Is there a simple way to always force a node to an array regardless of how many items there are?

[flexcoders] Re: addEventListener and additional arguments?

2007-02-14 Thread darylgmyers
Of darylgmyers Sent: Tuesday, February 13, 2007 1:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] addEventListener and additional arguments? Is there a way to use the addEventListener method and pass additional arguments along with the event? I have a form where I must create the form

[flexcoders] Re: Using setSyle on dynamic created button not working

2007-02-13 Thread darylgmyers
be newButton.setStyle(bottom, 10); because the 'bottom' style has type Number. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of darylgmyers Sent: Friday, February 09, 2007 1:46 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Dynamically created list with AllowMultipleSelection=true-can not load selected

2007-02-13 Thread darylgmyers
Dynamically created list with AllowMultipleSelection=true - I can not load selectedItems or selectedIndices. When I set either array, they are there at debug time, but do not show as selected in the list. //add list field var newList:List = new List; newList.percentWidth=100;

[flexcoders] addEventListener and additional arguments?

2007-02-13 Thread darylgmyers
Is there a way to use the addEventListener method and pass additional arguments along with the event? I have a form where I must create the form objects dynamically so I need to use addEventListener for formatting, etc. I can not use inline mxml to add the listeners.

[flexcoders] Using setSyle on dynamic created button not working

2007-02-09 Thread darylgmyers
I'm creating a number of objects dynamically in actionscript. then I'm using setStyle to set certain styles before addChild actually adds the object to the container. The setStyle is not working. Below is a small piece of the code. varnewButton:Button = new Button; newButton.label=Update;

[flexcoders] Sending XMLListCollection with HTTPService

2007-01-23 Thread darylgmyers
I am trying to send an XMLListCollection with HTTPService using .toXMLString(). The xml appears to be getting escaped - lt, quot, etc. Does anyone know how to do this?

[flexcoders] variable url on an httpservice

2007-01-09 Thread darylgmyers
I am trying to make the url string a variable on the httpservice. I am passing the server in as a flashvar and want to use it as part of the httpservice url string. Can anyone point me in the right direction? Thanks.

[flexcoders] Best way to communicate with database

2006-12-08 Thread darylgmyers
We have a web application which is built using Zope and has postgreSQL as the database backend. We are planning on adding/replacing functionality in sections with Flex 2. Over time the majority of the application will be done in Flex 2. We are trying to evaluate the many different ways we