Override the cellListStyle() inside MyCellListResources. I have
added a sample CSS to test it out.
S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE
//corrected code.
interface MyCellListResources extends CellList.Resources {
@Source({"CellList.css"})
@Override
public Style cellListStyle();
}
cellList = new CellList<InboxModel>(contactCell,
GWT.<MyCellListResources> create(MyCellListResources.class));
//CellList.css
.cellListWidget {
}
.cellListEvenItem {
cursor: pointer;
zoom: 1;
background:red;
}
.cellListOddItem {
cursor: pointer;
zoom: 1;
background:blue;
}
.cellListKeyboardSelectedItem {
background: #ffc;
}
@sprite .cellListSelectedItem {
gwt-image: 'cellListSelectedBackground';
background-color: green;
color: white;
height: auto;
overflow: visible;