[flexcoders] Re: Access to JVM command line args when extending AbstractAssembler (LCDS)

2010-08-16 Thread djbrown_rotonews
anyone? --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_roton...@... wrote: How can I access the JVM command line args in my class that extends AbstractAssembler? I need to customize the behavior of my custom assembler based on some settings based in as optional JVM arguments

[flexcoders] garbage collection question

2010-07-29 Thread djbrown_rotonews
I'm trying to track down a memory leak in one of my applications, having already employed the use weak reference in dictionaries and eventListeners guideline. I have an wrapper object, that has (among other properties) a reference to another object, which contains an array of a third object.

[flexcoders] data-specific createChildren() question

2010-07-01 Thread djbrown_rotonews
I've got a custom item renderer extending UIComponent that can have 3 base 'states' depending on the nature of the data that it is displaying. Each of these states have minor UI tweaks re: the children that are added to the display list etc.. (# of UITextFields, icons etc...) Am I better off

[flexcoders] Re: data-specific createChildren() question

2010-07-01 Thread djbrown_rotonews
% case is extremely time-consuming, you may wish to just hide them, but if you end up hiding tons of stuff you'll be wasting memory as well. The profiler and testing scrolling visually will tell you the right way for your situation. On 7/1/10 1:26 PM, djbrown_rotonews djbrown_roton

[flexcoders] Re: getting the number of children in a grouping collection via the groupingFunction

2008-12-01 Thread djbrown_rotonews
one more time for help... --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: i'm wanting to change the label of my groups in the AdvancedDataGrid, and I see where that's exposed via the groupingFunction. What i'm wanting to do is to modify it in such a way

[flexcoders] Re: getting the number of children in a grouping collection via the groupingFunction

2008-11-26 Thread djbrown_rotonews
anyone? --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: i'm wanting to change the label of my groups in the AdvancedDataGrid, and I see where that's exposed via the groupingFunction. What i'm wanting to do is to modify it in such a way that it returns

[flexcoders] getting the number of children in a grouping collection via the groupingFunction

2008-11-25 Thread djbrown_rotonews
i'm wanting to change the label of my groups in the AdvancedDataGrid, and I see where that's exposed via the groupingFunction. What i'm wanting to do is to modify it in such a way that it returns the groupingField name itself, plus the number of children in that group. As an example, if I had

[flexcoders] Re: Flex Application Memory Footprint

2008-11-14 Thread djbrown_rotonews
I'm seeing the same behavior. DataGrid headerRenderer is a simple Label with a toolTip, and there's just 15 columns in the grid itself. Before the data is even populated, I have 75 instances of the header renderers (5 for each column), and they never get cleaned up. Around 35-40% of my

[flexcoders] getting/settings explicit height/width for a custom toolTip?

2008-11-03 Thread djbrown_rotonews
I'm attempting to create a custom toolTip using a Text component (of varying length, depending on the underlying data) inside a VBox component (with no explicit height or width declared) that implements IToolTip. Inside the creationComplete handler for the VBox, I build out the contents of

[flexcoders] Re: positioning custom toolTips?

2008-10-22 Thread djbrown_rotonews
anyone?

[flexcoders] positioning custom toolTips?

2008-10-21 Thread djbrown_rotonews
I've got a dataGrid, but am using VBox's that implement IToolTip to generate my toolTips instead of relying on the built-in dataTip functionality. Every thing works fine until it comes to positioning the toolTips along the bottom right of the dataGrid, as the default behavior isn't

[flexcoders] Why are so many DataGridColumn headerRenderers created?

2008-10-15 Thread djbrown_rotonews
I've started messing around with the profiler tools inside FB3, and noticed that a large chunk (43%) of my memory is being taken up by 75 instances (135 cumulative instances) of my generic headerRenderers used by my DataGridColumns. The renderer used just extends label, and sets a toolTip

[flexcoders] getItemAt *removes* item from ArrayCollection?

2008-09-26 Thread djbrown_rotonews
has anyone run into this problem? The code below is *removing* the item from the ArrayCollection when I modify that one attribute on the object. And the size of my ArrayCollection isn't increasing after the call to addItem() either. the call to getItemIndex is working just fine, but the object

[flexcoders] Re: getItemAt *removes* item from ArrayCollection?

