RE: [flexcoders] Problem with repeater and image ???

2007-09-16 Thread Tracy Spratt
Use a custom component for the repeated view, it simplifies things like
this.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Sunday, September 16, 2007 12:14 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem with repeater and image ???

 

Target is the dispatcher, which is the loader of the image.  Try
currentTarget, or use rptFoto.getRepeaterItem

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Saturday, September 15, 2007 8:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with repeater and image ???

 

Helo everybody...

I having problems to try get repearter item when user click on image.

This is my code for repeater:
mx:Repeater id=rptFoto dataProvider={objSelectedEquip.thumbs}
mx:HBox
mx:Image 
source={rptFoto.currentItem} 
buttonMode=true
useHandCursor=true
toolTip=Vizualizar
click=exibirImagem(event)/
mx:Button label=Alterar click=exibirImagem(event) / 
/mx:HBox 
/mx:Repeater

When user click on button or image this function is called:

private function exibirImagem(event:MouseEvent):void{

var image:String = event.target.getRepearterItem();
var imgUrl:URLRequest = new
URLRequest(Funcoes.getImageFromThumb(image));
navigateToURL(imgUrl,_blank);
}

When user click on button everything work, but whe click image this
error is dispatched Property getRepeaterItem not found on
mx.core.FlexLoader and there is no default value. , anyone know some
way to fix this?

Thanks.

 



RE: [flexcoders] Problem with repeater and image ???

2007-09-15 Thread Alex Harui
Target is the dispatcher, which is the loader of the image.  Try
currentTarget, or use rptFoto.getRepeaterItem

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of danielvlopes
Sent: Saturday, September 15, 2007 8:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with repeater and image ???

 

Helo everybody...

I having problems to try get repearter item when user click on image.

This is my code for repeater:
mx:Repeater id=rptFoto dataProvider={objSelectedEquip.thumbs}
mx:HBox
mx:Image 
source={rptFoto.currentItem} 
buttonMode=true
useHandCursor=true
toolTip=Vizualizar
click=exibirImagem(event)/
mx:Button label=Alterar click=exibirImagem(event) / 
/mx:HBox 
/mx:Repeater

When user click on button or image this function is called:

private function exibirImagem(event:MouseEvent):void{

var image:String = event.target.getRepearterItem();
var imgUrl:URLRequest = new
URLRequest(Funcoes.getImageFromThumb(image));
navigateToURL(imgUrl,_blank);
}

When user click on button everything work, but whe click image this
error is dispatched Property getRepeaterItem not found on
mx.core.FlexLoader and there is no default value. , anyone know some
way to fix this?

Thanks.

 



RE: [flexcoders] Problem with Repeater

2006-02-22 Thread Richard Schutten





Hi 
Matt,

It 
works for my example, but when i'm using two nested Repeaters i'm in trouble 
again. See my example code:

mx:Model id="test"
 
result
 
item
 
nameItem 1/name

subitem
 
nameSubitem 1/name
/subitem
 
/item
 
/result
/mx:Model
mx:ArrayCollection id="testAC" 
source="{mx.utils.ArrayUtil.toArray(test.item)}"/mx:VBox 
mx:Repeater id="rep" 
dataProvider="{testAC}" 
mx:Label 
text="{rep.currentItem.name}"/ 
mx:HBox 
 mx:Repeater id="rep2" 
dataProvider="{rep.currentItem.subitem}" 
 mx:Label 
text="{rep2.currentItem.name}"/ 
 
/mx:Repeater 
/mx:HBox 
/mx:Repeater/mx:VBox

The 
same problem i don't get the subitems only if i use more 
subitems!
Must i 
use two ArrayCollections?

Richard

