Understood, but is there a way to change the background color of my cell on 
a click?

If I give my cells an :active css style, the background color unfortunately 
changes as soon as the user clicks the cell. Rather I want it to only 
change color after a true click is complete.

Thank you

On Saturday, 8 September 2012 06:35:33 UTC-4, Thomas Broyer wrote:
>
>
>
> On Friday, September 7, 2012 8:51:44 PM UTC+2, markww wrote:
>>
>> Secondly, when the mouse is released, then I do get a visual change in 
>> the list, a row changes color like so:
>>
>>     http://cl.ly/image/1f3i0o2X2n3k
>>
>> but this is exactly what I want to prevent by using a NoSelectionModel 
>> strategy. My list doesn't have a concept of "selected". How can I prevent 
>> that visual state from happening after a click?
>>
>
> This is the "visual feedback"  for the "keyboard selected" row. In other 
> words, an accessibility feature (try using the up/down arrow keys to move 
> to another row, and then the enter key –or is it the space key?– to select 
> it, triggering the NoSelectionModel event handlers).
> You might be interested by the KeySelectionPolicy, but keep in mind the 
> implications on accessibility.
>

-- 
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/-/YxAamq7MabYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to