2008-09-26 Thread djbrown_rotonews
with the; flightToMarkAsRemoved.flightHasBeenClearedByUser=true That would be my guess. Mike On Fri, Sep 26, 2008 at 10:03 AM, djbrown_rotonews [EMAIL PROTECTED] wrote: has anyone run into this problem? The code below is *removing* the item from the ArrayCollection when I modify that one attribute on the object

[flexcoders] Re: getItemAt *removes* item from ArrayCollection?

2008-09-26 Thread djbrown_rotonews
have a filter on the collection? On 9/26/08 9:00 AM, djbrown_rotonews [EMAIL PROTECTED] wrote: My entire class (SOCAdvisorVO) is marked as Bindable: [Bindable] public class SOCAdvisorVO { // used for problem flight 'cleared' public var flightHasBeenClearedByUser:Boolean=false

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-27 Thread djbrown_rotonews
code. Label doesn't which is why it isn't set up to get the tooltip events. I'd probably copy code from DGIR to a subclass of Label. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Tuesday, May 27, 2008 5

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-27 Thread djbrown_rotonews
, djbrown_rotonews [EMAIL PROTECTED] wrote: it compiles when using Label as the component, but it doesn't compile when using DataGridItemRenderer (cannot resolve attribute toolTipCreate. Should I use DGIR, but use a different event since toolTipCreate isn't exposed? mx:DataGridColumn headerText=PNR

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-22 Thread djbrown_rotonews
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Wednesday, May 21, 2008 5:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: dataTipRenderer available for DataGrid? I see where there's a ToolTipCreate event available, and I've

[flexcoders] Re: dataTipRenderer available for DataGrid?

2008-05-21 Thread djbrown_rotonews
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Monday, May 19, 2008 1:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] dataTipRenderer available for DataGrid? How do I need to extend DataGrid to get the dataTipRenderer stuff

[flexcoders] dataTipRenderer available for DataGrid?

2008-05-20 Thread djbrown_rotonews
How do I need to extend DataGrid to get the dataTipRenderer stuff exposed similiar to the charting classes?

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread djbrown_rotonews
any help out there? --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: anyone? :) --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: I've got a tile list component that I want to be able to scroll through horizontally without

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-24 Thread djbrown_rotonews
/components.cfm http://giles.roadnight.name/components.cfm might give you some ideas. --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , djbrown_rotonews djbrown_rotonews@ wrote: any help out there? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

[flexcoders] Restricting mouseX, mouseY while dragging?

2008-04-22 Thread djbrown_rotonews
I have the need to restrict the mouse (x,y) of my DragProxy when dragging (basically, allow dragging only vertically and not horizontally). What's the best way to go this using the various Drag/Drop event handlers?

Re: RES: [flexcoders] Restricting mouseX, mouseY while dragging?

2008-04-22 Thread djbrown_rotonews
event, adding an mouseMove handler to set the new X pos of the object. De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de djbrown_rotonews Enviada em: terça-feira, 22 de abril de 2008 12:25 Para: flexcoders@yahoogroups.com Assunto: [flexcoders

[flexcoders] Re: Programmatic scrolling of a TileList?

2008-04-15 Thread djbrown_rotonews
anyone? :) --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I've got a tile list component that I want to be able to scroll through horizontally without the visual presence of the scroll bars themselves. I've got a set of arrows that the user can click

[flexcoders] Programmatic scrolling of a TileList?

2008-04-14 Thread djbrown_rotonews
I've got a tile list component that I want to be able to scroll through horizontally without the visual presence of the scroll bars themselves. I've got a set of arrows that the user can click on to scroll through the items, but it's not quite working as desired. Basically, my itemRenderers

[flexcoders] using SliderDataTipClass?

2008-04-01 Thread djbrown_rotonews
I'm wanting to add a label to each of my thumbs, so that something like Start time and End time will be present under the thumb itself even when not dragging (I believe this requirement prevents me from simply using a dataTipFormatFunction). Can I do this by extending SliderDataTipClass?

[flexcoders] Accordion question

2008-03-11 Thread djbrown_rotonews
I have a GUI that has a Tabbed view and a tiles view, both as children of an Accordion (the tiles view is just a repeater inside of a vbox as opposed to an actual tile list). Anyhow, each component has a few combobox pulldowns etc.. I want to be able to synch up those selections, so that when

[flexcoders] Re: Accordion question

2008-03-11 Thread djbrown_rotonews
. If you did, you would store the combobox selection in the data model and all views would be bound to that slot in the model. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Tuesday, March 11, 2008 7

[flexcoders] TimeChooser conponent similiar to DateChooser?

