This issue still isn't fixed (svn version 9090). Will it make it for 2.1.0?
On Sep 21, 4:01 pm, monkeyboy <[email protected]> wrote: > Thanks John for the quick response. How can I monitor this issue, I > mean how can I tell when it is solved cause I need this feature real > soon. I assume it will surely be solved before 2.1 final release. > > On Sep 21, 3:39 pm, John LaBanca <[email protected]> wrote: > > > We have a TODO in the code to fix this. When we add ctrl/shift+click > > support, we can fix the issue. > > > Thanks, > > John LaBanca > > [email protected] > > > On Tue, Sep 21, 2010 at 3:56 AM, monkeyboy <[email protected]>wrote: > > > > If the MultiSelectionModel is used as a selection model for a CellList > > > items can only be selected but they can not be deselected. I found > > > this in svn 8815. The way to reproduce the bug is to replace the > > > following code in CwCellList from the showcase example: > > > // Add a selection model so we can select cells. > > > final SingleSelectionModel<ContactInfo> selectionModel = new > > > > SingleSelectionModel<ContactInfo>(ContactDatabase.ContactInfo.KEY_PROVIDER); > > > cellList.setSelectionModel(selectionModel); > > > selectionModel.addSelectionChangeHandler( > > > new SelectionChangeEvent.Handler() { > > > public void onSelectionChange(SelectionChangeEvent event) { > > > contactForm.setContact(selectionModel.getSelectedObject()); > > > } > > > }); > > > > with the following code: > > > > // Add a selection model so we can select cells. > > > final MultiSelectionModel<ContactInfo> selectionModel = new > > > MultiSelectionModel<ContactInfo>(ContactDatabase.ContactInfo.KEY_PROVIDER); > > > cellList.setSelectionModel(selectionModel); > > > //selectionModel.addSelectionChangeHandler( > > > // new SelectionChangeEvent.Handler() { > > > // public void onSelectionChange(SelectionChangeEvent event) { > > > // contactForm.setContact(selectionModel.getSelectedObject()); > > > // } > > > // }); > > > > -- > > >http://groups.google.com/group/Google-Web-Toolkit-Contributors > > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
