Skip to main content

How-tos

Here’s a handy reference for getting started with JavaScript Kanban, including setup, configuration, customization, and everyday use.

Basic principles

This section covers the essentials for working with Kanban.

TopicDescription
InitializationHow to get Kanban up and running (Example)
ConfigurationHow to tweak Kanban settings
CustomizationWays to adjust Kanban to fit your needs
StylizationOptions for changing Kanban’s look and feel
LocalizationHow to set up Kanban for different languages (Example)

API reference

Here you’ll find links to all the main Kanban API docs.

TopicDescription
Kanban eventsDetails on handling Kanban events
Kanban methodsOverview of available Kanban methods
Kanban propertiesInfo on Kanban properties
Event Bus methodsWorking with Event Bus methods
RestDataProvider methodsUsing RestDataProvider methods
State methodsManaging state with State methods
Toolbar methodsToolbar method options
Toolbar propertiesToolbar property details

How to work with cards

These sections break down how to manage cards, handle card data, and adjust card settings.

Performing operations with cards

TopicDescription
Adding new cardsSteps for adding new cards (Example)
Deleting cardsHow to remove cards (Example)
Moving cardsHow to move cards around (Example)
Scrolling to the desired cardsHow to scroll to a specific card
Searching for cardsHow to find cards quickly
Selecting cardsHow to select cards
Sorting cardsHow to sort cards
Unselecting cardsHow to unselect cards
Adding links between cardsHow to link cards together (Example)

Working with card data

TopicDescription
Getting card dataHow to access card data
Getting cards stateHow to check the current state of cards
Getting cards reactive stateHow to get the reactive state for cards
Loading card dataHow to load initial card info
Parsing card dataHow to parse card data
Serializing card dataHow to serialize card data (Example)
Updating card dataHow to update card info

Configuring cards

TopicDescription
Adding new cardsEnable or disable adding new cards
Binding cards into columnsHow to assign cards to columns
Binding cards into rowsHow to assign cards to rows
Configuring a card appearanceOptions for card appearance
Configuring a cards menuHow to set up a context menu for cards (Example)
Customizing a card appearanceHow to use templates for card appearance (Example)
Dragging cardsEnable or disable drag-and-drop for cards
Editing cardsEnable or disable editing for cards
Lazy renderingEnable or disable lazy rendering for lots of cards (Example)
Limiting cardsSet limits for cards in columns or swimlanes (WIP validation) (Example)
Selecting cardsEnable or disable card selection
Setting a fix height of cardsHow to set a fixed card height
Updating card settingsHow to update card settings

How to work with a card editor

Here’s how to use and configure the card editor.

TopicDescription
Autosaving modeEnable or disable autosave for the editor
Configuring editor fieldsHow to set up editor fields
Configuring the editorHow to adjust editor settings
Updating editor settingsHow to update editor settings

How to work with columns

These sections explain how to manage columns and deal with their data.

Performing operations with columns

TopicDescription
Adding new columnsHow to add columns (Example)
Configuring a columns menuHow to set up a context menu for columns (Example)
Deleting columnsHow to remove columns
Moving columnsHow to move columns
Scrolling to the desired columnsHow to scroll to a specific column
Separate scrolling for columnsHow to enable separate scrolling for each column (Example)

Working with column data

TopicDescription
Getting card data of the columnHow to get cards for a specific column
Getting columns stateHow to check the current state of columns
Getting columns reactive stateHow to get the reactive state for columns
Loading column dataHow to load initial column data
Parsing column dataHow to parse column data
Serializing column dataHow to serialize column data
Updating column dataHow to update column info

How to work with rows (swimlanes)

These sections go over row (swimlane) operations and data management.

Performing operations with rows (swimlanes)

TopicDescription
Adding new rowsHow to add rows (swimlanes)
Configuring a rows menuHow to set up a context menu for rows (Example)
Deleting rowsHow to remove rows (swimlanes)
Moving rowsHow to move rows (swimlanes)
Scrolling to the desired rowHow to scroll to a specific row (swimlane)

Working with row (swimlane) data

TopicDescription
Getting card data of the column and rowHow to get cards for a specific column and row
Getting rows stateHow to check the current state of rows
Getting rows reactive stateHow to get the reactive state for rows
Loading row dataHow to load initial row data
Parsing row dataHow to parse row data
Serializing row dataHow to serialize row data
Updating row dataHow to update row info

How to work with events

TopicDescription
Executing eventsHow to trigger inner events
Intercepting eventsHow to intercept inner events
List of inner eventsList of Kanban’s built-in events
Reordering eventsHow to change the order of inner events in the Event Bus
Subscribing on eventsHow to subscribe to inner events

How to work with Kanban REST API

TopicDescription
Loading server data for cardsHow to pull card data from the server
Loading server data for columnsHow to pull column data from the server
Loading server data for rowsHow to pull row data from the server
Working with serverHow to use the REST API with Kanban (Example)

How to work with Kanban state

TopicDescription
Getting StateStore and DataStoreHow to access StateStore and DataStore objects
Getting StateStore propertiesHow to get StateStore property objects
Getting StateStore reactive propertiesHow to get StateStore’s reactive property objects

How to work with Toolbar

TopicDescription
Configuring a searchbar on ToolbarHow to add a searchbar to the Toolbar (Example)
Configuring a sort control on ToolbarHow to add a sort control to the Toolbar (Example)
Configuring Toolbar controlsHow to set up, customize, and reorder Toolbar controls (Example)
Including Kanban API in ToolbarHow to use Kanban API features in the Toolbar
Localizing ToolbarHow to localize the Toolbar

How to work with TypeScript

TopicDescription
Working with TypeScriptHow to use Kanban with TypeScript

Any questions left?

info

Questions can also be posted in the comments below!