Friday, September 5, 2014

SingleSelectionModel and ButtonCell issue

Hi,

I have a DataGrid with SingleSelectionModel and one of the columns has a ButtonCell. The problem is that when user clicks on the button on the row which is not selected the action on the ButtonCell is not triggered, but the row becomes selected. The valueUpdater.update() is triggered only if the row is already selected.

Does anybody know how to invoke valueUpdater on the row which is not selected. I've already tried to set DefaultSelectionEventManager.createBlacklistManager(<column index>) on the grid, but this has no effect.

Thanks.

--
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/d/optout.

No comments:

Post a Comment