Is it giving you a ClassCastException or something? Make sure you're getting the right index and what's in that index is actually a LayoutContainer. Other than that, it looks fine. LayoutContainer extends GWT's Widget in GXT so that's a valid downward cast.
On Aug 9, 7:55 am, Nandha Griantek <[email protected]> wrote: > Hi have a problem while type cast > > see this code > > LayoutContainer chcontainer = > (LayoutContainer)containerAll.getWidget(index); > > here container returns the Widget -- 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.
