[flexcoders] How can i connect two Boxes on apanel controls with a Line

2008-06-18 Thread Baljeet singh
Hi all, I want to connect two boxes with a line between them. I am using moveTo(x1, y1) and lineTo(x2,y2) methods of Graphics class. But line is not getting created. I even tried with code like this: beginFill(x1, y1) moveTo(x1, y1) lineTo(x2, y2); endFill(x2, y2);

[flexcoders] How to deal with a java.util.HashMap in flex

2008-06-04 Thread Baljeet singh
Hi all; I am returning a java.util.HashMap from a java class using remote object in flex. How can i handle this map on flex side in action script ? I want to find out the KeySet of the Map. How can i get the keyset of map ? Any help/pointers will be highly appreciated. Thanks a lot in

[flexcoders] Copying all data from one column of DataGrid to another column

2008-04-07 Thread Baljeet singh
Hi all, I am using an dataGrid control. I want to have a functionality by which i can copy the entire column of a DataGrid to another column of the same DataGrip. Any pointers / help will be highly appreciated. Thanks: Bali

[flexcoders] How to draw a line on mouse over change it's color style

2007-09-11 Thread Baljeet singh
Hi all, need u'r kind help How can i draw a line between two points on a panel how can i changes it's color and style on mouse over. thanks regards, Bali

[flexcoders] How can we set the height width in % for Data grid column ??

2007-09-11 Thread Baljeet singh
There is no percentHeight percentWidth properties for DataGridColumn control. How can we set them in % ?? Rest all of the components have % height width. Why these are not defined for DataGridColumn . Thanks Regards, Bali

[flexcoders] How to create a link in flex ??

2007-09-10 Thread Baljeet singh
Is there any tag something like mx:Link with flex to create a link. Flex Builder doesn't show any such tag, but it is some flex examples even by adobe. For sample example see link : http://livedocs.adobe.com/flex/15/flex_docs_en/wwhelp/wwhimpl/c

[flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Baljeet singh
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Baljeet singh Sent: Wednesday, September 05, 2007 9:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree collapses when dataProvider for tree changes Hi, Actually, i am using XML string, that is coming from server side. From

[flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Baljeet singh
Hi, Lets consider an XML as tree of nodes. Let me explain u the meaning of id. My sample XML string look like: node!--First Level -- node id=1 name=A code=1!--Second Level -- node id=2 name=A-1 code=1-1/ !--Third Level --

[flexcoders] Tree collapses when dataProvider for tree changes

2007-09-05 Thread Baljeet singh
out. Thanks Regards, Baljeet Singh

[flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-05 Thread Baljeet singh
Hi, Actually, i am using XML string, that is coming from server side. From that XML string, i get the XMLListCollection as dataProvider. When i click on selected node, either i am editing th information related to node or creating children. This edited/children information is stored in

[flexcoders] How to add a toolTip for each node of tree

2007-09-04 Thread Baljeet singh
Can anybody helpout ???Any hint will be appreciated... I am creating a tree with XmlListCollection as data provider to tree. I want show tooltip for each node of the tree based on name attribute of XML node in XML file. Below is my sample code:-- ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: How to add a toolTip for each node of tree

2007-09-04 Thread Baljeet singh
Hi Adam, Thanks for suggestion. I have already tried with dataTipField property as mx:Tree dataTipField =@name/. but this didn't show any toolTip for tree nodes. Thanks Regards, Baljeet Singh --- In flexcoders@yahoogroups.com, Adam Dorritie [EMAIL PROTECTED] wrote: On 9/4/07, Baljeet

[flexcoders] Re: How to add a toolTip for each node of tree

2007-09-04 Thread Baljeet singh
Hi Adam, Thanks very much. whatever you suggested worked fine. Thanks a lot. Thanks Regards, Baljeet Singh