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
KANBAN_Example.Filter(EDT_Filter, ccIgnoreCase + ccIgnoreAccent)
// Display tasks without contributors
KANBAN_Example.Filter(Proc_Filter)
INTERNAL PROCÉDURE Proc_Filter(Card is kbCard)
IF Card.Contributor = "" THEN
RETURN True
END
END
// Identical to
// KANBAN_Example.Filter((Card)=> { RETURN Card.Contributor = "" } )
// Remove filter
KANBAN_Example.Filter("")
Syntax

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

<Kanban control>.Filter(<Filter> [, <Option>])
<Kanban control>: 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

<Kanban control>.Filter(<WLanguage procedure>)
<Kanban control>: 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 <Kanban>.Filter.
If this parameter corresponds to an empty string (""), no filter is applied.
Remarks
Any cards added after the call to <Kanban>.Filter 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: 06/30/2023

Send a report | Local help