Skip to contents

Needed by cheetah to customize columns individually.

Usage

column_def(
  name = NULL,
  width = NULL,
  min_width = NULL,
  max_width = NULL,
  column_type = NULL,
  action = NULL,
  style = NULL
)

Arguments

name

Custom name.

width

Column width.

min_width

Column minimal width.

max_width

Column max width.

column_type

Column type. There are 6 possible options:

  • "text" for text columns.

  • "number" for numeric columns.

  • "check" for check columns.

  • "image" for image columns.

  • "radio" for radio columns.

  • "multilinetext" for multiline text in columns.

action

The action property defines column actions. Select the appropriate Action class for the column type. For instance, if the column type is "text", the action can be "input". There are 3 supported actions:

  • "input" for input action columns.

  • "check" for check action columns.

  • "radio" for radio action columns.

style

Column style.

Value

A list of column options to pass to the JavaScript API.