List of usage examples for com.google.gwt.user.cellview.client AbstractCellTable getColumnWidth
String getColumnWidth(int columnIndex)
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 }