addRow(viewFactory, styleName, null, test);
}
public void addRow(ViewFactory<ModelView<T>> viewFactory, String styleName, String label, Value<Boolean> test) {
horizontal=true;
final int row = series.size();
final HTMLTableRowPanel rowPanel = addRowPanel(row, null, styleName==null?"ui-table-row":"ui-table-row "+styleName);
//if(styleName != null) rowPanel.addStyleName(styleName);
if(label != null) {
final Label labelWidget = new Label(label);
labelWidget.setStyleName("ui-row-label");
rowPanel.add(labelWidget);
}
series.add(new Series(viewFactory, styleName, test, true, row));
}