RE: [flexcoders] cell renderers

2006-06-27 Thread Joan Tan










CellRenderers in 2.0 are totally different
from 1.5. There is an entire chapter in the docs about cellRenderers and you
should find enough examples to get you started.

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Tredway
Sent: Tuesday, June 27, 2006 1:28
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cell
renderers



 







Is there
an example of doing cell renderers in 2.0 or is it the same as doing them in
1.5?

Thanks

-- 
diabetic? http://www.diabetesforums.com
Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that
need the advice. 






__._,_.___





--
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.



  






__,_._,___






[flexcoders] cell renderers

2006-06-27 Thread Clint Tredway



Is there an example of doing cell renderers in 2.0 or is it the same as doing them in 1.5?Thanks-- diabetic? http://www.diabetesforums.comBill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice.

__._,_.___





--
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] Cell Renderers: TreeGrid Renderer issue

2005-12-09 Thread Matt Chotin










Are you sure the image renderer is setting
the image source to null when you’re closing the row?  Maybe set the image
visibility to false too?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mohanraj Jayaraman
Sent: Friday, December 09, 2005
1:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cell
Renderers: TreeGrid Renderer issue



 

Hi All,

I am using a Tree Grid sample provided by James at

http://www.cayambe.com/plog/index.php?op=ViewArticle&articleId=6&blogId=1

It works fine as it is. But in my grid I had 2
more
columns and these columns have a simple
ImageRenderer
attached to it.

 
    
verticalAlign="middle"
width="700" height="500" 
 
     
   
  variableRowHeight="true" 
 
   
   
  rowHeight="50" 
 
   
   
  sortableColumns="false"
 
   
     
borderThickness="1"
 
   
     
borderColor="0x00"
 
   
     
selectable="true"
 
   
hGridLines="true"
 
   
   
  hGridLineColor="0xD2D2D2"
 
   
   
  headerHeight="40"
 
   
   
  headerStyle="headerText"
 
   
   
  >
 
   

 
     

 
   
  
headerText="Area"
  width="300" 
cellRenderer="TreeGridCellRenderer"/>
 
   
  
headerText="Stage"
   
  width="100"  
cellRenderer="ImageRenderer"/>
 
    
 
   
  
headerText="Stage2"
   
  width="100"  
cellRenderer="ImageRenderer"/>
 
     

 
   

 
    

When I open the TreeRow in the grid, Child rows
are
displayed and the images in Stage1 and Stage2 of
the
child rows are displayed correctly.

But when I close the TreeRow the child rows get
closed
but the images in the child rows still appear in
the
grid.

Can someone explain what I need to do in Renderers
to
make those images disappaer?

Thanks in advance
Mohan



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com









--
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.



  











[flexcoders] Cell Renderers: TreeGrid Renderer issue

2005-12-09 Thread Mohanraj Jayaraman
Hi All,
 
I am using a Tree Grid sample provided by James at

http://www.cayambe.com/plog/index.php?op=ViewArticle&articleId=6&blogId=1

It works fine as it is. But in my grid I had 2 more
columns and these columns have a simple ImageRenderer
attached to it.

  

  




  

  

When I open the TreeRow in the grid, Child rows are
displayed and the images in Stage1 and Stage2 of the
child rows are displayed correctly.

But when I close the TreeRow the child rows get closed
but the images in the child rows still appear in the
grid.

Can someone explain what I need to do in Renderers to
make those images disappaer?

Thanks in advance
Mohan



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/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] Cell Renderers: How to put 2 images in datagrid cell

2005-12-09 Thread Mohanraj Jayaraman
Thanks Philippe. That works.

--- Philippe Maegerman <[EMAIL PROTECTED]> wrote:

