> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EmailTemplateTableSectionInput

> Fields for a table section. Omitted fields keep their value (update) or the default (insert). Pass image or text on each cell, not both.

<ResponseField name="borderColor" type="String">
  Table border color.
</ResponseField>

<ResponseField name="borderStyle" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-border-style">EmailTemplateTableBorderStyle</a>}>
  Table border style.
</ResponseField>

<ResponseField name="borderWidth" type="Int">
  Table border width in pixels.
</ResponseField>

<ResponseField name="cellPadding" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-padding-input">EmailTemplatePaddingInput</a>}>
  Padding inside body cells.

  <Expandable title="fields" lazyRender>
    <ResponseField name="bottom" type="Int">
      Bottom padding in pixels.
    </ResponseField>

    <ResponseField name="left" type="Int">
      Left padding in pixels.
    </ResponseField>

    <ResponseField name="right" type="Int">
      Right padding in pixels.
    </ResponseField>

    <ResponseField name="top" type="Int">
      Top padding in pixels.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="cellVerticalAlignment" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-vertical-alignment">EmailTemplateTableVerticalAlignment</a>}>
  Vertical alignment of cell content.
</ResponseField>

<ResponseField name="columns" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-column-input">[EmailTemplateTableColumnInput!]</a>}>
  Complete column list. Replaces every column.

  <Expandable title="fields" lazyRender>
    <ResponseField name="headerAlignment" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-alignment">EmailTemplateAlignment</a>}>
      Header alignment.
    </ResponseField>

    <ResponseField name="headerLabel" type="String">
      Header label.
    </ResponseField>

    <ResponseField name="id" type="ID">
      Stable column id.
    </ResponseField>

    <ResponseField name="width" type="Float">
      Percentage when MANUAL.
    </ResponseField>

    <ResponseField name="widthMode" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-column-width-mode">EmailTemplateTableColumnWidthMode</a>}>
      Auto or percentage.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="dynamicRowTemplates" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-cell-input">[EmailTemplateTableCellInput!]</a>}>
  One cell per column. Replaces the dynamic row template.

  <Expandable title="fields" lazyRender>
    <ResponseField name="image" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-image-cell-input">EmailTemplateTableImageCellInput</a>}>
      Image cell fields. Implies cellType IMAGE.

      <Expandable title="fields" lazyRender>
        <ResponseField name="altText" type="String">
          Alt text.
        </ResponseField>

        <ResponseField name="clickthroughUrl" type="String">
          Clickthrough URL, or a `{{ }}` template variable.
        </ResponseField>

        <ResponseField name="horizontalAlignment" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-alignment">EmailTemplateAlignment</a>}>
          Horizontal alignment.
        </ResponseField>

        <ResponseField name="src" type="String">
          Image URL, or a `{{ }}` template variable.
        </ResponseField>

        <ResponseField name="widthPx" type="Int">
          Rendered width.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="text" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-text-cell-input">EmailTemplateTableTextCellInput</a>}>
      Text cell fields. Implies cellType TEXT.

      <Expandable title="fields" lazyRender>
        <ResponseField name="content" type="String">
          Text, or a `{{ }}` template variable.
        </ResponseField>

        <ResponseField name="fontFamily" type="String">
          Font family.
        </ResponseField>

        <ResponseField name="fontSize" type="Int">
          Font size.
        </ResponseField>

        <ResponseField name="fontWeight" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-builder-font-weight">EmailTemplateBuilderFontWeight</a>}>
          Weight.
        </ResponseField>

        <ResponseField name="horizontalAlignment" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-alignment">EmailTemplateAlignment</a>}>
          Horizontal alignment.
        </ResponseField>

        <ResponseField name="textColor" type="String">
          Text color.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="headerBackgroundColor" type="String">
  Header row background color.
</ResponseField>

<ResponseField name="headerBold" type="Boolean">
  Bold header text.
</ResponseField>

<ResponseField name="headerFontSize" type="Int">
  Header font size in pixels.
</ResponseField>

<ResponseField name="headerItalic" type="Boolean">
  Italic header text.
</ResponseField>

<ResponseField name="headerPadding" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-padding-input">EmailTemplatePaddingInput</a>}>
  Padding inside header cells.

  <Expandable title="fields" lazyRender>
    <ResponseField name="bottom" type="Int">
      Bottom padding in pixels.
    </ResponseField>

    <ResponseField name="left" type="Int">
      Left padding in pixels.
    </ResponseField>

    <ResponseField name="right" type="Int">
      Right padding in pixels.
    </ResponseField>

    <ResponseField name="top" type="Int">
      Top padding in pixels.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="headerStrikethrough" type="Boolean">
  Strikethrough header text.
</ResponseField>

<ResponseField name="headerTextColor" type="String">
  Header cell text color.
</ResponseField>

<ResponseField name="headerUnderline" type="Boolean">
  Underlined header text.
</ResponseField>

<ResponseField name="horizontalAlignment" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-alignment">EmailTemplateAlignment</a>}>
  Horizontal alignment of the table.
</ResponseField>

<ResponseField name="maxRows" type="Int">
  Cap on dynamic rows. Null shows all.
</ResponseField>

<ResponseField name="mobileStacking" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-mobile-stacking">EmailTemplateTableMobileStacking</a>}>
  How columns stack on small screens.
</ResponseField>

<ResponseField name="mode" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-mode">EmailTemplateTableMode</a>}>
  Static grid vs event-driven rows.
</ResponseField>

<ResponseField name="rowCollection" type="String">
  Event path for dynamic rows.
</ResponseField>

<ResponseField name="sectionColor" type="String">
  Section background color.
</ResponseField>

<ResponseField name="sectionPadding" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-padding-input">EmailTemplatePaddingInput</a>}>
  Padding around the section.

  <Expandable title="fields" lazyRender>
    <ResponseField name="bottom" type="Int">
      Bottom padding in pixels.
    </ResponseField>

    <ResponseField name="left" type="Int">
      Left padding in pixels.
    </ResponseField>

    <ResponseField name="right" type="Int">
      Right padding in pixels.
    </ResponseField>

    <ResponseField name="top" type="Int">
      Top padding in pixels.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="showHeaderRow" type="Boolean">
  Show column header labels.
</ResponseField>

<ResponseField name="staticRows" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-row-input">[EmailTemplateTableRowInput!]</a>}>
  Complete static grid. Replaces every row.

  <Expandable title="fields" lazyRender>
    <ResponseField name="cells" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-cell-input">[EmailTemplateTableCellInput!]</a>}>
      Cells in column order.

      <Expandable title="fields" lazyRender>
        <ResponseField name="image" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-image-cell-input">EmailTemplateTableImageCellInput</a>}>
          Image cell fields. Implies cellType IMAGE.
        </ResponseField>

        <ResponseField name="text" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-table-text-cell-input">EmailTemplateTableTextCellInput</a>}>
          Text cell fields. Implies cellType TEXT.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.