我有一个CellTable需要不同类型的子行;类似于http://showcase2.jlabanca-testing.appspot.com/#!CwCustomDataGrid在GWT CellTable上添加一个子行
我不想使用DataGrid,因为我知道它具有固定的高度,并且我的表格看起来更好,并具有动态高度。
我试图扩大CellTable然后写
public void renderRowValues(SafeHtmlBuilder sb,
java.util.List<ShipmentLeg> values,
int start,
SelectionModel<? super ShipmentLeg> selectionModel){
super.renderRowValues(sb, values, start, selectionModel);
GWT.log("HELLO");
}
什么是实现一个很好的策略?注:在此代码GWT.log不会被调用作为一个超级弃用引发错误
干杯