Friday, October 25, 2013

DataGrid: How to refresh a single cell ?

hi,

I have to refresh the content of 2 columns in a DataGrid, when the user clicks into an editable cell (EditTextCell) in another column.
My current solution is when onBrowserEvent of EditTextCell handles the click event, I update  the data model and let the dataProvider of the grid refresh the grid. But this removes the focus from the current EditTextCell as well, making the cell not editable at all.

Can I refresh a column or a single cell without refreshing the whole row? Would it be a good idea to use JSNI to update a cell in this case?

TIA
kibu

--
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+unsubscribe@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/groups/opt_out.

No comments:

Post a Comment