Looks like the viewData is caching the result so redraw end up drawing the 
same state. You need to call checkboxCell.clearViewData(proxy) if the user 
cancel the update or alternatively you can extends CheckboxCell to not use 
viewData. Not sure wich one is worst :).

My example 
here: 
https://github.com/ibaca/gwt-editable-tables/blob/master/src/main/java/editabletables/celltable/EditableCellTable.java
But the showcase example is more aggressive and always redraw the 
table: 
https://github.com/epuidokas/gwt-2.4/blob/master/user/javadoc/com/google/gwt/examples/cellview/CellTableFieldUpdaterExampleComplex.java

On Monday, April 20, 2015 at 4:45:01 PM UTC+2, andymel wrote:
>
> Let me simplify my question.
>
> How can I update the rows that have changed? When I delete a complete 
> entry/row 
> table.setVisibleRangeAndClearData(table.getVisibleRange(), true);
> works perfectly fine. But if the entries are not changed the checkbox is 
> not changed back by that line of code. When I reload the page (pressing F5) 
> all data is right again.
>
>    1. I have some rows/entries with a checkbox/boolean
>    2. I click it
>    3. A dialog opens asking me "really?"
>    4. I say "no"
>    5. The checkbox should be unchecked again
>
> Any advice?
> Best regards!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to