Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to add FlexTable or Paging Scrollable Table in a Dialog Box using GWT?

 
karthik shivkumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone faced the similar problem of not being able to add Table in a dialog box?? Or Am I missing something? I am not using any smartGwt or get-ext api.. Gwt 2.2.0 is the version being used.
 
karthik shivkumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I found the answer to the problem - the dialog box is not allowing the table to be added directly. Instead, the table should be added to a form and add the form to the dialog box. Problem solved.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can add any child to the DialogBox with setWidget or add. Your child can be a widget, composite or multiple children inside a container widget. Still works.
Why are you using a form? Or did you mean a parent container widget?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic