ColumnDirective

12 Sep 20251 minute to read

e-columns directive represent a columns of the Kanban board.
It must be contained in a Kanban component(ejs-kanban).

<ejs-kanban>
  <e-columns>
   <e-column keyField='Open' textField='To Do'></e-column>
   <e-column keyField='Close' textField='Completed'></e-column>
  </e-columns>
</ejs-kanban>

Properties

allowDrag any

Enable or disable column drag

Defaults to true

allowDrop any

Enable or disable column drop

Defaults to true

allowToggle any

Enable or disable toggle column

Defaults to false

headerText any

Defines the column header title

Defaults to null

isExpanded any

Defines the collapsed or expandable state

Defaults to true

keyField any

Defines the column keyField. It supports both number and string type.
String type supports the multiple column keys and number type does not support the multiple column keys.

Defaults to null

maxCount any

Defines the maximum card count in column

Defaults to null

minCount any

Defines the minimum card count in column

Defaults to null

showAddButton any

Enable or disable cell add button

Defaults to false

showItemCount any

Enable or disable card count in column

Defaults to true

template any

Defines the column template

Defaults to null

transitionColumns any

Defines the column transition

Defaults to []