[flexcoders] AdvacncedDataGrid: Column Group Issue

2009-07-10 Thread Patricia Han
Hi There,

Have you ever successfully create a table or grid with hierarchical data and 
grouping some columns? I am trying to create a grid showing folders and want to 
group two columns. It does not work. Please let me know if you know the trick. 
Without the grouping, everything
Thanks in advance!

Nancy

Here's code I have,

mx:AdvancedDataGrid id=myADG 
width=100% height=100%  
variableRowHeight=true selectionColor=#AAC5CE
initialize=gc.refresh();
mx:dataProvider
mx:GroupingCollection id=gc 
source={serverData}
mx:grouping
mx:Grouping
mx:GroupingField 
name=Servers/
mx:GroupingField name=Port/
/mx:Grouping
/mx:grouping
/mx:GroupingCollection
/mx:dataProvider

mx:columns
mx:AdvancedDataGridColumn dataField=Port 
headerText=Server/Port/
 mx:AdvancedDataGridColumn 
dataField=VirtualResourceType headerText=Virtual Type/
mx:AdvancedDataGridColumn dataField=CIR/
mx:AdvancedDataGridColumn dataField=PIR/
 mx:AdvancedDataGridColumnGroup 
headerText=Capacity 
   AdvancedDataGridColumn 
dataField=Avail/
  AdvancedDataGridColumn 
dataField=Total/
/mx:AdvancedDataGridColumnGroup 
/mx:columns
   /mx:AdvancedDataGrid


  

Re: [flexcoders] Re: AdvacncedDataGrid: Column Group Issue [2 Attachments]

2009-07-10 Thread Patricia Han
I copied the code as my base. It works without grouping other fields (by using 
AdvancedDataGridColumnGroup) . Let's say is you group Actual and Estimate. It 
won't work. Please see the attached screen shots. I want both of them in the 
same table.

Any other idea?

Thanks,








From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Friday, July 10, 2009 12:40:51 PM
Subject: [flexcoders] Re: AdvacncedDataGrid: Column Group Issue





Have you tried modifying the example at http://livedocs. adobe.com/ 
flex/3/langref/ mx/controls/ AdvancedDataGrid .html#includeExa mplesSummary ?

--- In flexcod...@yahoogro ups.com, Patricia Han flex...@...  wrote:

 Hi There,
 
 Have you ever successfully create a table or grid with hierarchical data and 
 grouping some columns? I am trying to create a grid showing folders and want 
 to group two columns. It does not work. Please let me know if you know the 
 trick. Without the grouping, everything
 Thanks in advance!
 
 Nancy
 
 Here's code I have,
 
 mx:AdvancedDataGri d id=myADG 
 width=100% height=100%   
 variableRowHeight= true selectionColor= #AAC5CE
 initialize= gc.refresh( ); 
 mx:dataProvider
 mx:GroupingCollect ion id=gc 
 source={serverData }
 mx:grouping
 mx:Grouping
 mx:GroupingField 
 name=Servers /
 mx:GroupingField 
 name=Port/ 
 /mx:Grouping
 /mx:grouping
 /mx:GroupingCollec tion
 /mx:dataProvider 
 
 mx:columns
 mx:AdvancedDataGri dColumn 
 dataField=Port headerText= Server/Port /
  mx:AdvancedDataGri dColumn 
 dataField=VirtualR esourceType headerText= Virtual Type/
 mx:AdvancedDataGri dColumn 
 dataField=CIR /
 mx:AdvancedDataGri dColumn 
 dataField=PIR /
  mx:AdvancedDataGri dColumnGroup 
 headerText= Capacity  
AdvancedDataGridCol umn 
 dataField=Avail /
   AdvancedDataGridCol umn 
 dataField=Total /
 /mx:AdvancedDataGr idColumnGroup 
 /mx:columns
/mx:AdvancedDataGr id



   


  

[flexcoders] ComboBox cell renderer is not working in a hierarchical datagrid [1 Attachment]

2009-07-16 Thread Patricia Han
Hi Friends,

