ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Kanban control
  • Overview
  • Handling lists and cards in a Kanban control
  • Handling Kanban lists
  • Handling Kanban cards
  • Properties specific to Kanban controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to programmatically handle Kanban controls. To do so, use the variable of the Kanban control in the code.
To programmatically handle a Kanban control, WINDEV, WEBDEV and WINDEV Mobile include Kanban control functions.
This help page explains how to handle a Kanban control programmatically.
Handling lists and cards in a Kanban control

Handling Kanban lists

You can create Kanban lists directly in edit mode (in the description window) or programmatically.
The different lists correspond to an array of lists. To handle the different lists of a Kanban control, use the List property and specify the index of the list.
You can use the following syntax to handle a given list:
<Kanban control>.List[<List number>]

Then, you can use:

Handling Kanban cards

Kanban cards correspond to variables of type kbCard.
Cards are created and displayed in the Kanban lists. The Card property handles the different cards associated with a Kanban list. Simply specify the index of the card.
You can use the following syntax to handle a card in a given list:
<Kanban control>.List[<List number>].Card[<Card number>]
Example: Procedure to display the details of the selected Kanban card:
// Display the details of a card in KANBAN_TASKS
PROCÉDURE CardDetails(Card is kbCard)
 
oList is Control <- KANBAN_TASKS.List[KANBAN_TASKS.ListIndex(Card.ListName)]
WIN_KBCARD_MOBILE.OpenMobileWindow(oList, Card, False)
Properties specific to Kanban controls
The following properties are used to handle Kanban controls and Kanban lists:
CardThe Card property handles the different cards associated with a Kanban list. You can add, modify or delete cards from Kanban list, or navigate between them.
DisplayModeThe DisplayMode property gets and changes:
  • the display mode in a Word Processing control,
  • the display mode in a PDF Reader control
  • the display mode in an HTML Editor control,
  • the display mode in a Kanban control
ListThe List property is used to handle the different lists of a Kanban control. You can add, modify or delete lists from a Kanban control, or navigate between them.
For a complete list of WLanguage properties that can be used with a Kanban control, see Kanban control properties.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/24/2023

Send a report | Local help