Kanban

🗂️ Kanban Component in Lowcoder

The Kanban component in Lowcoder provides a dynamic and visual way to manage tasks and workflows by organising items into columns representing different stages of a process.

🔧 Key Features

  • Column-Based Layout: Organize tasks into customisable columns such as "To Do," "In Progress," and "Done."

  • Drag-and-Drop Functionality: Easily move tasks between columns to reflect changes in status.

  • Customizable Cards: Display relevant information on each card, including titles, descriptions, and labels.

  • Data Binding: Integrate with data sources to dynamically populate and update the Kanban board.

  • Event Handling: Trigger actions based on user interactions, such as moving a card to a different column.

🛠 Configuration Options

  • Columns: Define the stages of your workflow by setting up columns with custom titles and identifiers.

  • Card Fields: Specify which data fields to display on each card, such as task name, assignee, or due date.

  • Styling: Customize the appearance of the Kanban board and cards, including colors, fonts, and layouts.

  • Data Source Integration: Connect to APIs or databases to fetch and update task data in real-time.

⚙️ Integration Tips

  • Dynamic Data Loading: Use queries to load tasks into the Kanban board based on specific criteria or filters.

  • Real-Time Updates: Implement event handlers to refresh the board when data changes occur elsewhere in the application.

  • User Interaction Handling: Define actions to take when users interact with the board, such as opening a task detail view when a card is clicked.

Component Playground

On Component Playground, you can interact with the Kanban component and explore it's Properties, Events and Methods. Play with different Styling properties to see the effect on the Kanban component.

Component Auto-Docs

In the Auto-Docs of Kanban component, we have shown how to use different properties of the Kanban component. It also includes the Styling properties of the Kanban component.

Properties of the Kanban component

These properties are accessible in {{ }} notations, as well as in JavaScript Queries.

Property Name
Type
Description

hidden

Boolean

Returns True or False based on whether the Kanban component is hidden or not

data

Array

Returns an Array of Objects, containing data of the Kanban's component

intialData

Array

Returns an Array of Objects, containing initial/default data of the Kanban's component

activeCardData

Object

Return an Object, containing only the Active Card's data of the Kanban component

activeCardIndex

Number

Return a Number, containing the index of the Active Card item

toInsertedItems

Object

Returns an Array of Objects, containing data of the newly inserted items/tasks in Kanban component

toUpdatedItems

Object

Returns an Array of Objects, containing data of the Updated items/tasks of Kanban component

toDeletedItems

Object

Returns an Array of Objects, containing data of the Deleted items/tasks of Kanban component

Events

Events give you the ability to trigger further actions (with Event-Handlers).

Event Name
Description

onChange

Triggers, when anything changes on the Kanban component

onEdit

Triggers, when a User clicks on the "Edit" link

onCardClick

Triggers, when a User clicks on a Card

Methods

You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.

setData() :

kanban1.setData() method sets the Kanban's Data property, which sets the data to be shown in the Kanban component.

kanban1.setData([
    {
        "label": "Task - 29001",
        "status": "Open",
        "summary": "Analyze customer requirements.",
        "type": "",
        "priority": "High",
        "tags": "Bug, Release Bug",
        "estimate": 0,
        "assignee": "Nancy Davloio",
        "rankId": 1,
        "id": 0
    }
]);

getData() :

kanban1.getData() gets the Kanban data from the Data property.

kanban1.getData()

resetData() :

kanban1.resetData() method resets the Kanban's Data property to the default value of the Kanban component.

kanban1.resetData();

clearInsertedItems() :

kanban1.clearInsertedItems() clears the newly inserted items from the "toInsertedItems" property of the Kanban component.

kanban1.clearInsertedItems();

clearUpdatedItems() :

kanban1.clearUpdatedItems() method clears the updated items from the "toUpdatedItems" of the Kanban component.

kanban1.clearUpdatedItems();

clearDeletedItems() :

kanban1.clearDeletedItems() gets the Kanban data from the "toDeletedItems" property of the Kanban component.

kanban1.clearDeletedItems();

📌 Use Cases

  • Project Management: Track tasks and progress across different stages of a project.

  • Customer Support: Manage support tickets through various resolution phases.

  • Sales Pipelines: Visualize leads and opportunities as they move through the sales process.

Last updated

Was this helpful?