Kanban board

Kanban board

The Kanban Board presents the records of a query as cards grouped by a field. Dragging a card to another lane updates the field on the record.

Configuration

Setting Key Notes
Object, group field objectName, groupField Picklist fields give one lane per active value; other fields derive lanes from the data
Card content titleField, subtitleField, imageField, cardFields[], titleTemplate, subtitleTemplate Card fields can render as text or badges with icons
Filter, order, cap filter, orderBy, maxRecords Boards load up to maxRecords (default 200) cards
Lane total sumField Sum shown in each lane header
Update on move updateOnMove Off makes the board read only
Unassigned lane showEmptyGroup, emptyGroupLabel Cards with a blank value
Lane overrides columns[] Per value: label, header classes, WIP limit, hidden
Card formatting cardFormats[] Conditional classes on cards
Card click rowClick page, url, modal (default) or event
Search enableSearch Server side search across text fields

Example

{
    "type": "kanban-board",
    "objectName": "Job_Application__c",
    "groupField": "Stage__c",
    "titleField": "Name",
    "subtitleField": "Job__r.Name",
    "cardFields": [{ "field": "Applied_On__c", "showLabel": false, "icon": "fa-regular fa-calendar" }, { "field": "Priority__c", "type": "badge" }],
    "filter": "Recruiter__c = :contactUser.Id",
    "orderBy": "LastModifiedDate DESC",
    "columns": [{ "value": "Rejected", "hidden": true }, { "value": "Interview", "limit": 5 }],
    "updateOnMove": true,
    "rowClick": { "type": "page", "page": "Application" }
}

Moving cards

Drag and drop works with mouse and touch. The card moves immediately; the server validates that moves are enabled, that the record belongs to the board's scoped query and that the value is written to the configured group field only. If the update fails the card returns to its lane and an error toast shows. The component fires portalcardmoved.