tags:

views:

17

answers:

1

Hi everybody
I recently tried hands on gxt and bumped on problem of adding widgets to custom made widgets as they didn't show any changes for newly added widgets(which I thought in base is gwt and gxt will inherit this feature). I tried different methods mentioned in javadoc but didn't worked at all so I'm looking for some solution/approach or links. Thanks in advance.
regards
la_89ondevg

A: 

What do you mean by adding a widget to a widget?? What kind of widget to what kind of widget?

TMoo
TMoo I think you must have put this in comment but let it be so I meant that how you will you display the widgets which are added while runtime/execution after the onRender() method already been executed for the customized gxt widget as even if you clear the widget and add something else still it not display the new one. One way for this is calling layout() method for your widget I am looking for any other available.
la89ondevg
in case you add a widget to a LayoutContainer (or subclass) take a look at setLayoutOnChange(true) -> http://www.sencha.com/gxtdocs/#com.extjs.gxt.ui.client.widget.LayoutContainer
TMoo