> you are putting both images on level 1, that could
> be a reason why they overwrite each other :)
> should be "image1", 1 / "image2", 2
>  
> Philippe
> 
> 
> 
> From: flexcoders@yahoogroups.com on behalf of
> Mohanraj Jayaraman
> Sent: Fri 9/12/2005 2:57
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Cell Renderers: How to put 2
> images in datagrid cell
> 
> 
> Hi All,
> 
> In my datagrid column I want to display 2 images in
> a
> datagrid  cell and sometimes only one.
> 
> I have an image Renderer which works fine if I am
> using only one image.
> 
> But when I have my second image 'image2' the first
> image is not getting displayed at all. I beleive the
> second image is overwriting the first one.
> 
> function createChildren(Void) : Void{
>   image = createClassObject( Image, "image", 1,
> {owner:this});
>   image2 = createClassObject( Image, "image2",
> 1,
> {owner:this});
> }
> 
> I want to attach 'click' events to these buttons as
> well.
> 
> 
> Can someone explain me what I doing wrong here and
> gimme tips to code this renderer? Would be great if
> you can provide sample code for the same.
> 
> Thanks in advance
> Mohan
> 
> 
> 
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 
> --
> 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
>
<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
>   Computer software development
>
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
>   Software design and development
>
<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
>   
> Macromedia flex
>
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
>   Software development best practice
>
<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
>   
> 
> 
> 
> YAHOO! GROUPS LINKS 
> 
> 
>   
> *  Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the
> web.
> 
> *  To unsubscribe from this group, send an email to:
>[EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]>
> 
> 
> *  Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> . 
> 
> 
> 
> 
> 
> 
>
--
> **STATEMENT OF CONFIDENTIALITY** 
> 
> This e-mail and any attached files are confidential
> and intended solely for the use of the individual to
> whom it is addressed. If you have received this
> email in error please send it back to the person
> that sent it to you. Any views or opinions presented
> are solely those of author and do not necessarily
> represent those the Emakina Company. Unauthorized
> publication, use, dissemination, forwarding,
> printing or copying of this email and its associated
> attachments is strictly prohibited.
> 
> We also inform you 

RE: [flexcoders] Cell Renderers: How to put 2 images in datagrid cell

2005-12-09 Thread Philippe Maegerman
you are putting both images on level 1, that could be a reason why they 
overwrite each other :)
should be "image1", 1 / "image2", 2
 
Philippe



From: flexcoders@yahoogroups.com on behalf of Mohanraj Jayaraman
Sent: Fri 9/12/2005 2:57
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cell Renderers: How to put 2 images in datagrid cell


Hi All,

In my datagrid column I want to display 2 images in a
datagrid  cell and sometimes only one.

I have an image Renderer which works fine if I am
using only one image.

But when I have my second image 'image2' the first
image is not getting displayed at all. I beleive the
second image is overwriting the first one.

function createChildren(Void) : Void{
  image = createClassObject( Image, "image", 1,
{owner:this});
  image2 = createClassObject( Image, "image2", 1,
{owner:this});
}

I want to attach 'click' events to these buttons as
well.


Can someone explain me what I doing wrong here and
gimme tips to code this renderer? Would be great if
you can provide sample code for the same.

Thanks in advance
Mohan







__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
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 
<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
 Computer software development 
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
 Software design and development 
<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
 
Macromedia flex 
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
 Software development best practice 
<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
   



YAHOO! GROUPS LINKS 



*Visit your group "flexcoders 
<http://groups.yahoo.com/group/flexcoders> " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 






--
**STATEMENT OF CONFIDENTIALITY** 

This e-mail and any attached files are confidential and intended solely for the 
use of the individual to whom it is addressed. If you have received this email 
in error please send it back to the person that sent it to you. Any views or 
opinions presented are solely those of author and do not necessarily represent 
those the Emakina Company. Unauthorized publication, use, dissemination, 
forwarding, printing or copying of this email and its associated attachments is 
strictly prohibited.

We also inform you that we have checked that this message does not contain any 
virus but we decline any responsability in case of any damage caused by an a 
non detected virus.
--



 Yahoo! Groups Sponsor ~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/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/
 
<>

[flexcoders] Cell Renderers: How to put 2 images in datagrid cell

2005-12-08 Thread Mohanraj Jayaraman
Hi All,

In my datagrid column I want to display 2 images in a
datagrid  cell and sometimes only one.

I have an image Renderer which works fine if I am
using only one image.

But when I have my second image 'image2' the first
image is not getting displayed at all. I beleive the
second image is overwriting the first one.

function createChildren(Void) : Void{
image = createClassObject( Image, "image", 1,
{owner:this});
image2 = createClassObject( Image, "image2", 1,
{owner:this});
}

I want to attach 'click' events to these buttons as
well.


Can someone explain me what I doing wrong here and
gimme tips to code this renderer? Would be great if
you can provide sample code for the same.

Thanks in advance
Mohan







__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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/