You need to use

        setSelectionMode() instead of setSelectionModel()

The complete call would be

        
table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE);

Cheers,
Fritz

On Fri, 16 Apr 2010, [email protected] wrote:

> i try to change the selectionmodel  on a table  to select and deselct by
> clicking and not press STRG  too
>
>
> table1.setSelectionModel("MULTIPLE_INTERVAL_SELECTION_TOGGLE");
> table1.setSelectionModel(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE);
> table1.setSelectionModel(5);
>
> but the selection mdoel isnt changed.
>
> How can i do that?
>
> Thanks for any help.
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to