Hi,

I have a celltable with several columns, one of them holds CheckboxCell
´s. Additional I use a SingleSelectionModel for that celltable. The
CheckboxCell column should be independent from the
SingleSelectionModel. The user should be able to check more that one
checkbox and select only one row via mouse click or keyboard. That's
why I Instantiate them as follows:

celltable.setSelectionModel(new
SingleSelectionModel<MyDomainObject>());
Column<MyDomainObject, Boolean> selCol = new Column<MyDomainObject,
Boolean>(new CheckboxCell()) {
   ...
};

selCol.setFieldUpdater(new FieldUpdater<MyDomainObject, Boolean>() {
   ...
});

celltablekurzansicht.addColumn(selCol, "Select");



I chrome everything works as planned, the user can check several
checkboxes. After a Checkbox is clicked, row is selected, status
changed and setFieldUpdater is called.

In firefox 3.6 - 4.0 and ie7 the user can check several checkboxes,
too, but only after two clicks. After the 1st click the row will only
be selected. Only the 2nd click on a selected row will change the
status and call setFieldUpdater.


I hope someone can bring light into the darkness and help me to
achieve the chrome behaviour in firefox (from 3.6) and ie7, too.


thx in advance!
bb.f.pav

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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