Not sure if you can re-render cells in isolation, but you should be able to 
get it to redraw individual rows rather than the whole table. Try replacing 
the updated item with itself in the DataProvider (e.g. if using a 
ListDataProvider by calling set(index, item) on the underlying List, or if 
using an AsyncDataProvider by calling updateRowData on the dataprovider 
passing in a singleton list containing just the updated item). 
Alternatively you can try calling setRowData() on the DataGrid itself.


On Thursday, 16 August 2012 13:10:34 UTC+1, Matthew Pocock wrote:
>
> Hi,
>
> I'm using DataGrid with some grids that get quite large. Individual cell 
> values alter independently of each other due to events coming into the 
> application over comet. At the moment, to display the new value I have to 
> call table.redraw(). This is very inefficient when the table has a lot of 
> columns - there can be a delay of several seconds while the whole table is 
> rendered. Is it possible to tell a datagrid that a particular cell needs 
> redrawing?
>
> Thanks,
>
> Matthew
>
> -- 
> Dr Matthew Pocock
> Integrative Bioinformatics Group, School of Computing Science, Newcastle 
> University
> mailto: [email protected] <javascript:>
> gchat: [email protected] <javascript:>
> msn: [email protected] <javascript:>
> irc.freenode.net: drdozer
> skype: matthew.pocock
> tel: (0191) 2566550
> mob: +447535664143
>
>  

-- 
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/-/n_AmUc82B6cJ.
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