List of usage examples for com.google.gwt.user.client.ui HTMLTable getRowFormatter
public RowFormatter getRowFormatter()
From source file:org.sigmah.client.ui.view.project.logframe.grid.HTMLTableUtils.java
License:Open Source License
/** * Applies the CSS row styles to a row./*from w w w. j a v a 2 s . com*/ * * @param table * The GWT table. * @param row * The row index. */ public static void applyRowStyles(HTMLTable table, int row) { table.getRowFormatter().addStyleName(row, "x-grid3-hd-row"); table.getRowFormatter().addStyleName(row, "x-grid3-row"); }