2007-05-16 Thread djbrown_rotonews
Has anyone coded up a TimeChooser component that would behave similiar to the DateChooser component? Something that would allow us to generate combo boxes on the fly essentially, taking in start time, end time and increments as parameters?

[flexcoders] deploying a simple Flex app to WebSphere AppServer?

2007-01-27 Thread djbrown_rotonews
I'm trying to deploy a simple flex app to WAS6.1 after having it run under the included jrun4. What processes do I need to take, or is there a tutorial online that would step me thru the process?

[flexcoders] Re: changing the pageTitle programmatically?

2006-09-26 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: You could use the externalAPI and Javascript. Cheers, Ralf On 8/8/06, djbrown_rotonews [EMAIL PROTECTED] wrote: I have a use case where I need to change the pageTitle of my application to change based

[flexcoders] Re: changing the pageTitle programmatically?

2006-09-26 Thread djbrown_rotonews
(javascript:window.status=' + station + ';void(0)); // navigateToURL(u2, _self); --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: You could use the externalAPI and Javascript. Cheers, Ralf On 8/8/06, djbrown_rotonews [EMAIL PROTECTED] wrote: I have a use case

[flexcoders] rollOver outline box for DataGrid?

2006-08-21 Thread djbrown_rotonews
Is there a way to create a rollOver rectangle/outline box in the DataGrid, as opposed to the solid rectangle that currently exists? I'm able to create an outline box over a specific cell that is rolled over, but can't seem to extend it to the entire row. -- Flexcoders Mailing List FAQ:

[flexcoders] changing the pageTitle programmatically?

2006-08-08 Thread djbrown_rotonews
I have a use case where I need to change the pageTitle of my application to change based on a selection in a combo box. Is this possible? It looks like the pageTitle tag is used to generate the HTML at run-time, and isn't dynamic in nature as I need. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: only one root tag is allowed error when migrating from Beta3 to final?

2006-08-01 Thread djbrown_rotonews
://weblogs.macromedia.com/flexteam/archives/2006/06/flex_2_chang es. cfm), but is easy to miss. HTH -Randy Nielsen Flex Documentation Manager --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , djbrown_rotonews djbrown_rotonews@ wrote: I'm getting the above error on all

[flexcoders] only one root tag is allowed error when migrating from Beta3 to final?

2006-07-31 Thread djbrown_rotonews
I'm getting the above error on all my mx:Model declarations after moving my code from Beta3 to the final release. What's the solution? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] DataGrid/itemFunction help needed

