Try this:
getElement().setAttribute("wrap","off");
On Dec 7, 11:58 pm, Vikas <[email protected]> wrote:
> Hi All,
>
> I want to disable word wrap for TextArea, so if text info in a row
> exceeds, it should enable horizontal scroll bar.
> How to do this?
>
> Thanks in advance,
> Vikas
--
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.