Hi All,

I am using FlexTable in a grid format to display text. I have a
situation like, the width of the particular column needs to be fixed.
And in that case, I need to show whatever text is fit into that width.
I dont want to use wordwrap, which inturn affects my layout. Or I dont
want to display the full lengthy text too.

I 've tried
[code]
FlexTable f1 = new FlexTable();

        f1.setText(0, 0, "This is a very long text");
        f1.setBorderWidth(2);
        f1.getCellFormatter().setWidth(0,0,"2px");
        f1.getCellFormatter().setWordWrap(0, 0, false);
[/code

In the above case, I set the wordwrap to false, but still I am getting
the wrapped text in the Flextable

Could anyone please suggest any ways to acheive this?

Thanks
Suren

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to