Text fields

$cfg['CharEditing']
Type: string
Default value: 'input'

Defines which type of editing controls should be used for CHAR and VARCHAR columns. Applies to data editing and also to the default values in structure editing. Possible values are:

  • input - this allows to limit size of text to size of columns in MySQL, but has problems with newlines in columns
  • textarea - no problems with newlines in columns, but also no length limitations
$cfg['MinSizeForInputField']
Type: integer
Default value: 4

Defines the minimum size for input fields generated for CHAR and VARCHAR columns.

$cfg['MaxSizeForInputField']
Type: integer
Default value: 60

Defines the maximum size for input fields generated for CHAR and VARCHAR columns.

$cfg['TextareaCols']
Type: integer
Default value: 40
$cfg['TextareaRows']
Type: integer
Default value: 15
$cfg['CharTextareaCols']
Type: integer
Default value: 40
$cfg['CharTextareaRows']
Type: integer
Default value: 2

Number of columns and rows for the textareas. This value will be emphasized (*2) for SQL query textareas and (*1.25) for SQL textareas inside the query window.

The Char* values are used for CHAR and VARCHAR editing (if configured via $cfg['CharEditing']).

$cfg['LongtextDoubleTextarea']
Type: boolean
Default value: true

Defines whether textarea for LONGTEXT columns should have double size.

$cfg['TextareaAutoSelect']
Type: boolean
Default value: false

Defines if the whole textarea of the query box will be selected on click.

$cfg['EnableAutocompleteForTablesAndColumns']
Type: boolean
Default value: true

Whether to enable autocomplete for table and column names in any SQL query box.