[flexcoders] Re: Why is editable=true necessary to allow cellPress events (2.0)

2005-12-20 Thread yaagcur
Really?
I just checked my application
 editable=false clicking gets no action
 editable=true  clicking performs as required

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

 Its not required for editable=true to get cellPress events.
 
  
 
 - Joan
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of yaagcur
 Sent: Sunday, December 18, 2005 2:47 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Why is editable=true necessary to allow
 cellPress events (2.0)
 
  
 
 Or am I mistaken?
 
 No big deal but what is the common functionality
 
 
 
 
 
 
 
 --
 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=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ  
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw  
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw  
 
 Software development best practice
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice;
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=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/ . 
 
  
 
 







 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/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] Re: Why is editable=true necessary to allow cellPress events (2.0)

2005-12-20 Thread Sreejith Unnikrishnan
Open the livedocs ..
http://livedocs.macromedia.com/flex/15/asdocs_en/

Click on DataGrid
Scroll Down to the end of the page
Look at the second sample ...

I bet you didnt bother to check the docs first!


yaagcur wrote:

 Really?
 I just checked my application
 editable=false clicking gets no action
 editable=true  clicking performs as required

 --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:
 
  Its not required for editable=true to get cellPress events.
 
  
 
  - Joan
 




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/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] Re: Why is editable=true necessary to allow cellPress events (2.0)

2005-12-20 Thread yaagcur
Well not those docs certainly as I'm talking flex 2 (see title)

This appears more relevant
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp.htm?href=1531.html


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

 Open the livedocs ..
 http://livedocs.macromedia.com/flex/15/asdocs_en/
 
 Click on DataGrid
 Scroll Down to the end of the page
 Look at the second sample ...
 
 I bet you didnt bother to check the docs first!
 
 
 yaagcur wrote:
 
  Really?
  I just checked my application
  editable=false clicking gets no action
  editable=true  clicking performs as required
 
  --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:
  
   Its not required for editable=true to get cellPress events.
  
   
  
   - Joan
  






 Yahoo! Groups Sponsor ~-- 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/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] Re: Why is editable=true necessary to allow cellPress events (2.0)

2005-12-20 Thread Joan Tan
I tried the following simple dataGrid that is not editable and the
cellPress event is triggered. Are you seeing something different? If so,
please send the code along.

?xml version=1.0 encoding=iso-8859-1?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
creationComplete=initDG()

mx:Script
![CDATA[
function initDG()
{
myDataGrid1.dataProvider =
 [
   { Artist:'Pavement', Album:'Slanted and Enchanted' },
   { Artist:'Pavement', Album:'Crooked Rain, Crooked Rain'},
   { Artist:'Pavement', Album:'Wowee Zowee' },
   { Artist:'Pavement', Album:'Brighten the Corners' },
   { Artist:'Pavement', Album:'Terror Twilight'},
   { Artist:'Other', Album:'Other'}
 ];
 ti1.text = ;
}

private function doTest(event):void
{
ti1.text= event.type +  event Triggered;
}

]]
/mx:Script

mx:DataGrid id=myDataGrid1 cellPress=doTest(event)/
mx:TextInput id=ti1 /
/mx:Application

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yaagcur
Sent: Tuesday, December 20, 2005 3:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Why is editable=true necessary to allow
cellPress events (2.0)

Well not those docs certainly as I'm talking flex 2 (see title)

This appears more relevant
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp
.htm?href=1531.html


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

 Open the livedocs ..
 http://livedocs.macromedia.com/flex/15/asdocs_en/
 
 Click on DataGrid
 Scroll Down to the end of the page
 Look at the second sample ...
 
 I bet you didnt bother to check the docs first!
 
 
 yaagcur wrote:
 
  Really?
  I just checked my application
  editable=false clicking gets no action
  editable=true  clicking performs as required
 
  --- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:
  
   Its not required for editable=true to get cellPress events.
  
   
  
   - Joan
  







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



 




 Yahoo! Groups Sponsor ~-- 
AIDS in India: A lurking bomb. Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/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] Re: Why is editable=true necessary to allow cellPress events (2.0)

2005-12-20 Thread Sreejith Unnikrishnan






Yaagcur, sorry I
missed the '2.0'.

Joan, I dont think the code works for us. I tried the code that u sent.

Even after correcting some fatal errors that the builder throws up, the
cellPress event does not work. And it does work with 'editable' enabled.

It is possible that you are testing against a later build that we do
not have the luxury of.

Regards
Sree

Joan Tan wrote:

I tried the following simple dataGrid that is not editable and the
cellPress event is triggered. Are you seeing something different? If so,
please send the code along.
  
?xml version="1.0" encoding="iso-8859-1"?
mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"
creationComplete="initDG()"
  
mx:Script
![CDATA[
 function initDG()
 {
 myDataGrid1.dataProvider =
 [
 { Artist:'Pavement', Album:'Slanted and Enchanted' },
 { Artist:'Pavement', Album:'Crooked Rain, Crooked Rain'},
 { Artist:'Pavement', Album:'Wowee Zowee' },
 { Artist:'Pavement', Album:'Brighten the Corners' },
 { Artist:'Pavement', Album:'Terror Twilight'},
 { Artist:'Other', Album:'Other'}
 ];
 ti1.text = "";
 }
  
 private function doTest(event):void
 {
 ti1.text= event.type + " event Triggered";
 }
  
]]
/mx:Script
  
mx:DataGrid id="myDataGrid1" cellPress="doTest(event)"/
mx:TextInput id="ti1" /
/mx:Application
  
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of yaagcur
Sent: Tuesday, December 20, 2005 3:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Why is editable="true" necessary to allow
cellPress events (2.0)
  
Well not those docs certainly as I'm talking flex 2 (see title)
  
This appears more relevant
  http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/js/html/wwhelp
.htm?href="">
  
  
--- In flexcoders@yahoogroups.com, Sreejith Unnikrishnan
[EMAIL PROTECTED]
wrote:

 Open the livedocs ..
 http://livedocs.macromedia.com/flex/15/asdocs_en/
 
 Click on DataGrid
 Scroll Down to the end of the page
 Look at the second sample ...
 
 I bet you didnt bother to check the docs first!
 
 
 yaagcur wrote:
 
  Really?
  I just checked my application
  editable="false" clicking gets no action
  editable="true" clicking performs as required
 
  --- In flexcoders@yahoogroups.com, "Joan Tan"
[EMAIL PROTECTED] wrote:
  
   Its not required for editable="true" to get cellPress
events.
  
   
  
   - Joan
  

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



  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.