The customizable properties of Kuika's Kanban Board element make it easy to manage data connections and workflows. It allows dynamic organization of tasks (card) and categories (lane).
To be able to edit the properties of the Kanban Board element, you need to create SQL actions and tables in the Datasources module.
Go to the Datasources module.
Click on the “+” icon opposite the Tables field under the Sources heading and select New Table.
Then create the sample tables above.
Then click on the “+” icon opposite the Actions field under the Sources heading and select New SQL Actions.
The following sample SQL actions can be used to add, update and delete data on Kanban Board or you can create your own actions:
Lane Options Actions:
GetKanbanLanesAll: Get all lane data.
SELECT*FROM KanbanLane;
CreateKanbanLane: Yeni bir lane eklemek için kullanılır.
The above actions allow you to integrate your Kuika Kanban Board with a SQL database. Thus, you can dynamically manage your tasks and categories, update your data and create a workflow that fits the needs of your system.
Then you can make the following edits from the Properties panel of the UI Design module Kanban Board element.
Lane Options
Action: It is a datasource property used to link lane (category) data in Kanban Board. It connects to the source that provides data for each lane.
Field to Lane ID: It is the key-value pair of the ID property in the lane data retrieved with the datasource. It allows lanes to be uniquely identified. A property key of String or Guid type must be connected.
Field to Lane Index: It is the key-value pair of the index property in the lane data extracted with Datasource. Allows sorting of lanes and a property key of type Number must be bound.
Card Options
Action: It is the datasource property used to link card (task) data in Kanban Board. It connects to the source that provides data for each task.
Field to Card ID: It is the key-value pair of the ID property in the card data retrieved with the datasource. It allows each card to be uniquely identified. A property key of String or Guid type must be bound.
Field to Card Lane ID: It is the key-value pair of the property that specifies which lane the cards pulled with Datasource belong to. A property key of String or Guid type must be bound.
Field to Card Index: This is the key-value pair of the sorting (index) property in the card data retrieved with Datasource. It allows cards to be sorted within the lane and a property key of type Number must be bound.
Field to Card Sort Key: Allows the cards retrieved from the datasource to be sorted according to the property key selected to sort them into lanes. For example, alphabetical sorting can be done according to a property such as title. This feature is optional and can be sorted according to the selected property key.
Events
onCardDragged: An event triggered when a card (task) is dragged. Provides relevant information when tasks are moved to their new location.
cardId: Unique ID of the moved card.
cardIndex: The card's old sequence number.
cardLaneId: ID of the lane to which the card is attached.
cardTargetIndex: Card's new sequence number.
cardTargetLaneId: ID of the lane to which the card is newly attached.
onLaneDragged: An event triggered when a lane (category) is dragged. Keeps track of the new order and position of the lanes.