2006-07-26 Thread djbrown_rotonews
I'm trying to get the itemFunction property of a DataGrid to work. I set it up correctly, but the function never seems to get called even when the dataProvider's data is refreshed (I'm using XMLListCollection as the dataProvider). iconField and iconFunction are listed in the API for

[flexcoders] Re: DataGrid/itemFunction help needed

2006-07-26 Thread djbrown_rotonews
Whoops. I meant iconFunction, not itemFunction. At any rate, here's a quick example. If you use a mx:List, it works flawlessly; if you use mx:DataGrid, the myIconFunction is never even called. ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script

[flexcoders] Re: DataGrid/iconFunction help needed

2006-07-26 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I'm trying to get the itemFunction property of a DataGrid to work. I set it up correctly, but the function never seems to get called even when the dataProvider's data is refreshed (I'm using XMLListCollection

[flexcoders] known bug? DataGrid/iconFunction help needed

2006-07-26 Thread djbrown_rotonews
I've been able to determined that the following works just fine when using mx:List, but it doesn't call the iconFunction at all when using mx:DataGrid. Is this a known bug? ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[

[flexcoders] using XMLList.contains() question

2006-07-20 Thread djbrown_rotonews
My xml stream is as follows, and I want to programmatically determine if it contains the cpData tag. How can I do this via the XMLList.contains() method? socFlight cp dataValue=3* severity=5/ cpflt dataValue=HOTL severity=5/ cpfrm dataValue=STL severity=0/ fa dataValue=7 severity=11/

[flexcoders] double click in a cell adds an icon?

2006-07-20 Thread djbrown_rotonews
I've got a dataGrid, and I want to add an icon to a particular cell when I doubleclick on it. I know how to capture the doubleclick event, etc.. but how do I go about adding the icon to the current contents of the renderer (it's plain text by default) Yahoo!

[flexcoders] help with XMLList.contains() needed

2006-07-19 Thread djbrown_rotonews
Below is output from my code that represents the elements in an XMLList. I'm wanting to determine if the stream contains a cpData tag (this one does, not all do) and am having trouble doing so via the code attached. Can someone point out my error when using XMLList.contains()? I've tried

[flexcoders] Re: falling between items when using itemRollOver (DataGrid)

2006-07-07 Thread djbrown_rotonews
any help here? --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I'm using the itemRollOver event mechanism to display additional info about items in my DataGrid, and it appears that you can fall between items with the mouse (ie, I'll be at Row 1 Column 5

[flexcoders] falling between items when using itemRollOver (DataGrid)

2006-07-05 Thread djbrown_rotonews
I'm using the itemRollOver event mechanism to display additional info about items in my DataGrid, and it appears that you can fall between items with the mouse (ie, I'll be at Row 1 Column 5 and move the mouse a tick down and it goes to Row 2 Column 0, and then back to Row 2 Column 5 after

[flexcoders] HTTPService (jsp, specifically) getting cached?

2006-07-05 Thread djbrown_rotonews
I've run into a situation where I want to re-issue a call to a jsp via an HTTPService with the same set of parameters. (It's a query to a db essentially, with the params specifying the WHERE clause of the SQL). The problem comes when I try and re-issue the HTTPService with the same parameters

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread djbrown_rotonews
if this works. Jeremy. On 7/1/06, djbrown_rotonews [EMAIL PROTECTED] wrote: any help? is there a more elegant way to do it inside of set data(), or is the beginFill/drawRect/endFill method shown as good as it gets? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-30 Thread djbrown_rotonews
any help? is there a more elegant way to do it inside of set data(), or is the beginFill/drawRect/endFill method shown as good as it gets? --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: Is the beginFill/drawRect/endFill the only way to do it inside of set data

[flexcoders] stuck on initializing?

2006-06-29 Thread djbrown_rotonews
my flex app has just recently gotten stuck on initializing, but a co- worker is able run it from his browser when pointing to my ip address. My browser briefly shows a re-direct url to flex-internal?action=history any ideas on how to fix this in my local browser? I'd just assume not have to

[flexcoders] submenu items on a ComboBox?

2006-06-29 Thread djbrown_rotonews
Is there a way to add submenu items on a ComboBox? Like the initial combobox would have 2 items Colors and Fruit, and then a selection of Colors would display another menu like Red Blue Yellow etc.. I know that type of behavior is available in mx:Tree, but how about mx:ComboBox?

[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-28 Thread djbrown_rotonews
has come in and the DataGrid has processed the REFRESH event. -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Tuesday, June 27, 2006 12:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keeping

[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-28 Thread djbrown_rotonews
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Wednesday, June 28, 2006 7:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider I added a collectionChange event to my

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-27 Thread djbrown_rotonews
(); } } } } -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *djbrown_rotonews *Sent:* Monday, June 26, 2006 10:13 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: coloring an entire cell in a DataGrid? I'm using an itemRenderer to set

