getView is a method of the treePanel....
try with classical doLayout :) but i don't think it'll solve

2009/10/7 kilaru <[email protected]>

>
> Hi,
>
> i am using com.gwtext.client.widgets.Panel to add my widgets. and i am
> using GWT-Ext 2.0.5.
>
> i couldn't find any  getView() method in the GWT-Ext API. i can find
> this method only in GridPanel. but i am not using this.
>
>
>
> On Oct 7, 3:43 pm, ravi kanth <[email protected]> wrote:
> > Call getView().refresh() method of the panel where ur combo box resides.
> The
> > command should be like this.getView().refresh() in the panel. If this
> doesnt
> > solve your problem then paste your code
> >
> > On Wed, Oct 7, 2009 at 4:09 PM, kilaru <[email protected]>
> wrote:
> >
> > > hi,
> > >  i didn't found getView() in RootPanel
> >
> > > On Oct 7, 3:14 pm, ravi kanth <[email protected]> wrote:
> > > > Try refreshing the view. RootPanel.getView().refresh() should work
> >
> > > > On Wed, Oct 7, 2009 at 3:41 PM, kilaru <[email protected]>
> > > wrote:
> >
> > > > > Hi,
> >
> > > > >  i have same problem. i am getting some value from RPC. i want to
> set
> > > > > this to combo box. i have used
> >
> > > > > cb.setValue(value)  but, for me it is displaying the value as it is
> > > > > which i have set. but i want the corresponding displayfiled value
> of a
> > > > > store to be populated.
> >
> > > > > i am unable to solve this. please help me.
> >
> > > > > i found here that calling setValue(selectionId) will solve the
> > > > > problem. but how can i do that, if i want to set the value when
> some
> > > > > button is clicked and gets the value from server.
> >
> > > > > Thanks and Regards,
> > > > > kilaru
> >
> > > > > On Oct 3, 12:37 pm, Anton <[email protected]>
> wrote:
> > > > > > I just found the solution (at least it works for me):
> >
> > > > > > If I call the setValue(selectionId) inside the ComboBox (extended
> it)
> > > > > > it works, if I call cb.setValue(selectionId) from outside it is
> > > > > > ignored.
> >
> > > > > > I hope that helps if someone has the same problem...
> >
> > > > > > Thank you all for your help!
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to