开发者

Having a a large heading in coloumn headings using GWT

开发者 https://www.devze.com 2023-03-18 16:51 出处:网络
Im having trouble with writing coloumn names using a FlexTable in GWT my code is as follows: public class TemplateWebInterface implements EntryPoint

Im having trouble with writing coloumn names using a FlexTable in GWT my code is as follows:

public class TemplateWebInterface implements EntryPoint
{

      final protected FlexTable _templatesFlexTable  = createTable("Template Name", "Added", "Modified");

      public void onModuleLoad()
   { 
    _mainPanel.add(_templatesFlexTable);
    RootPanel.get().add(_mainPanel);

   }

}

So for "Template Name" I need it to come开发者_Go百科 out like

 Template <br /> Name

I hope the question is understandable, any help is appreciated.


FlexTable support setWidget as well as setHTML. You can use either of these for your headers.

0

精彩评论

暂无评论...
验证码 换一张
取 消