Skip to content
j edited this page Feb 4, 2015 · 4 revisions

Fields

Columns are expected to be defined with the following properties:

name (string)

Identifier for column. Used to bind data. Must be unique.

label (string, default = "")

Column header text. For display purposes only. Does not need to be unique.

order (number)

Column index. Must be unique.

type (string, default = "text")

Column data type. Can be one of the following:

  • 'text'
  • 'number'

isSortable (boolean, default = true)

Column can be sorted (by clicking column header or other method).

isEditable (boolean, default = false)

Fields in column can be edited.

isHidden (boolean, default = false)

Column is hidden from view.

isFixed (boolean, default = false)

If true, column's show/hide state cannot be modified.

isResizable (boolean, default = true)

If false, column's width cannot be modified.

isClickable (boolean, default = true)

If false, cell click events will not propagate.