rows

rows
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

Type

integer

Scope

Display

RenderType

textTable, t3editor, default

The number of rows in the textarea. May be corrected for harmonization between browsers. Will also automatically be increased if the content in the field is found to be of a certain length, thus the field will automatically fit the content. Default is 5. Max value is 20.

Does not apply to RTE fields.

A simple text editor with 20 width

../../../../_images/Text4.png
EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
'columns' => [
    'text_4' => [
        'exclude' => 1,
        'label' => 'text_4',
        'description' => 'cols=20, rows=2',
        'config' => [
            'type' => 'text',
            'cols' => 20,
            'rows' => 2,
        ],
    ],
]