I just noticed that the MultiSelectionModel does not work on CellTable
which renders it pretty much useless. When I tested the
MultiSelectionModel I could have sworn it worked with CellTable.
Anyway, I wanted to know if the SelectionManager John mentioned
earlier will make it in 2.1.1?

On Oct 18, 7:39 pm, monkeyboy <[email protected]> wrote:
> Ok. Thanks for the info.
>
> On Oct 18, 8:31 pm, John LaBanca <[email protected]> wrote:
>
> > It won't be fixed for GWT 2.1.0.  We plan to add a SelectionManager that
> > gives you control over how user Selection updates the SelectionModel in a
> > future version.  In the meantime, you'll have to handle selection manually
> > in the Cell if you want custom selection support.
>
> > I know this isn't ideal, but implementing a SelectionManager will take some
> > time, and we don't want to rush more features into GWT 2.1.
>
> > Thanks,
> > John LaBanca
> > [email protected]
>
> > On Mon, Oct 18, 2010 at 2:23 PM, monkeyboy <[email protected]>wrote:
>
> > > 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
>
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to