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
--
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.