Example usage for com.google.gwt.user.cellview.client AbstractCellTable getColumnWidth

List of usage examples for com.google.gwt.user.cellview.client AbstractCellTable getColumnWidth

Introduction

In this page you can find the example usage for com.google.gwt.user.cellview.client AbstractCellTable getColumnWidth.

Prototype

String getColumnWidth(int columnIndex) 

Source Link

Document

Get the column width.

Usage

From source file:org.jbpm.console.ng.bd.client.util.DataGridUtils.java

License:Apache License

public static int getColumnWith(AbstractCellTable table, Column col) {
    String columnWidth = table.getColumnWidth(col);
    return columnWidth != null && !"null".equals(columnWidth)
            ? Integer.parseInt(columnWidth.substring(0, columnWidth.length() - 2))
            : -1;//from   w w  w.  ja  v a  2  s  .  c  o m
}