I am trying to create a hierarchical AdvancedDataGrid with a column which is a
ComboBox renderer. I used this renderer in other table which is not a
hierarchical one and it works perfect. But in the hierarchical data grid, for
some reason the combobox is not working. Attached is a screen shot of the panel 
(the last column is the one which has the combobox renderer).

I also noticed that the grouping columns also not working in the hierarchical
datagrid.

Please let me know if you have any suggestions. Thanks a lot in advance.

Patricia Han

Here's the source code,


[Bindable]
private var
hierarchicalTablData:Object =
   
{chassis_card:Chassis-lab, Summary:true, children: new
ArrayCollection([
{chassis_card: Card1,
s_capacity:700MB, target:chs1/card1,children: new
ArrayCollection([
{chassis_card:
100MBvNIC, Summary:true, cardType:1GB,
s_capacity:100MB},
{chassis_card:
200MBvNIC, cardType:1GB,
s_capacity:200MB}])},

   
{chassis_card:Card2, 
s_capacity:400MB,target:chs1/card1,Summary:false,
children: new ArrayCollection([
   
{chassis_card:100MBvNIC, cardType:1GB,
s_capacity:100MB,  attributes:Read Only},
{chassis_card:500MBvNIC,
Summary:true, cardType:1GB,
s_capacity:500MB}])},

{chassis_card:
Card3,
s_capacity:800MB,target:chs1/card1,children: new
ArrayCollection([
{chassis_card:
200MB, cardType:1GB, s_capacity:200MB},

{chassis_card:
Card4,
s_capacity:7GB,target:chs1/card1,children: new
ArrayCollection([
{chassis_card:
1GBvNIC, cardType:10GB, s_capacity:1GB},
{chassis_card:
2GBvNIC, cardType:10GB,
s_capacity:2GB}])}])}
])};

 mx:AdvancedDataGrid id=adg dataProvider={new
HierarchicalData(hierarchicalTablData)} width=100%
height=445
   
mx:columns
   
mx:AdvancedDataGridColumn dataField=chassis_card
headerText=Source Chassis/IO Module /
   
mx:AdvancedDataGridColumn dataField=cardType
headerText=Card Type/
   
mx:AdvancedDataGridColumn
dataField=s_capacity headerText=Capacity /
   
mx:AdvancedDataGridColumn dataField=target
headerText=Target IO Resources editable=true
editorDataField=value 
   
   
mx:itemEditor
   
   
mx:Component
   
   
mx:ComboBox editable=true
   
   
mx:dataProvider
   
   
mx:Stringchs1/card1/mx:String
   
   
mx:Stringchs2/card2/mx:String
   
mx:Stringchs2/card2/mx:String
   
   
mx:Stringchs3/card1/mx:String
   
   
mx:Stringchs3/card1/mx:String
   
   
/mx:dataProvider
   
   
/mx:ComboBox
   
   
/mx:Component
   
   
/mx:itemEditor
   
   
/mx:AdvancedDataGridColumn  
   
/mx:columns
 /mx:AdvancedDataGrid


  

[flexcoders] Caringorm vs PureMVC

2010-01-07 Thread Patricia Han
Hi Everyone,

I need to pick up a framework to use, either Caringorm or PureMVC. Any 
suggestion on this?
Thanks for any advice.

Patricia Han


  

Re: [flexcoders] Caringorm vs PureMVC

2010-01-08 Thread Patricia Han
Thanks, Pankaj! I may go with PureMVC. I got a suggestion from a friend that if 
go with PureMVC, Fabrication can help. What do you think? Fabrication is build 
on top of PureMVC. It just created some convenient classes and methods.

Thanks again.

Patricia





From: Pankaj Munjal flex.pan...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thu, January 7, 2010 6:44:18 PM
Subject: Re: [flexcoders] Caringorm vs PureMVC

   
Hi,
 
if you are going to play more with UI then go for PMVC and if you are going to 
play more with Business layer the CRM is best .
 Thanks,
Pankaj 





 From: Patricia Han flex...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thu, January 7, 2010 7:00:01 PM
