setColWidth method

void setColWidth(
  1. int colIndex,
  2. double colWidth
)

Set Column Width

Implementation

void setColWidth(int colIndex, double colWidth) {
  _checkMaxCol(colIndex);
  if (colWidth < 0) return;

  while (colIndex >= _colWidth.length) {
    _colWidth.add(_defaultColumnWidth);
  }
  _colWidth[colIndex] = colWidth;
}