I think you want getWidget(), not getText(). Cast the result to
TextBox (or perhaps HasText if you want something more generic) and
get the text from that.



On Sun, Jun 7, 2009 at 1:39 PM, abhiram <abhir...@gmail.com> wrote:
>
> Hi all,
>
>   I wanted to know if Scrolltable is a panel good enough to hold
> TextBox widgets.
>
>   I have created a ScrollTable (using gwt-incubator_1-5_Dec_28) with
> TextBoxes in a particular column and labels in other columns.
>  I can extract the label value using the function
> "scrollTable.getDataTable().getText(row,col)".
>
>  But i am not able to get the value at the TextBox using this
> function. It always returns null.
>
>  Am i missing something here? Is there any other way to get the value
> of the text in the textBox present at a particular cell?
>
>  PS : I am not using the TextBox array logic to get the data at the
> textBox because there are certain problems when i delete the row in
> the scrollTable.
>
> Regards,
> Abhiram
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to