[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-27 Thread djbrown_rotonews
I actually tried this (my dataProvider for the grid is an XMLListCollection being populated by a jsp. The grid has custom item renderers if that's relevant). anyhow, I have an update button which will call the jsp and get new results when clicked. I've set it up so the click() method

[flexcoders] coloring an entire cell in a DataGrid?

2006-06-26 Thread djbrown_rotonews
Is there a way to color the entire cell, and not sure the cell text itself, inside a DataGrid? Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM

[flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread djbrown_rotonews
. Check it in the manual and pay attention to data() method. On 6/26/06, djbrown_rotonews [EMAIL PROTECTED] wrote: Is there a way to color the entire cell, and not sure the cell text itself, inside a DataGrid? Yahoo! Groups Sponsor

[flexcoders] toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
I'm wanting to add some toolTip type behavior when the user rolls over some data in a DataGridColumn. It doesn't appear that the DataGridColumn natively supports toolTip behavior, but is there a way I can mimic one via the itemRollOver event? Something like popping up a Label just under the

[flexcoders] Re: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Friday, June 23, 2006 11:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] toolTip type behavior for DataGridColumns? I'm wanting to add some toolTip type behavior when

[flexcoders] Re: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
-based component. in the datagrid, you set showDataTips=true then in the columns, you set dataTipField=fieldname Shan _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Friday, June 23, 2006 2:10 PM To: flexcoders

[flexcoders] Re: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
I actually solved the problem. I had to explicity handle it inside my itemRenderer implementation (via this.toolTip=blah blah ). --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: weird. I've set up the following and it doesn't appear to work

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-22 Thread djbrown_rotonews
. http://www.cflex.net/showfiledetails.cfm? ChannelID=1Object=FileobjectI\ D=443 http://www.cflex.net/showfiledetails.cfm? ChannelID=1Object=Fileobject\ ID=443 -TH --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: I've seen references to using the setValue

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-22 Thread djbrown_rotonews
. In the HeaderRenderer AS, change the Height (maybe to 40) and the header text should wrap. You might also have to deal with the header text alignment. -TH --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: That did the trick, nearly. My

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-21 Thread djbrown_rotonews
I've seen references to using the setValue() function of the custom renderer to gain access to the header itself and putting the toolTip code in there, but it doesn't look like setValue is called any longer using Beta3. any ideas/suggestions? --- In flexcoders@yahoogroups.com, djbrown_rotonews

[flexcoders] Re: toolTip for dataGrid headers?

2006-06-20 Thread djbrown_rotonews
of the UIComponent I'm currently looking at. --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: I'm wanting to add toolTip for dataGrid headers, where a tool tip is displayed when hovering over a header of a data grid that displays more information about that particular column

[flexcoders] FlexPrintJob and large DataGrids?

2006-06-20 Thread djbrown_rotonews
I've got a large DataGrid that the user needs to scroll (vertically) through to view completely. When I go to print this, I only get the portion that is currently displayed to print out (I'm using the dataGrid itself as the UI component to print, so that's not the issue). Any ideas? Here's

[flexcoders] toolTip for dataGrid headers?

2006-06-19 Thread djbrown_rotonews
I'm wanting to add toolTip for dataGrid headers, where a tool tip is displayed when hovering over a header of a data grid that displays more information about that particular column. It doesn't appear than an itemRollOverEvent is generated when rolling over a header, so what's the best way to

[flexcoders] Re: ContextMenu and DataGrid question

2006-06-15 Thread djbrown_rotonews
: + DataGridListData(renderer.listData).columnIndex); } ]] /mx:Script mx:DataGrid id=myDataGrid/ /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Wednesday, June 14

[flexcoders] ContextMenu and DataGrid question

2006-06-14 Thread djbrown_rotonews
I'm trying to set up a ContextMenu inside a DataGrid that has knowledge of where in the grid the right click occured. All I'm able to see via the ContextMenuEvent is the mouseTarget that knows about the underlying text in the cell. I'm needing something similiar to rowIndex and columnIndex

[flexcoders] Re: mouseOver for specific cells in DataGrid?

2006-06-01 Thread djbrown_rotonews
you are at assuming that your rowHeight and column widths are constant. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Wednesday, May 31, 2006 8:41 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] mouseOver for specific cells in DataGrid?

2006-05-31 Thread djbrown_rotonews
I'm wanting to implement a mouseOver event that is cell-specific for a DataGrid. Does the mouseOver event for the DataGrid itself have knowledge of the row/column that is being hovered over? -- Flexcoders Mailing List FAQ:

[flexcoders] re-ordering of DataGridColumns based on a GUI component selection?

2006-05-25 Thread djbrown_rotonews
I need to be able to change the ordering of my displayed DataGridColumns based on a selection made via another GUI component. I've captured the state of this other GUI component via a Model, but how do I go about adding some if/then/else logic inside my DataGrid/Columns/Array/DataGridColumn

[flexcoders] itemRenderer/dataGrid rollOverColor question

2006-05-22 Thread djbrown_rotonews
I've got a dataGrid setup, with each cell having an itemRenderer associated with it. The itemRenderer is setting the text color based on the value in each cell, via a setStyle(color, ) call. The problem is that this prevents my rollOverColor declaration in my DataGrid from working (you can

[flexcoders] complex GUIs inside a tab panel?

