Re: Interesting question:how can I get the rownumber of a cell that contain a button when I click this ?
Thank you for you guys,From every begining,I think this can be done by Dom or JSNI,but right now I think alex.d's solution is good. On Dec 2, 11:15 pm, rakesh wagh <[EMAIL PROTECTED]> wrote: > Are you quizzing us or asking for help? I would go with alex.d 's > solution. > > Other method(which I personally hate) is to write a for loop in the > onClick event of the button that will read the widget in each r,c and > match it with the "sender" or button instance itself. > > Rakesh Wagh > > On Dec 1, 7:24 pm, Alex Luya <[EMAIL PROTECTED]> wrote: > > > Remember: no pre-condition,no external variable that defined > > the location of this button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Interesting question:how can I get the rownumber of a cell that contain a button when I click this ?
Are you quizzing us or asking for help? I would go with alex.d 's solution. Other method(which I personally hate) is to write a for loop in the onClick event of the button that will read the widget in each r,c and match it with the "sender" or button instance itself. Rakesh Wagh On Dec 1, 7:24 pm, Alex Luya <[EMAIL PROTECTED]> wrote: > Remember: no pre-condition,no external variable that defined > the location of this button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Interesting question:how can I get the rownumber of a cell that contain a button when I click this ?
I think i can imagine what Alex meant: the answer is - the easiest way is to extend Button-class to save the row number while initialising the table. Not sure if this falls under "no pre-condition". On 2 Dez., 13:22, mon3y <[EMAIL PROTECTED]> wrote: > Clap your hands if you think we need more info!!! > > On Dec 2, 3:24 am, Alex Luya <[EMAIL PROTECTED]> wrote: > > > Remember: no pre-condition,no external variable that defined > > the location of this button. > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Interesting question:how can I get the rownumber of a cell that contain a button when I click this ?
Clap your hands if you think we need more info!!! On Dec 2, 3:24 am, Alex Luya <[EMAIL PROTECTED]> wrote: > Remember: no pre-condition,no external variable that defined > the location of this button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Interesting question:how can I get the rownumber of a cell that contain a button when I click this ?
Remember: no pre-condition,no external variable that defined the location of this button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---