setCellStyle method

void setCellStyle (TableCellElement cell, String textAlign)

Defines the style of standard cells in a row

Implementation

static void setCellStyle(TableCellElement cell, String textAlign) {
  cell.style
    ..textAlign = textAlign
    ..margin = ".5em 1em"
    ..padding = "5px" // 0px 0px 5px" // t r b l
    ..wordWrap = "break-word"
    ..maxWidth = "15em";
}