[flexcoders] Display Hierarchical Data in Advanced Datagrid

2009-05-15 Thread linko27
Hi!

I am looking for a solution to display my data in an advanced datagrid.
The collection contains objects of type contact with a manager. 

Contact
{
name:String;
manager:Contact
...
}

I tried a grouping on the manager with no success. Need some help please!









[flexcoders] Nightly build of datavisualization SDK

2009-03-17 Thread linko27
Hello!

Is there a nightly build of the datavisualization SDK? I have problems with a 
memory leak in the charting component and need to update the SDK.

Thanks
Ron



[flexcoders] LCDS - Show loading Icon

2009-02-11 Thread linko27
Hi!

I am using LCDS Assembler with Java and configured the desitnations in
data-management-config.xml. Now I want to show some loading icon to
indicate the DS activity in my application by not doing this on each
individual fill or aupdate nethode. 

The question is: For what DS-events do I have to listen to start and
stop my loading icon. 

Can anyone please help me on that?



[flexcoders] Keyboard shortcuts and SuperTabNav

2008-12-15 Thread linko27
Hi!

I am trying to use keyboard shortcuts within a Tab in my SuperTabNav.
The Problem is that I did not get the focus when I click into my
Tab-Component. The Tab is a VBox and implements the
mx.managers.IFocusManagerComponent.
 
Code looks something like this:

mx:VBox 
xmlns:mx=http://www.adobe.com/2006/mxml; 
width=100% height=100%
focusEnabled=true
implements=mx.managers.IFocusManagerComponent
keyUp=handleKeyboardEvent(event)
...

Thanks!
Ron

  



[flexcoders] History Management in AIR Application

2008-11-27 Thread linko27
Hi!

Can I use the HistoryManager within an air application? The History
management lets users navigate through a Flex application using the
web browser's Back and Forward navigation commands. 

I'd like to navigate through my air application using an back button -
can I use the History management for this? How can I navigate to the
last state?

Thanks!
Linko



[flexcoders] dataTipRenderer and showAllDataTips=true

2008-07-31 Thread linko27
Hi!

I'm using a bubble chart with showAllDataTips=true and the
dataTipRenderer below. The datatip shows up correctly for a single
bubble, but if showAllDataTips is set to true, nothing is showing.
Here ist the code for the dataTipRenderer. Maybe someone can help on this.

Thanks in advance!

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;

mx:Label text={_name} width=100% textAlign=center
fontWeight=bold fontSize=11 /

mx:Script
![CDATA[
import mx.charts.HitData;

[Bindable] private var _name:String;

override public function set data(value:Object):void{
var hitData:HitData = value as HitData;
   
_name = hitData.item.name;
}//end set data
]]
/mx:Script
/mx:VBox 



[flexcoders] Hide a list item without changing (filtering) the dataprovider?

2008-07-01 Thread linko27
Hallo!

How can i hide a list item. I am trying to make a lists and hide the 
'mandatory=true' items without changing (filtering) the dataprovider.
 As far as i know i can even make a deep copy of the dataprovider and
set a filter on it, but i'd like to prevent this. The code below hides
the items, but they still fill the height in the list.

Thanks in advance!


mx:List id=criteriaList dataProvider={qualifications}
borderStyle=none rowCount={qualifications.length}
selectable=false x=135 width=100%
   mx:itemRenderer
  mx:Component
   mx:Canvas horizontalScrollPolicy=off width=100%
 mx:Script
![CDATA[
override public function set
data(value:Object):void
{
super.data = value;

if (value != null)
{
myCheckBox.selected = data.isSelected;
myCheckBox.visible = data.mandatory;
super.invalidateDisplayList();   
  
}
}
]]
 /mx:Script

 mx:CheckBox id=myCheckBox
selectedField=isSelected change=onChange(event);
label={data.leadCriteria.name} 
mx:Script
![CDATA[
import
com.salesbuilder.model.LeadQualification;
private function onChange(evt:Event):void {
var item:LeadQualification = data as
LeadQualification; 
item.isSelected = !item.isSelected;  
 
 
}
]]
/mx:Script
/mx:CheckBox
/mx:Canvas
 /mx:Component 
/mx:itemRenderer
/mx:List



[flexcoders] Re: Hide a list item without changing (filtering) the dataprovider?

2008-07-01 Thread linko27
I need to show two lists with different filter function on the same
dataprovider. Therefore I have to make a deep copy of the array for
the second list, otherwise the second filter will not include the 
items filtered by the first filter - is'nt it?


