[flexcoders] Re: Passing an object to an ItemRenderer used by DataGridColumn inside a DataGrid

2008-09-08 Thread gaurav1146
You could have the property in the custom ItemRenderer itself. And then use something like: renderer.properties = {propertyName:propertyValue}; Regards, Gaurav --- In flexcoders@yahoogroups.com, João [EMAIL PROTECTED] wrote: Hi, I have a DataGrid where one of the

[flexcoders] Conditional column reorder/drag drop in ADG

2008-09-06 Thread gaurav1146
Hi, I am using an AdvancedDataGrid where I allow the user to drag and drop datagrid columns to an area(top-section) above the datagrid. This works fine but when a user drops a column in top-section the columns reordering in the datagrid also takes place. That is if the user drags the fifth column

[flexcoders] tree.getParentItem (node) when the node is closed

2008-08-01 Thread gaurav1146
Hi, Is there any way to get the parent item of a node in a tree when the node is closed. The method tree.getParentItem (node) returns the parent based on the current state of the tree (open/close). If the node is not visible in the current state of tree this method returns null. The thing is

[flexcoders] Re: tree.getParentItem (node) when the node is closed

2008-08-01 Thread gaurav1146
by calling tree.getParentItem(node). Regards, Gaurav --- In flexcoders@yahoogroups.com, gaurav1146 [EMAIL PROTECTED] wrote: Hi, Is there any way to get the parent item of a node in a tree when the node is closed. The method tree.getParentItem (node) returns the parent based on the current

[flexcoders] Sorting an XMLList on an attribute

2008-07-30 Thread gaurav1146
Hi, I am trying to sort an XMLList based on one of the attributes in the XML node. On trying this I get the following error: TypeError: Error #1089: Assignment to lists with more than one item is not supported. Instead of XMLList if I use XMLListCollection it works fine. The thing is that I

[flexcoders] Re: Sorting an XMLList on an attribute

2008-07-30 Thread gaurav1146
] On Behalf Of gaurav1146 Sent: Tuesday, July 29, 2008 11:58 PM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Sorting an XMLList on an attribute Hi, I am trying to sort an XMLList based on one of the attributes in the XML node. On trying this I

[flexcoders] Re: Navigating from flex to jsp page

2008-07-16 Thread gaurav1146
it navigate there unless it received a message telling it to do something else. That way it would default to unloading itself, and would only stick around if the servlet told it that was OK. Hope that helps. - Original Message From: gaurav1146 [EMAIL PROTECTED] To: flexcoders

[flexcoders] Navigating from flex to jsp page

2008-07-15 Thread gaurav1146
I have a flex application that loads as soon as a user hits a url. Now this application has a creationComplete method which makes a call to a java servlet. In the servlet (/servlet filter) I perform certain authorization checks and if the check fails I want to navigate the user to a jsp page. I

[flexcoders] XML to Object

2008-05-23 Thread gaurav1146
Hi, I am using a HTTPService which has resultFormat as e4x. I need to convert the XML obtained to an ArrayCollection containing objects. I tried this: var ac:ArrayCollection = new ArrayCollection([(event.result.abc as XML).children()]); This gives me an array collection of XML objects. But, I

[flexcoders] Re: Bindable tag question

2008-05-19 Thread gaurav1146
the myList variable itself is not bindable, you could do this: myList = new ArrayCollection(); And there'd be no update, and myDatagrid.dataProvider would still point to the old ArrayCollection. -J On Mon, May 19, 2008 at 7:02 PM, gaurav1146 [EMAIL PROTECTED] wrote: Hi, Thanks

[flexcoders] Bindable tag question

2008-05-18 Thread gaurav1146
Hi, I have been using Bindable tag for data providers in datagrid, list etc. The doc states that this ensures that the destination datagrid would reflect the change when the dataprovider is changed. But I have observed that even if I do not use the Bindable tag the datagrid is still updated when

[flexcoders] DataGridHeader with TextInput : text values lost on scroll

2008-05-13 Thread gaurav1146
Hi, I have a datagrid to which I am adding a TextInput in the Header by overriding the createChildren() method of AdvancedDataGridHeaderRenderer. The problem is that when I have certain text in the header textinput and the user performs a scroll on the DataGrid the createChildren() method is

[flexcoders] Re: DataGridHeader with TextInput : text values lost on scroll

