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 <nandhagr...@gmail.com> 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 google-web-toolkit@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.