[flexcoders] DataGridColumn headerText Runtime Exception , a Flex bug ?

2007-03-06 Thread jmorpher03
Hi, I am getting a runtime error stating : TypeError: Error #1010: A term is undefined and has no properties. This happens when I try to set the headerText for a dynamically created DataGridColumn which contains spaces and special characters. For ex: var myDGCol:DataGridColumn = new

[flexcoders] Re: DataGridColumn headerText Runtime Exception , a Flex bug ?

2007-03-06 Thread jmorpher03
to a higher value(to accomodate 2/3 lines. For ex : mx:DataGrid headerHeight=50/ Regards, Asgar. --- In flexcoders@yahoogroups.com, jmorpher03 [EMAIL PROTECTED] wrote: Hi, I am getting a runtime error stating : TypeError: Error #1010: A term is undefined and has no properties. This happens

[flexcoders] Re: ctrl key with a combination - doesnt seem to work

2007-03-05 Thread jmorpher03
Does anyone know how the the CTRL + key combination work ? Is this a Flex bug ? The Flex sample code in the help docs talks about this, but it doesn't seem to work. Whats wrong ??? --- In flexcoders@yahoogroups.com, jmorpher03 [EMAIL PROTECTED] wrote: Hi, I am trying to trap the ctrl key

[flexcoders] Re: ctrl key with a combination - doesnt seem to work

2007-03-05 Thread jmorpher03
... keyDown=myKeyDown(event) Adam - Original Message - From: jmorpher03 To: flexcoders@yahoogroups.com Sent: Monday, March 05, 2007 9:11 PM Subject: [flexcoders] Re: ctrl key with a combination - doesnt seem to work Does anyone know how the the CTRL + key

[flexcoders] ctrl key with a combination - doesnt seem to work

2007-02-26 Thread jmorpher03
Hi, I am trying to trap the ctrl key along with a combination of any other alphanumeric key by using the following code on a DataGrid control: public void myKeyDown(event:KeyBoardEvent):void { if ( event.ctrlKey event.keyCode == 67 ) // for 'C' { // copy selected row } } This

[flexcoders] Problems with DataGrid ItemRenderer/ItemEditor

2007-01-08 Thread jmorpher03
I have an ItemRenderer, which is also the ItemEditor (of type TextInput) for 3 columns in my Datagrid. When there are two or more rows present in the DataGrid, and I start entering the values into these, as I move from one row to the other, the textinputs get back their old values and the new

[flexcoders] Re: Unable to set ItemRenderer's value back to DataGrid's dataProvider

2006-12-14 Thread jmorpher03
Thanks again Tracy. I had a couple of runtime errors which I fixed. Now the problem is that if I move the focus out of the TextInput (ItemRenderer) in the DataGrid using the mouse, it sets the value. But when I use the Tab key and move to different row/column, it puts back the old value in the

[flexcoders] Unable to set ItemRenderer's value back to DataGrid's dataProvider

2006-12-12 Thread jmorpher03
Hi, I have a Custom ItemRenderer, which displays a TextInput or a Label based on another column's value in the DataGrid. Here's the sample for the ItemRenderer: MyItemRenderer.mxml mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:Canvas id=myRendererCan/

[flexcoders] Re: Error #1010: A term is undefined and has no properties -- RTE with Datagrid

2006-12-06 Thread jmorpher03
Phew, finally got it working. Sorry for troubling you guys. The issue was that I was giving the dataProvider to the DataGrid only at Runtime. I put a blank ArrayCollection as a dataProvider to the DataGrid and its working without any issues when I set the dataProvider with results from the

[flexcoders] Re: Error #1010: A term is undefined and has no properties -- RTE with Datagrid

2006-12-06 Thread jmorpher03
is the line of code that is producing the error? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmorpher03 Sent: Tuesday, December 05, 2006 7:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error #1010

[flexcoders] Error #1010: A term is undefined and has no properties -- RTE with Datagrid

2006-12-05 Thread jmorpher03
Hi, I have a DataGrid with a custom item renderer (containing a Checkbox and Label). As soon as the data is populated via an XML returned by the server, the following error comes up: TypeError: Error #1010: A term is undefined and has no properties. at

[flexcoders] Re: Worksheet component in Flex

2006-11-17 Thread jmorpher03
Thanks Tom. I will get back if I have further questions. Btw, are there any design patterns which we could use to build self contained flex components/ Widgets ? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Saturday 04 November 2006 00:35, jmorpher03 wrote

[flexcoders] Worksheet component in Flex

2006-11-03 Thread jmorpher03
Hi, Is there a component which works similar to Excel's worksheet ? I mean letting the user to select columns ? or a set of cells ? I found a sample for copy/paste kind of functionality and examples are there for drag and drop, but is there a component available which allows column/cells

[flexcoders] Re: IE Browser crashes while using LocalConnection

2006-11-03 Thread jmorpher03
/ If it still crashes hopefully you can work with us and we can try to figure out what's going on. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmorpher03 Sent: Saturday, October 07, 2006 3:49 AM To: flexcoders

[flexcoders] IE Browser crashes while using LocalConnection

2006-10-07 Thread jmorpher03
Hi, My mxml application opens a new browser window by calling a js function, inside the new window another mxml application is loaded. Both these applications talk to each other using LocalConnection and I am able to pass values back and forth between these apps. Sometimes, the IE browser

[flexcoders] Re: Urgent! Problem using ArrayUtil.toArray for a http result ( Flex 2 SDK release)

2006-07-18 Thread jmorpher03
Thanks Tim. Got it working by directly assigning the result to the dataprovider of ComboBox. Earlier (in B3) if there was a single row in the result, it was not showing up, for that, I'd used ArrayUtil.toArray (result). Now its working fine :). Yahoo! Groups

[flexcoders] Urgent! Problem using ArrayUtil.toArray for a http result ( Flex 2 SDK release)

2006-07-17 Thread jmorpher03
I used to convert the result of a httpservice request , using the ArrayUtil.toArray() in Flex 2 Beta 3 and assign it to an ArrayCollection ( as a source to a ComboBox), it used to work, but now in the latest release version, its just giving an Object with comma separated values. What could be

[flexcoders] Re: Urgent help needed with DataGrid events

2006-06-30 Thread jmorpher03
Thanks for responding :) I am able update the ArrayCollection using ac.itemUpdated(obj). I tried putting this code in the DataGrid's click event and assign some value to my ArrayCollection and it works. But this is not the place I wanted as the click event will let me do it on the newly

[flexcoders] Urgent help needed with DataGrid events

2006-06-29 Thread jmorpher03
I need urgent help with the events related to DataGrid in Flex 2.0. I have a grid which is being populated by an ArrayCollection with its source as a result from the HTTPService. There is also a textbox outside the DataGrid which is populated based on the selection of a row in the DataGrid.

[flexcoders] Problem using ArrayCollection source as XML

2006-06-26 Thread jmorpher03
Hi, Can anyone please help me with ArrayCollection ? I am trying to set an XML result from the server as a source to the ArrayCollection and use it to dynamically generate ComboBoxes, if the XML result contains repeating tags, it works, otherwise, the ArrayCollection does not seem to set