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

2007-03-06 Thread jmorpher03
e DataGrid mxml, set the headerHeight to a higher value(to accomodate 2/3 lines. For ex : Regards, Asgar. --- In flexcoders@yahoogroups.com, "jmorpher03" <[EMAIL PROTECTED]> wrote: > > Hi, > I am getting a runtime error stating : > > TypeError: Error #1010: A t

[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 DataGridCol

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

2007-03-05 Thread jmorpher03
you have > > > > 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 th

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

2007-03-05 Thread jmorpher03
Does anyone know how the the CTRL + 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

[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 } } Thi

[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 v

[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] Re: DataProvider as an Array of String

2006-12-12 Thread jmorpher03
Hi Samina, Here's a sample. Is this what you were looking for ? http://www.adobe.com/2006/mxml"; layout="absolute"> one two three four five

[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 http://www.adobe.com/2006/mxml "> In my Main.mxml , the DataGrid is as f

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

2006-12-06 Thread jmorpher03
ECTED]> wrote: > > What 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 >

[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 ser

[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 mx.controls.listClasses::ListBas

[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, jmor

[flexcoders] Re: IE Browser crashes while using LocalConnection

2006-11-03 Thread jmorpher03
technologies/flashplayer9/ > > > > 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:[EM

[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 selecti

[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 cras

[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 Sponsor

[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 sele

[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. Th

[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 itself