I guess you have to deal with Appearances. You have to create your own
GridAppearance class, which looks similar like the code at the bottom of this post.
Additionally you must create a file (in this example MyGrid.css), where you override
the styles you want to change. Copy the styles from "com/sencha/gxt/theme/base/client/grid/Grid.css". You can find this file in the source directory.
Within your Grid you have to create a GridView when you create the Grid
Code:
new GridView<?>(new MyGridAppearance());
Code:
public class MyGridAppearance extends GridBaseAppearance {
public MyGridAppearance(GridResources resources) {
super(resources);
}
public MyAppearance() {
this(GWT.<MyGridResources> create(MyGridResources.class));
}
public interface MyGrid extends GridStyle {
}
public interface MyGridResources extends GridResources {
@Import(GridStateStyles.class)
@Source({"com/sencha/gxt/theme/base/client/grid/Grid.css", "MyGrid.css"})
@Override
MyGrid css();
}
}