Tuesday, February 19, 2013

Re: DataGrid - selection jumps onto the first entry on deletion?

Ah ok, that makes it much clearer. I found out that I can only delete a cell if I click it before. If I click it and use the keyboard to navigate away from it, I cannot delete it anymore.
Also on deleting of mouse-selected object, the keyboard focus seems to be set to the first element in the grid.

So, is there:
-a way to prevent this auto keyboard focus
-a way to link keyboard + mouse selection at one?

Am Dienstag, 19. Februar 2013 11:35:12 UTC+1 schrieb Jens:
DataGrid has two selections. In its default style darkblue is the selection stored in the selection model while a yellowish selection is the keyboard "selection" to let you know where you are while navigating with the keyboard.

Maybe you have defined the same color for both so you cant distinguish them anymore?

Also make sure your equals() method works correctly if you have overridden it.

-- J.

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment