Interesting behaviour. Now I can add rows, remove rows, but when I try to
add rows again the table won't refresh.

Regards,

Néstor Boscán

2011/4/5 Néstor Boscán <[email protected]>

> Thanks a lot for that answer, and yes it does look ugly!!! But it will have
> to do.
>
> Regards,
>
> Néstor Boscán
>
>
> On Tue, Apr 5, 2011 at 4:31 PM, mike b <[email protected]> wrote:
>
>> We're having the same problem getting a CheckBoxCell to go from un-checked
>> to checked to un-checked...
>>
>> I can see in Firebug where the HTML input does NOT have "checked" in it,
>> but it still shows a checked box.
>>
>> This is what we had to do...  Its ugly but it works consistently.
>>
>>         actualList.remove(5);
>>         Scheduler.get().scheduleDeferred(new ScheduledCommand() {
>>
>>             @Override
>>             public void execute() {
>>                 cellTable.setRowData(new ArrayList<MyObject>());//set a
>> blank list here
>>             }
>>         });
>>
>> // let the browser catch up
>>         Scheduler.get().scheduleDeferred(new ScheduledCommand() {
>>
>>             @Override
>>             public void execute() {
>>                 cellTable.setRowData(actualList);  // not put the actual
>> list back into it
>>             }
>>         });
>>
>>
>> Good luck!
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to