2008-05-13 Thread gaurav1146
, gaurav1146 [EMAIL PROTECTED] wrote: Hi, I have a datagrid to which I am adding a TextInput in the Header by overriding the createChildren() method of AdvancedDataGridHeaderRenderer. The problem is that when I have certain text in the header textinput and the user performs a scroll

[flexcoders] Re: Tree with adjustable height and without scroll bar

2008-05-12 Thread gaurav1146
Of gaurav1146 Sent: Sunday, May 11, 2008 4:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree with adjustable height and without scroll bar Hi, I have a certain structure where I have some components in a VBox. The components are formed dynamically and are used for taking user

[flexcoders] Tree with adjustable height and without scroll bar

2008-05-11 Thread gaurav1146
Hi, I have a certain structure where I have some components in a VBox. The components are formed dynamically and are used for taking user input.One of the components is a Flex Tree with checkboxes. The problem that I am facing is that the flex tree has a specified height and stands out from other

[flexcoders] Re: Accessing Components By Dynamically generated IDs

2007-11-29 Thread gaurav1146
') --- In flexcoders@yahoogroups.com, DreamCode dreamcode@ wrote: I think you should be able to constuct the id something like this: var currentItem:Object = this['hbox' + number] I assume you know the number of boxes you create. --Allan On Nov 21, 2007 11:49 PM, gaurav1146

[flexcoders] Accessing Components By Dynamically generated IDs

2007-11-21 Thread gaurav1146
Hi, I have a component where a user can add text boxes and Combo boxes depending on his requirement. For each addition I assign the ids to the elements in ascending order. Now I want to read the values from each of these textboxes and combo boxes in a for loop. How can I do that. I have a

[flexcoders] Re: DateTimeAxis without the weekends

2007-09-12 Thread gaurav1146
: [flexcoders] DateTimeAxis without the weekends Hi Gaurav, I have a similar problem with DateTimeAxis. I'd want to remove from the view the dates that I can't find in my xml data. Hope Ely or someone could bring some light on this issue 2007/9/11, gaurav1146 [EMAIL PROTECTED

[flexcoders] DateTimeAxis without the weekends

2007-09-11 Thread gaurav1146
Hi all, I have a certain set of data where I have values for weekdays only. I want to represent this data on a column chart. Due to data missing for weekends I get certain gaps in between the bars of the column chart. Is there any way I could omit the weekends from the date time axis. One

[flexcoders] Flex Tree (selectedItem.attribute not working)

2007-06-08 Thread gaurav1146
I am using a flex tree and I want to make a call to HTTP service when user selects one of the items in the tree. I have an XML something like this. group label=FlexCoders user label=abc id=123/ user label=def id=456/ /group group label=FlexDev user label=ghi id=123/ user

[flexcoders] Re: Bubble Charts (size of the bubble)

2007-04-16 Thread gaurav1146
Thanks a ton. Regards, Gaurav Singh --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: check your yahoo account --- In flexcoders@yahoogroups.com, gaurav1146 gaurav1146@ wrote: Please mail me the overloaded bubble series class. My email address is gaurav1146

[flexcoders] Re: Bubble charts with only one bubble

2007-04-13 Thread gaurav1146
I did face this issue in my application which I had mentioned in the post titled Bubble Charts (size of the bubble). I presumed that it was due to some error on my part in slicing the ArrayCollection with the slider movement which was causing this to happen. I have not investigated it completely

[flexcoders] Bubble Charts (size of the bubble)

2007-04-12 Thread gaurav1146
Hi, I have created a chart which consists of LineSeries and bubble series something like mx:CartesianChart mx:Seriesmx:LineSeries../mx:BubbleSeries //mx:Series /mx:CartesianChart The sizes of the bubble initially displayed proportionately based on the radiusField in the

[flexcoders] Re: Bubble Charts (size of the bubble)

2007-04-12 Thread gaurav1146
they will have different proportions. Do you have max and min bubble sizes set? --- In [EMAIL PROTECTED], gaurav1146 gaurav1146@ wrote: Hi, I have created a chart which consists of LineSeries and bubble series something like mx:CartesianChart mx:Seriesmx:LineSeries

[flexcoders] Re: Bubble Charts (size of the bubble)

2007-04-12 Thread gaurav1146
Please mail me the overloaded bubble series class. My email address is gaurav1146 at yahoo.com TIA Gaurav --- In [EMAIL PROTECTED], simonjpalmer [EMAIL PROTECTED] wrote: I think it would be illuminating for you to set a breakpoint in the updateTransform method of the BubbleSeries class