PDA

View Full Version : class GridView needs some refactoring



ccronemberger
2 Sep 2014, 3:58 AM
Hi,

I am currently trying to set CSS3 color for the selected row and I am having a hard time.

First problem is:

protected final GridStateStyles states = GWT.<StateBundle> create(StateBundle.class).styles();

Not sure why it is final, but because of this I can't replace the StateBundle to use a separate CSS3 file.

The other problem is that "ensureInjected" is never called, so it is pretty much useless.

The workaround I am trying is to create a subclass of GridView which redeclares the states attribute and all methods using this attribute.

Regards,
Constantino