how to edit celltable css..

17 views
Skip to first unread message

jhpark

unread,
Dec 28, 2010, 3:53:47 AM12/28/10
to Google Web Toolkit
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
Reply all
Reply to author
Forward
0 new messages