setRowStyleHeader method

void setRowStyleHeader (TableRowElement row)

Defines the style of a table row used as a table header

Implementation

static void setRowStyleHeader(TableRowElement row) {
  if (attr == null) {
    initAttrFromDefaults();
  }
  row.style
    ..backgroundColor = attr[TABLE_HEADER_BACKGROUND_COLOR]
    ..color = attr[TABLE_HEADER_TEXT_COLOR]
    ..padding = "7px"
    ..textAlign = attr[TABLE_HEADER_TEXT_ALIGN]
    ..margin = ".5em 1em";
}