Use CellList.Resources interface. Add your CellList.css file in
Source attribute. Override the cellListStyle method. Construct a
new cellList and pass CellList.Resources as argument. I send the code
segment of cellList.
//client side.
interface YourCellListResources extends CellList.Resources {
@Source({"CellList.css"})
@Override
public Style cellListStyle();
}
//add CellList.Resources in CellList
CellList<String> cellList = new
CellList<String>(your_cell,GWT.<MyCellListResources>
create(MyCellListResources.class));
//CellList.css file
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;
}
S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.