PDA

View Full Version : Grid without the blue selection?



eugenparaschiv
31 Aug 2008, 4:25 AM
How cam I remove the blue selection on a Grid? I'm not talkin about the ONMOUSEOVER selection, which is simple to remove:
grid.setTrackMouseOver(false);
but the actual ONCLICK selection (when you click on a cell, it turns blue);
So how do I remove that (preferably without branching the code, but if need be, I'll branch or extend).
The reason I want this is that I want to use the functionality of the Grid (data mapping for one) but what I actually want to do is use it a simple table for text. So I don't need any blue selections.
Thanks.

eugenparaschiv
1 Sep 2008, 6:13 AM
or at least an alternative for a simple table for text, but with data loading

eugenparaschiv
30 Sep 2008, 10:46 PM
I have found one possible answer to this:
grid.setSelectionModel(null);