Hi, I had a look at this and you will have to forgive my ignorance a bit but i can't work out how to pass the column to get the value still
eg. remoteobject.method(getCellIndex().itemIndex.columnName) returns undefined ?? --- In flexcoders@yahoogroups.com, "Philippe Maegerman" <[EMAIL PROTECTED]> wrote: > > getCellIndex().itemIndex > > ________________________________ > > From: flexcoders@yahoogroups.com on behalf of flexkinloch > Sent: Tue 22/11/2005 12:16 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] help with custom cell renderer (Flex 1.5) > > > Hi, > > i have a checkbox cellrenderer that on click i want to fire a > remoteobject request that passes one of the current datagrid rows > cell values as one of the arguments but cannot get it to work as the > current row is not selected. i need to be able to do one of two > things either access this value programmatically ie item.cellvalue or > programmatically set the current row. > so far i have had limited success with item.cellvalue in that when i > reference this in an if statement it will recognise the value. eg > > if(item.cellvalue == "5") > then go do something; > > but if i reference it like > > remoteobject.method(item.cellvalue) > > it returns undefined? > > i also thought of using listOwner but couldnt work out how to tell it > the current row, would listOwner.item.cellvalue work? > (im not at work to test, im at home being driven nuts by not being > able to resolve this:) > > any ideas? > > > > > > -- > 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=C omputer+software+development&w3=Software+design+and+development&w4=Mac romedia+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=M acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lv QjSRfQDfWudJSe1lLjHw> 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+soft ware+development&w3=Software+design+and+development&w4=Macromedia+flex &w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36 cYzBjw> Software development best practice <http://groups.yahoo.com/gads? t=ms&k=Software+development+best+practice&w1=Web+site+design+developme nt&w2=Computer+software+development&w3=Software+design+and+development &w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s ig=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:flexcoders- [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 --------------------~--> 1.2 million kids a year are victims of human trafficking. Stop slavery. http://us.click.yahoo.com/WpTY2A/izNLAA/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/