ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Kanban functions
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
Displays only cards that match the specified filter.
Example
// Modify the EDT_Filter control
KanbanFilter(KANBAN_Example, EDT_Filter, ccIgnoreCase + ccIgnoreAccent)
// Display tasks without contributors
KanbanFilter(KANBAN_Example, Proc_Filter)
INTERNAL PROCÉDURE Proc_Filter(Card is kbCard)
IF Card.Contributor = "" THEN
RETURN True
END
END
// Identical to
// KanbanFilter(KANBAN_Example, (Card)=> { RETURN Card.Contributor = "" } )
// Remove filter
KanbanFilter(KANBAN_Example, "")
Syntax

Filtering cards based on a string contained in the title Hide the details

KanbanFilter(<Kanban> , <Filter> [, <Option>])
<Kanban>: Control name
Name of the Kanban control used.
<Filter>: Character string
Filter to use. Only the cards that include the <Filter> string in the title or content will be selected. If this parameter corresponds to an empty string (""), no filter is applied.
<Option>: Optional Integer constant
Comparison options:
ccIgnoreAccentCompares strings ignoring accented characters.
ccIgnoreCaseCompares strings ignoring the case (uppercase/lowercase characters).
WholeWordCompares whole words, i.e., words enclosed by punctuation marks (characters different from a letter or a number) or spaces.

Filtering cards using a filter procedure Hide the details

KanbanFilter(<Kanban> , <WLanguage procedure>)
<Kanban>: Control name
Name of the Kanban control used.
<WLanguage procedure>: Procedure name
Name of the WLanguage procedure ("callback") called to filter the cards displayed in the Kanban control. For more details on this procedure, see Parameters of the procedure used by KanbanFilter.
If this parameter corresponds to an empty string (""), no filter is applied.
Remarks
Any cards added after the call to KanbanFilter are ignored.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/09/2023

Send a report | Local help