Thanx!
-Original 
Message-From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED]On Behalf Of Matt 
ChotinSent: Wednesday, February 22, 2006 6:45 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with 
Repeater
You need to use 
  mx.utils.ArrayUtil.toArray().Matt-Original 
  Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] OnBehalf Of Richard SchuttenSent: 
  Tuesday, February 21, 2006 6:40 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Problem with 
  RepeaterHi there,I'm using Flex 2.0 Beta 1 and having a 
  problem with using a Model asdataProvider for the Repeater.I entered 
  an example code beneath:mx:Model 
  id="test" 
  result 
   itemItem 
  1/item 
  /result/mx:Modelmx:VBox 
  mx:Repeater id="rep" 
  dataProvider="{test.result.item}" 
   mx:Label 
  text="{rep.currentItem}"/ 
  /mx:Repeater/mx:VBoxWhen the model contains one 
  item, this code will not run. Using moreitemssee 
  code:mx:Model id="test" 
  result 
   itemItem 
  1/item 
   itemItem 
  2/item 
   itemItem 
  3/item 
  /result/mx:ModelAnd it will run 
  correctly!As i read in the documentation the Repeater can be used for 
  one or morecomponents.Does anyone know what's 
  wrong?Greetings,Richard--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Problem with Repeater

2006-02-22 Thread Matt Chotin










Yeah, use the ArrayUtil for
rep.currentItem.subitem as well.











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Richard Schutten
Sent: Wednesday, February 22, 2006
1:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem
with Repeater







Hi Matt,











It works for my example, but when i'm
using two nested Repeaters i'm in trouble again. See my example code:











mx:Model id=test





 result






item






nameItem 1/name







subitem






nameSubitem 1/name





/subitem






/item





 /result







/mx:Model






mx:ArrayCollection id=testAC
source={mx.utils.ArrayUtil.toArray(test.item)}/

mx:VBox
 mx:Repeater id=rep
dataProvider={testAC}

mx:Label text={rep.currentItem.name}/

mx:HBox

 mx:Repeater id=rep2
dataProvider={rep.currentItem.subitem}

 mx:Label
text={rep2.currentItem.name}/

 /mx:Repeater

/mx:HBox
 /mx:Repeater
/mx:VBox











The same problem i don't get the subitems only
if i use more subitems!





Must i use two ArrayCollections?











Richard











Thanx!





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf
Of Matt Chotin
Sent: Wednesday, February 22, 2006
6:45 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem
with Repeater





You need to use
mx.utils.ArrayUtil.toArray().

Matt

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Richard Schutten
Sent: Tuesday, February 21, 2006 6:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with Repeater

Hi there,

I'm using Flex 2.0 Beta 1 and having a problem
with using a Model as
dataProvider for the Repeater.
I entered an example code beneath:

mx:Model id=test
 result

 itemItem 1/item
 /result
/mx:Model

mx:VBox
 mx:Repeater
id=rep dataProvider={test.result.item}

 mx:Label
text={rep.currentItem}/

/mx:Repeater
/mx:VBox

When the model contains one item, this code will
not run. Using more
items
see code:

mx:Model id=test
 result

 itemItem 1/item

 itemItem 2/item

 itemItem 3/item
 /result
/mx:Model

And it will run correctly!

As i read in the documentation the Repeater can be
used for one or more
components.

Does anyone know what's wrong?


Greetings,

Richard



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

Yahoo! Groups Links














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Problem with Repeater

2006-02-21 Thread Matt Chotin
You need to use mx.utils.ArrayUtil.toArray().

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Schutten
Sent: Tuesday, February 21, 2006 6:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with Repeater

Hi there,

I'm using Flex 2.0 Beta 1 and having a problem with using a Model as
dataProvider for the Repeater.
I entered an example code beneath:

mx:Model id=test
result
itemItem 1/item
/result
/mx:Model

mx:VBox
mx:Repeater id=rep dataProvider={test.result.item}
mx:Label text={rep.currentItem}/
/mx:Repeater
/mx:VBox

When the model contains one item, this code will not run. Using more
items
see code:

mx:Model id=test
result
itemItem 1/item
itemItem 2/item
itemItem 3/item
/result
/mx:Model

And it will run correctly!

As i read in the documentation the Repeater can be used for one or more
components.

Does anyone know what's wrong?


Greetings,

Richard



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] problem with repeater displaying only one record

2005-11-14 Thread Paolo Bernardini



