The intersection of technology and leadership

Selectable text with SmartGWT

One of the interesting side effects of using SmartGWT is losing the ability for people to select text on the page. SmartGWT has some pretty nifty widgets and the one to use when you want text selectable is HTMLPane. Be careful not to confuse this with GWT’s own HTMLPanel

1 Comment

  1. stanleyxu2005

    you can simply add the one line code to accomplish this:
    yourWidget.setCanSelectText(true);

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 patkua@work

Theme by Anders NorenUp ↑