type: table
label: Table
required: true
description: Table example
readOnly: false
table: Candidates

# columns: Determines which columns should be displayed in the table field
# optional, array of field names
# if it's not set, all the columns will be displayed
columns:
  # they can be strings
  - firstName
  - lastName
  # or they can be objects that override the field properties
  - email:
      required: true

## filter: Determines which rows should be displayed in the table field
## optional, object with properties per each field
## it should follow the same structure as the JSON representation of react-query-builder:
## https://github.com/sapientglobalmarkets/react-querybuilder
filter:
  combinator: and # optional, default: and. Allowed values: and, or
  not: false # optional, default: false
  rules:
    - field: firstName
      operator: isNotNull
    - field: lastName
      operator: beginsWith
      value: A
    - combinator: or
      rules:
        - field: age
          operator: ">"
          value: 30
        - field: hobbies
          operator: contains
          value: music

options:
  addRow: true
  removeRow: true
