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, smisonl...@googlemail.com wrote:
> i try
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 th