how to remove a style from a previously selected row in a gwt grid

152 views Asked by At

I want to remove a style from a previously selected row of a gwt DataGrid when clicked on a new row. Im able to do it by redrawing the grid, is it possible to do it without redrawing the grid.

1

There are 1 answers

2
Manolo Carrasco Moñino On BEST ANSWER

You can do that with gwtquery, just capture the event and use gquery to select the element in the dom you want to modify using css3 selectors.

If you put some code with the place where you want to capture the action, and the dom structure of your grid, I could help with the snippet.