sorry, I have here 'n' number of checkboxes & only a single TextArea widget. If any one of these checkboxes gets checked, TextAreaWidget must be set enabled=true. If none of these checkboxes gets checked[Also initially], then TextAreaWidget must be set enabled=false[i.e., disabled]
Thanks for your reply. On Oct 22, 3:15 pm, Venkatesh Babu <[email protected]> wrote: > If you are having a scenario where in each cell of your flextable has the > checkbox + text input and you need to enable/disable the text input > depending on whether the checkbox in that cell is checked or not, then, you > can create a small widget containing checkbox+text input, and that widget > can handle the click events of checkbox to enable/disable the text input. > Your flex table can have different instances of that widget in each cell. > > Hope this helps. > > -Venkatesh > > On Thu, Oct 22, 2009 at 3:05 PM, Srihari.Ch <[email protected]> wrote: > > > Hi all, > > > I am new to gwt & i am using gwt1.5.3. > > I have 7x3 (=21) checkboxes arranged in a FlexTable[say, instance-name > > = myFlexTable]. I also have a TextArea widget[say, instance-name = > > myTextarea] within the same Flextable. > > > Now, I need to validate these widgets in such a way that, > > > If none of the CheckBox widgets is checked, then the TextArea widget > > must and should be DISABLED. > > If any one[atleast one] of the CheckBox widgets in the FlexTable is > > checked, then TextArea widget must and should be ENABLED > > > How to obtain this? > > I am newbie here.. > > > Please, can any post me the solution to my problem.... > > Waiting for your replies... > > > Thanks in advance... > > > Srihari.Ch --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
