Example usage for com.google.gwt.dom.client TableColElement setWidth

List of usage examples for com.google.gwt.dom.client TableColElement setWidth

Introduction

In this page you can find the example usage for com.google.gwt.dom.client TableColElement setWidth.

Prototype

public void setWidth(String width) 

Source Link

Document

Default column width.

Usage

From source file:org.rstudio.studio.client.workbench.views.history.view.HistoryTable.java

License:Open Source License

private TableColElement createAndAppendCol(String width) {
    TableColElement col = Document.get().createColElement();
    col.setWidth(width);
    getElement().appendChild(col);/*from ww  w.j a v  a 2s.com*/
    lastCol_ = col;
    return col;
}