Example usage for com.google.gwt.user.client.ui HTMLTable getRowFormatter

List of usage examples for com.google.gwt.user.client.ui HTMLTable getRowFormatter

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui HTMLTable getRowFormatter.

Prototype

public RowFormatter getRowFormatter() 

Source Link

Document

Gets the RowFormatter associated with this table.

Usage

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");
}