Hey David,

2009/1/30 David Galicia <[email protected]>:
> A newbie question: Is Ext::ComboBox::setModel() suppose to change and update
> an item model like Ext::TableView::setModel()? I tried to do this for Wt
> 2.2.2 but it changes/updates the model only once, not multiple times like
> Ext::TableView. I haven't tried the new version of Wt though. My program

It's a bug, I have fixed it now in CVS.

> makes changes to an item model and I would like the widget to reflect that.
> I can always find a work-around though. =|

Changes to a model are automatically reflected in views, you do not
need to reset the model in a view.

You should use setModel() only to use a different model.

> BTW, Wt's documentation is awesome and the api is sexy to use!

You should see the code! :-)

koen

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to