Has anyone had a chance to take a look at it?
2005/11/10, Paolo Bernardini [EMAIL PROTECTED]:
I was testing a simple application to see if it was possible to havea custom cellRenderer that displays multple rows of data depending
on the dataProvider's value. Then setting variableRowHeight=trueon the dataGrid that uses the cellRenderer I wanted to see if therowHeight was adjusting to the height of the cellRenderer.It did, but then I've noticed to problem. I'll attach the source
code to make myself clearer.Application code:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
 mx:Model id=myDP item num=1 fname=Christinaemail=[EMAIL PROTECTED] state=MA status=active
 multiRows label=one/ multiRows label=two/ multiRows label=three/ multiRows2 label=three/
 /item item num=2 fname=Louis email=[EMAIL PROTECTED]state=FL status=active
 multiRows label=one/ multiRows2 label=three/ /item item num=3 fname=Bob email=
[EMAIL PROTECTED]state=CA status=active multiRows label=one/ multiRows label=two/
 multiRows2 label=three/ multiRows2 label=three/ multiRows2 label=three/ /item item num=3 fname=Bob email=
[EMAIL PROTECTED]state=CA status=active multiRows label=one/ multiRows label=two/
 multiRows label=three/ multiRows label=four/ multiRows2 label=three/ multiRows2 label=three/
 /item /mx:Model mx:DataGrid id=dg1 dataProvider={myDP.item}editable=false hScrollPolicy=off variableRowHeight=true
width=50% height=100% verticalAlign=top hGridLines=truehGridLineColor=#00 mx:columns mx:Array mx:DataGridColumn columnName=num headerText=num/
 mx:DataGridColumn columnName=fname headerText=name/ mx:DataGridColumn columnName=email headerText=Email/ mx:DataGridColumn columnName=state headerText=State/
 mx:DataGridColumn columnName=statusheaderText=Status/ mx:DataGridColumn columnName=multiRowsheaderText=multiRows cellRenderer=ManyLabels/
 mx:DataGridColumn columnName=multiRows2headerText=multiRows2 cellRenderer=ManyLabels/ /mx:Array /mx:columns /mx:DataGrid
/mx:ApplicationCellRenderer code:?xml version=1.0 encoding=utf-8?mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml
borderStyle=nonebackgroundAlpha=0marginLeft=0 marginRight=0 horizontalAlign=center mx:Script![CDATA[var listOwner : MovieClip;
var getCellIndex : Function;var getDataLabel : Function;var isCellEditor : Boolean = true;function setValue(str:String, item:Object, sel:Boolean) : Void{ if (item[getDataLabel()] == undefined) {
 this.visible = false; } else { this.visible = true; rp.dataProvider = item[getDataLabel()]; }}]]/mx:Script mx:Repeater id=rp
 mx:Label text={rp.currentItem.label} / /mx:Repeater /mx:VBoxNow the main problem is that if in the model I have only one item asdata for the repeater that value dosem't show.
The other issue is that when I roll over the cell that uses theCellRenderer I notice a very annoying flicker. Yahoo! Groups Sponsor ~--
Most low income households are not online. Help bridge the digital divide today!http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Problem with repeater and datagrid -- Please help!

2005-10-14 Thread Manish Jethani
On 10/14/05, Parekh, Shweta - BLS CTR [EMAIL PROTECTED] wrote:

 1. Are there global variables in Flex so that I can take the result from
 remote call in a global variable and then use it anywhere -- in my case in
 the child component?

You can save the result in the application and then refer to it from
child components using the expression parentApplication.myResult
(can even bind to it I guess).


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Problem with repeater and datagrid -- Please help!

2005-10-14 Thread Mink, Joseph





Or you can create a static actionscript class with a 
private member. Set that member, and then everyone who accesses the static 
class will get the same value for that static member:

class StaticClass
{
 public static var theValue;
}

...

StaticClass.theValue = something;

...

if (StaticClass.theValue == something)
...

Does that help?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Manish 
JethaniSent: Friday, October 14, 2005 12:27 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with 
repeater and datagrid -- Please help!
On 10/14/05, Parekh, Shweta - BLS CTR 
[EMAIL PROTECTED] wrote: 1. Are there global variables 
in Flex so that I can take the result from remote call in a global 
variable and then use it anywhere -- in my case in the child 
component?You can save the result in the application and then refer to 
it fromchild components using the _expression_ 
"parentApplication.myResult"(can even bind to it I guess).





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Problem with repeater and datagrid -- Please help!

2005-10-14 Thread Parekh, Shweta - BLS CTR
Title: Message