2006-05-19 Thread djbrown_rotonews
I'm trying to wrap a TabBar around a panel that contains a series of pulldown menus and a datagrid. I'm wanting to save the state of each menu for the different views of the data (one view per tabbed panel), which requires the use of a Repeater I believe, but when I wrap the menu

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-16 Thread djbrown_rotonews
Anyone else with some insight here? It's getting beyond frustrating to try and come up with a generic solution to a really simple problem. --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: The frustrating thing? This type of functionality was available

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-15 Thread djbrown_rotonews
The frustrating thing? This type of functionality was available in Beta1.5, but has since evaporated. Note their example of implementing sortCompareFunction is EXACTLY what I'm wanting to do in Beta2 and beyond. --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-12 Thread djbrown_rotonews
to move towards the example in their documentation: http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/comm on/html/wwhelp.htm?context=LiveDocs_Partsfile=0608.html --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: It's default is null (obviously

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-11 Thread djbrown_rotonews
bump. any help? --- In flexcoders@yahoogroups.com, djbrown_rotonews [EMAIL PROTECTED] wrote: anyone? I've seen similir questions asked before, and never saw an answer that directly pertains to the DataGrdColumn issue. --- In flexcoders@yahoogroups.com, djbrown_rotonews

[flexcoders] Re: generic sorts for DataGridColumns?

2006-05-11 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: bump. any help? --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: anyone? I've seen similir questions asked before, and never saw an answer that directly pertains to the DataGrdColumn

[flexcoders] sorting an XMLListCollection

2006-05-10 Thread djbrown_rotonews
I have a dataGrid of about 20 columns, whose dataProvider is an XMLListCollection: mx:XMLListCollection id=delays_xml source={getadvisordelays.result.*} filterFunction=filterData/ where getadvisordelays is an HTTPService call to a jsp, returning results in an e4x format: mx:HTTPService

[flexcoders] sorting user headerRelease in dataGrid sorts just once?

2006-05-10 Thread djbrown_rotonews
I'm trying to use a headerRelease in Beta2 to sort by columns in my dataGrid. I've been able to determine via debugging that it's only swapping two rows, and leaving the remaining rows in their original order. Any idea what might be going wrong? I have a filterFunction set up for

[flexcoders] generic sorts for DataGridColumns?

2006-05-09 Thread djbrown_rotonews
I'm using Flex Beta 2 and wanting to implement a generic sort that will handle the approximate 20 columns I'm displaying. I've got it set up as follows: mx:DataGridColumn id=col1 resizable=false textAlign=center fontWeight=bold headerText=STA width={dgDelays.width/22} headerWordWrap=on

[flexcoders] Gui component events inside mx:Repeater

2006-05-08 Thread djbrown_rotonews
I've got the following GUI component that updates a value inside an mx:Model I've defined: mx:ComboBox x=625 y=0 id=cbStartTime rowCount=10 dataProvider={hours.hour} change=timeRange.STARTTIME=cbStartTime.selectedItem.data/ I'm in the process of adding a mx:Repeater construct around one

[flexcoders] Re: Gui component events inside mx:Repeater

2006-05-08 Thread djbrown_rotonews
modelLocator). TH --- In flexcoders@yahoogroups.com, djbrown_rotonews djbrown_rotonews@ wrote: I've got the following GUI component that updates a value inside an mx:Model I've defined: mx:ComboBox x=625 y=0 id=cbStartTime rowCount=10 dataProvider={hours.hour} change

[flexcoders] re-filtering data in DataGrid?

2006-05-04 Thread djbrown_rotonews
I know that the DataGrid has a filterFunction param where you can specify any filtering capabilities you want to display in the DataGrid. Can this function call be re-issued programmatically? I've got an app where I want to display some data from a jsp call, filtered based on initial (and

[flexcoders] Re: re-filtering data in DataGrid?

2006-05-04 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/4/06, djbrown_rotonews [EMAIL PROTECTED] wrote: I know that the DataGrid has a filterFunction param where you can specify any filtering capabilities you want to display in the DataGrid. Can this function

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-03 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/3/06, djbrown_rotonews [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Manish Jethani manish.jethani@ wrote: On 5/3/06, djbrown_rotonews djbrown_rotonews@ wrote: I have a local var

[flexcoders] problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
I'm in the process of converting some old code that took the form of: mx:HTTPService id=getadvisordelays url="" method=GET showBusyCursor=true /mx:HTTPService and a DataGrid hook point of: dataProvider={mx.utils.ArrayUtil.toArray (getadvisordelays.result.delays.leg) to display my XML

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/3/06, djbrown_rotonews [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] = item.leg.node = item.leg[node] = [EMAIL PROTECTED] = item..cpfrmsta = item[node] ? Manish I have a local var node, set

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/3/06, djbrown_rotonews [EMAIL PROTECTED] wrote: I have a local var node, set to the dataField of the passed in DataGridColumn. So given this node, what do you want to display in the DataGrid? fa