--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:

 - Original Message - 
 From: linko27 [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 01, 2008 10:08 AM
 Subject: [flexcoders] Hide a list item without changing (filtering) the 
 dataprovider?
 
 
  Hallo!
 
  How can i hide a list item. I am trying to make a lists and hide the
  'mandatory=true' items without changing (filtering) the dataprovider.
 
 A filter function on the dataprovider is the way to go. It doesn't
alter the 
 data in the dataprovider permamently and is the only way to have
your list 
 populate correctly.
 
 Why don't you want to filter the dataprovider?
 
 Paul
 
 snip





[flexcoders] Re: Hide a list item without changing (filtering) the dataprovider?

2008-07-01 Thread linko27
Thanks Ralph!
Thanks Paul!

The tipp with the ListCollectionView was perfect!

--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:

 - Original Message - 
 From: linko27 [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 01, 2008 10:58 AM
 Subject: [flexcoders] Re: Hide a list item without changing
(filtering) the 
 dataprovider?
 
 
 I need to show two lists with different filter function on the same
  dataprovider. Therefore I have to make a deep copy of the array for
  the second list, otherwise the second filter will not include the
  items filtered by the first filter - is'nt it?
 
 It's always worth looking through the archives.
 
 From a previous post of mine:
 
 Check out ListCollectionView. I've been down that same road. (Feb
Thread: 
 any ArrayCollection tricks?)
 
 From the thread: I found a great example here, which is perfect: 

http://viconflex.blogspot.com/2006/11/listcollectionview-different.html 
 
 Paul
 
 snip





[flexcoders] selected datagrid item as datatip on a chart

2008-05-30 Thread linko27
I want to show a selected datagrid item as datatip on a chart. How is
this possible? I read dataTipItems could be userful but never found
any sample.

Thanks in advance! 



[flexcoders] Re: Vertical Labels

2008-03-03 Thread linko27
Yes rotated!


--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Monday 03 Mar 2008, linko27 wrote:
  How can I make vertical labels (text) in flex? The text should be
fliped!
 
 Do you mean rotated ?
 
 -- 
 Tom Chiverton
 Helping to evangelistically restore low-risk methodologies
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB.  A list of members is available for inspection at
the registered office. Any reference to a partner in relation to
Halliwells LLP means a member of Halliwells LLP.  Regulated by The
Solicitors Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] Vertical Labels

2008-03-03 Thread linko27
How can I make vertical labels (text) in flex? The text should be fliped!



[flexcoders] Re: Vertical Labels

2008-03-03 Thread linko27
mx:Label rotation=90 text=thanks/


--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Monday 03 Mar 2008, linko27 wrote:
  Yes rotated!
 
 Make sure it's using an embedded font, and then use something like
the Rotate 
 effect or style.
 
 -- 
 Tom Chiverton
 Helping to continually scale professional data
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB.  A list of members is available for inspection at
the registered office. Any reference to a partner in relation to
Halliwells LLP means a member of Halliwells LLP.  Regulated by The
Solicitors Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] Re: BubbleChart bubble selection

2008-02-20 Thread linko27
Thanks for this tip - i testet it and it works this way!

Can you also tell me how to iterate over the chart items of a bubble
chart? I tried this several times, but without sucess!



--- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED]
wrote:

 here's an idea if you have a strongly typed domain model...
 
 1) create yourself a bubble item renderer
 2) override set data()
 3) add a transient variable to the objects in your domain model which
 are in the data provider 
 4) in the set data() override get the bubble renderer to put itself
 onto the domain object passed in from the dataprovider
 5) when selected in the grid, get the selectedItem and you should have
 the bubble item renderer
 6) change some property of the renderer to hilight it
 
 that's one way of doing it, I'm sure there are others.  You can
 probably iterate over some renderers collection on the chart looking
 for your data.
 
 --- In flexcoders@yahoogroups.com, linko27 linko27@ wrote:
 
  Hello!
  
  I've got a DataGrid and a BubbleChart using the same dataProvider.
  What I would like to do is when a row is selected in the grid,
  visually bring attention to the corresponding bubble - however I can't
  find a way to get at a particular bubble to make changes on it.
  
  Please help me!
 





[flexcoders] Datagrid item on rollOver

2008-02-20 Thread linko27
Hello!

Can someone please help me! I need to change a propperty of an item in
my datagrid on the rollOver event, but i just don't know how to get it.



[flexcoders] BubbleChart bubble selection

2008-02-19 Thread linko27
Hello!

I've got a DataGrid and a BubbleChart using the same dataProvider.
What I would like to do is when a row is selected in the grid,
visually bring attention to the corresponding bubble - however I can't
find a way to get at a particular bubble to make changes on it.

Please help me!