Hi,

I'm trying to implement a CellList. It works ok, but when I click an item, 
it seems like all other items in the list are destroyed, and I'm left with 
the clicked item in the upper left corner of the screen. Here's my setup:

    CellList list = new CellList<Foo>(cell);
    list.setPageSize(30);
    list.setRowData(mFoos);
    list.setWidth("100%"); 
    list.setHeight("100%");

    SingleSelectionModel<Foo> selectionModel = new 
SingleSelectionModel<Foo>();
    selectionModel.addSelectionChangeHandler(new 
SelectionChangeEvent.Handler() {
        @Override
        public void onSelectionChange(SelectionChangeEvent event) {
}
    });
    list.setSelectionModel(selectionModel);
    VerticalPanel panel = new VerticalPanel();
    panel.add(list);

any idea why this is happening? I don't have anything happening in my 
selectionModel instance, it's empty. So I'm not driving any UI changes as a 
result of the click. Is it supposed to behave like that?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Q--moAh91n8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to