sorry,, I can't write english..
I use cellable and apply callTable.css.
1.. load css..
public interface CellTableResource extends CellTable.Resources
{
public interface CellTableStyle extends CellTable.Style {
};
@Source({"CellTable.css"})
CellTableStyle cellTableStyle();
};
2. addstyle to celltable
CellTableResource resource = GWT.create(CellTableResource.class);
CellTable table = new CellTable<WPlayer>(50, resource);
/////// work..
3. eidt CellTable.css
--> append
.testCSS{
background-color: red;
}
table.addColumnStyleName(1, "testCSS");
//// error .
// error messge : Rebinding com.rontab.comp.CellTableResource
next...........
public interface CellTableResource extends CellTable.Resources
{
public interface CellTableStyle extends CellTable.Style {
String testCSS();
<--- append
};
@Source({"CellTable.css"})
CellTableStyle cellTableStyle();
};
// no error message
// but css not work....
help me..
same problem :
http://www.devcomments.com/GWT-2-1-CELL-TABLE-at1072804.htm