Re: How to put same widget under multiple tabs in TabLayoutPanel?
thanks, this sound like an idea. On Apr 10, 8:07 am, Chad wrote: > One option would be to add a selection handler to the TabPanel and > when the tab changes remove the controls from the display and attach > them to the new tabs content. > > On Apr 8, 11:49 pm, enjoylife wrote: > > > I have a TabLayoutPanel with 3 tabs, each tab contain a table. I need > > to place a control panel above and below tables. All 3 tables will > > share same control panel. (panel is for selecting all rows in a table) > > > I am having problem getting this to work. > > > Here is code for tablayoutpanel with one tab. Anyone kow how I can > > have same control appear in 3 different tabs under a table? > > > > ui:field='tabPanel'> > > > > > > > > > > > styleName='{style.table}'/> > > > > > > > > > control panel > > > > > > > > > > > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to put same widget under multiple tabs in TabLayoutPanel?
One option would be to add a selection handler to the TabPanel and when the tab changes remove the controls from the display and attach them to the new tabs content. On Apr 8, 11:49 pm, enjoylife wrote: > I have a TabLayoutPanel with 3 tabs, each tab contain a table. I need > to place a control panel above and below tables. All 3 tables will > share same control panel. (panel is for selecting all rows in a table) > > I am having problem getting this to work. > > Here is code for tablayoutpanel with one tab. Anyone kow how I can > have same control appear in 3 different tabs under a table? > > ui:field='tabPanel'> > > > > > styleName='{style.table}'/> > > > > > control panel > > > > > > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to put same widget under multiple tabs in TabLayoutPanel?
I think the way to do what you want to do is to use a separate TabBar[1] and DeckPanel[2] I haven't done it myself, but I know that the TabLayoutPanel (and TabPanel) are both composed of these two objects. The TabBar is the actual set of tabs, and the DeckPanel is the set of widgets that get switched. Basically, I think what you'll have to do is just rewire them together, shouldn't be too tough. [1] http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/TabBar.html [2] http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/DeckPanel.html On Apr 8, 11:49 pm, enjoylife wrote: > I have a TabLayoutPanel with 3 tabs, each tab contain a table. I need > to place a control panel above and below tables. All 3 tables will > share same control panel. (panel is for selecting all rows in a table) > > I am having problem getting this to work. > > Here is code for tablayoutpanel with one tab. Anyone kow how I can > have same control appear in 3 different tabs under a table? > > ui:field='tabPanel'> > > > > > styleName='{style.table}'/> > > > > > control panel > > > > > > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to put same widget under multiple tabs in TabLayoutPanel?
I have a TabLayoutPanel with 3 tabs, each tab contain a table. I need to place a control panel above and below tables. All 3 tables will share same control panel. (panel is for selecting all rows in a table) I am having problem getting this to work. Here is code for tablayoutpanel with one tab. Anyone kow how I can have same control appear in 3 different tabs under a table? control panel Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.