So 
then two mxml files will be accessing the same actionscript. In one mxml, the 
member is set and the other mxml accesses the member. That might work for me. 
But can two mxml files access the same actionscript?

-Shweta

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Mink, JosephSent: Friday, October 14, 2005 1:18 
  PMTo: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Problem with repeater and datagrid -- Please 
  help!
  Or you can create a static actionscript class with a 
  private member. Set that member, and then everyone who accesses the 
  static class will get the same value for that static 
  member:
  
  class StaticClass
  {
   public static var theValue;
  }
  
  ...
  
  StaticClass.theValue = something;
  
  ...
  
  if (StaticClass.theValue == 
something)
  ...
  
  Does that help?
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Manish 
  JethaniSent: Friday, October 14, 2005 12:27 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with 
  repeater and datagrid -- Please help!
  On 10/14/05, Parekh, Shweta - BLS CTR 
  [EMAIL PROTECTED] wrote: 1. Are there global variables 
  in Flex so that I can take the result from remote call in a global 
  variable and then use it anywhere -- in my case in the child 
  component?You can save the result in the application and then refer to 
  it fromchild components using the _expression_ 
  "parentApplication.myResult"(can even bind to it I guess).





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Problem with repeater and datagrid -- Please help!

2005-10-14 Thread Manish Jethani
On 10/14/05, Parekh, Shweta - BLS CTR [EMAIL PROTECTED] wrote:

 So then two mxml files will be accessing the same actionscript. In one mxml,
 the member is set and the other mxml accesses the member. That might work
 for me. But can two mxml files access the same actionscript?

This is the structure of the objects in your application:

  main.mxml
-- component1.mxml
-- component2.mxml
...

component1 can access the public properties in main using
parentApplication/parentDocument


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






RE: [flexcoders] Problem with Repeater.

2005-01-31 Thread Dirk Eismann
Hi,

welcome on board.

You may get performance problems with DataGrids placed inside a Repeater tag. 
Probably a better solution would be to use mx.controls.List components for your 
calendar. You may also want to take a look into the CellRenderer API - cell 
renderers give you a very high level of control on cells inside list based 
controls. 

Dirk. 

 -Original Message-
 From: Michael Hnat [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 31, 2005 4:01 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Problem with Repeater.
 
 
 
 Hi,
 
 I (newbie) have to code a calenderview like outlook. Several 
 Days must be
 displayed. My first idea was using on DataGrid with multiple 
 Columns. But
 I've problems with dragging elements from one day to an 
 other. My next idea
 was using multiple DataGrids with one Column. Both ideas have 
 the problem to
 display more than one appointment at one time (like Outlook). 
 Does anybody have a better idea to solve this problem or a 
 ready component?
 
 My example with multiple DataGrids (see below) is not 
 displaying the correct
 headerText. It should be a value from the dp:Array. It works for the
 mx:Label, but not for the mx:DataGridColumn. What am I doing wrond?
 
 Thanks for your help,
 Michael Hnat
 
 - code -
 ?xml version=1.0?
 mx:Application 
 xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
 backgroundColor=#FF
 mx:Script 
 ![CDATA[
 var dp:Array = [{name:1},{name:2}, {name:3},
 {name:4}, {name:5}];
 var initDG:Array = [{ Day:'06:00'}, { 
 Day:'07:00'},
 { Day:'08:00'}, { Day:'09:00'}];
 ]]
 /mx:Script
 mx:Panel title=Repeater Panel
 mx:HBox
 mx:Repeater id=rp dataProvider={dp}
 recycleChildren=true
 mx:Label text={rp.currentItem.name} /
 mx:DataGrid id=dg2 dataProvider={initDG}
 editable=true
 mx:columns
 mx:Array
 mx:DataGridColumn
 headerText={rp.currentItem.name} columnName=Day width=100/
 /mx:Array
 /mx:columns
 /mx:DataGrid
 /mx:Repeater
 /mx:HBox
 /mx:Panel  
 /mx:Application
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 




Re: [flexcoders] Problem with Repeater.

2005-01-31 Thread Manish Jethani
Michael Hnat wrote:
My example with multiple DataGrids (see below) is not displaying the correct
headerText. It should be a value from the dp:Array.
Indeed it does. I tried your code on my Flex installation.
Manish