Subject: [flexcoders] Caringorm vs PureMVC

  
Hi Everyone,

I need to pick up a framework to use, either Caringorm or PureMVC. Any 
suggestion on this?
Thanks for any advice.

Patricia Han





 


  

Re: [flexcoders] Caringorm vs PureMVC

2010-01-08 Thread Patricia Han
Thanks a lot. I will look at them.
Pat





From: Jatin Nanda jatin.na...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thu, January 7, 2010 6:49:20 PM
Subject: Re: [flexcoders] Caringorm vs PureMVC

   
@ Patricia


There are a few alternatives and each has its own advantages and disadvantages: 
-

- Swiz (uses dependancy injection)
- Mate
- RobotLegs

Try www.insideria.com

There are number of articles on different frameworks.

Hope this helps.





2010/1/8 Pankaj Munjal flex.pankaj@ yahoo.com














  


 
  
 
Hi,
 
if you are going to play more with UI then go for PMVC and if you are going to 
play more with Business layer the CRM is best .
 Thanks,
Pankaj







 From: Patricia Han flex...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thu, January 7, 2010 7:00:01 PM
Subject: [flexcoders] Caringorm vs PureMVC


  
Hi Everyone,

I need to pick up a framework to use, either Caringorm or PureMVC. Any 
suggestion on this?
Thanks for any advice.

Patricia Han






 


  

Re: [flexcoders] Caringorm vs PureMVC

2010-01-08 Thread Patricia Han
Thanks. I may choose PureMVC. I am looking at Fabrication now and see if it 
simplifies a little.
Pat





From: Kevin Benz kb...@kbenz.com
To: flexcoders@yahoogroups.com
Sent: Fri, January 8, 2010 9:01:03 AM
Subject: Re: [flexcoders] Caringorm vs PureMVC

I prefer PureMVC as if you have any multi-platform development (say Flex and 
PHP, Flex and Java), there are PureMVC implementations for each platform. You 
can leverage PureMVC knowledge across platform teams, (hopefully) get better 
code, implement more cohesive standards, manage risk etc, etc etc. If 
developers cross teams, they are better prepared.

K


On Jan 7, 2010, at 4:00 PM, Patricia Han wrote:




  

 


Hi Everyone,

I need to pick up a framework to use, either Caringorm or PureMVC. Any 
suggestion on this?
Thanks for any advice.

Patricia Han







Kevin F. Benz
kb...@kbenz.com - (425) 785-7100
http://www.kbenz.com - http://www.linkedin.com/in/kbenz


  

Re: [flexcoders] Re: Caringorm vs PureMVC

2010-01-11 Thread Patricia Han
Thanks, Chris!

I will look into Mate framework. I will have two small independent projects. I 
may use Mate for one and PureMVC for the other.

Patricia





From: gers32 c...@kitry.fr
To: flexcoders@yahoogroups.com
Sent: Sun, January 10, 2010 11:31:50 PM
Subject: [flexcoders] Re: Caringorm vs PureMVC

   
Hi Patricia,

I spent a couple days investigating the various Flex frameworks and finally 
came to the conclusion that Mate was best for me. The big Plus is that it 
doesn't interfere with your Flex code.

Among my numerous findings, the following two are pretty good:

http://www.insideri a..com/2009/ 01/frameworkques t-2008-part- 6-the.html
http://www.adobe. com/devnet/ flex/articles/ flex_framework. html

Cheers,

Chris.


 


  

[flexcoders] Advanced chart selection

2010-01-13 Thread Patricia Han
Hi, 

I am looking for better charts (than Flex provides). I looked at ILOG, 
Fusioncharts, Axiis. Do you have other suggestions for fancy charts?

Thanks,

Pat



  

[flexcoders] How to manipulate legend in a chart

2010-01-25 Thread Patricia Han
Hi All,

I tried all kinds of staff to dynamically turn on/off a series of line charts 
(I did not create the legend separately). The series can be turned on/off, but 
not the legend. How should I manipulate the legend when I only know the 
LineSeries? The class LineSeries only has an array of LegendData which is 
read-only and cannot setVisible (or visible).
Can someone help?

