2012/2/1 Nagaev Boris <bnag...@gmail.com>

> Hi,
>
>
> http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WAbstractItemDelegate.html
>
> Iinherit from WAbstractItemDelegate and set that class using
> setItemDelegate().
> By default, WItemDelegate is used, which provides default editing
> support using a line edit.
> Look through WItemDelegate and create a class for e.g. combobox.
>

Boris, thanks a lot for your help.
Your answer helped me to find the code in the charts example that
illustrates how to use WItemDelegate.

I'll add a combobox later, but I am quite sure that with your information I
can manage to get that going.

Thanks again, Frans

>
>
> Moreover, the column of the model is to be ItemIsEditable to allow editing.
>
> http://www.webtoolkit.eu/wt/doc/reference/html/group__modelview.html#ga1d77c4de293aebfacbdde124de06b8b0
>
> On Thu, Feb 2, 2012 at 01:47, Frans Meulenbroeks
> <fransmeulenbro...@gmail.com> wrote:
> > Hi,
> >
> > A n00bish questions:
> >
> > I am creating a treeview, but now I need a few of the fields in the
> treeview
> > to be editable.
> > I've peeked at the treeview example and know how to do an icon or a
> > checkbox, but I have not really an idea how to do a combobox or another
> form
> > widget (apart from combobox, I probably need line-edit and/or
> inplaceedit).
> > Any suggestions or pointers to an example?
> > Or is there another way to (easily) achieve what I want?
> >
> > Thanks alot for your help.
> > Frans.
> >
> >
> >
> ------------------------------------------------------------------------------
> > Keep Your Developer Skills Current with LearnDevNow!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-d2d
> > _______________________________________________
> > witty-interest mailing list
> > witty-interest@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/witty-interest
> >
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to