On 13 juil, 11:14, Amrin <[email protected]> wrote: > I have created a "search screen",where in i enter the values in the > textbox to search the person.Once i click on the search button, the > list of persons gets retrieved from the database and gets displayed on > the East of the dockLayoutPanel. The search form is on the West of the > dockLayoutPanel and this dockLayoutPanel is in a TabLayoutPanel. > Finally this tabLayoutPanel is attached to the RootPanel. > The problem that i m facing is that when i click on the search button, > the grid gets populated with the persons and the grid gets attached to > the west of the docklayoutpanel, but the buttons that i have used for > pagination purpose at the first row of the grid becomes non > clickable. > I am using the RootPanel to attach this grid on the East of the > docklayoutpanel.
Are you giving an explicit size to your layout panels? See http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Recipes (section titled "Using a LayoutPanel without RootLayoutPanel") > My second doubt is that, is there any problem in using rootpanel and > rootlayoutpanel together. Yes. The RootLayoutPanel will (almost) always appear on top of your RootPanel(s), and because it's transparent by default, you won't understand at first why your buttons in your RootPanel don't receive your clicks (it happened to a co-worker who didn't knew what RootLayoutPanel was and didn't try to understand, so he coded against RootPanel but left a call to RootLayoutPanel that I initially put in the proto app I gave him) -- 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.