Thanks,

Pat



  

[flexcoders] How do create two different charts?

2010-02-10 Thread Patricia Han
Hi All,

Has anyone done creating two different types of charts in the same scale? I 
need to draw a stacked area chart and a line chart on the same chart area. But 
I don't know how to do that. 

Can someone give some advice? Or some examples?

Thanks so much for any advance or suggestion.

Pat.



  

Re: [flexcoders] How do create two different charts?

2010-02-11 Thread Patricia Han
Thanks so much! I will try that.
Pat





From: Richard Rodseth rrods...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Wed, February 10, 2010 4:52:30 PM
Subject: Re: [flexcoders] How do create two different charts?

   
Quick answer, and I may not have time  to follow up with more detail . You can 
have different series types within the same chart definition.

In other words, an mx:ColumnSeries element doesn't have to be inside an 
mx:ColumnChart element. So just use an mx:CartesianChart (I believe that's 
what it's called) and add the series you need.

Of course, the devil's in the details, but that might get you started.


On Wed, Feb 10, 2010 at 4:47 PM, Patricia Han flex...@yahoo. com wrote:














  


 
  
 
Hi All,

Has anyone done creating two different types of charts in the same scale? I 
need to draw a stacked area chart and a line chart on the same chart area. But 
I don't know how to do that. 

Can someone give some advice? Or some examples?

Thanks so much for any advance or suggestion.

Pat.



 


  

[flexcoders] RobotLegs Framework

2010-04-28 Thread Patricia Han
Hi Everyone,

Have you used Robotlegs framework? Please share your experience with me. 
(compare with Cairngorm or PureMVC)
Thanks,

Pat



  

Re: [flexcoders] RobotLegs Framework

2010-04-29 Thread Patricia Han
Thanks a lot, John!
Currently we're using Cairngorm, but we are thinking to move to Robotlegs in 
the next product. My concern on the Robotlegs is that not many people are using 
the new framework. So there won't be too many examples, talks, workarounds, etc.

Thanks again.

Pat.





From: John McCormack j...@easypeasy.co.uk
To: flexcoders@yahoogroups.com
Sent: Thu, April 29, 2010 1:37:37 AM
Subject: Re: [flexcoders] RobotLegs Framework

   
Have a look at John Lindquist's video - 3rd one down:
http://pv3d. org/
John

Patricia Han wrote:


 Hi Everyone,

 Have you used Robotlegs framework? Please share your experience with 
 me. (compare with Cairngorm or PureMVC)
 Thanks,

 Pat



 


 


  

Re: [flexcoders] Re: Flashbuilder 4.0.1 debugger issue?

2010-09-01 Thread Patricia Han
Can I ask you how you created the splash screen?  Currently I am trying to add 
a 
splash screen or image right after logging in and before the main screens 
appears. But I have no idea how to do that.
Can you help?
Thanks,
Pat






From: Richard Rodseth rrods...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Mon, July 12, 2010 2:51:32 PM
Subject: [flexcoders] Re: Flashbuilder 4.0.1 debugger issue?

   
He's also on Flash Player 10.1 and after deleting shared objects used by our 
splash screen, the app is locking up earlier (i.e. before dismissing the splash 
screen. Are there some changes I should know about relating to 10.1, security 
sandboxes, Shared Objects and the 4.0.1 debugger?


On Mon, Jul 12, 2010 at 2:41 PM, Richard Rodseth rrods...@gmail. com wrote:

A colleague is experiencing a problem where our app hangs the browser when run 
in the debugger, but not when launched in non-debug mode (from Flashbuilder) . 
He's the only one on the team who started Flex work since the release of 4.0.1 
so I'm wondering if there are any known problems that could explain this. 





 


  

[flexcoders] VGroup vertical gap cannot be reduced

2012-01-20 Thread Patricia Han
Hi,
We just moved from flex 3.5 to 4.5 and found that the gap property cannot be 
reduced. The default is pretty big. Please let me know if you happen to know 
the answer.
Thanks,
Pat