The kanban view node supports loading data from attributes or from a custom data source implemented by the developer in a data provider or procedure.
The former option is easier to use, while the latter (using a custom data source) is more flexible.
To use the custom data source option, the developer must:
- Set the "Datasource From" property to "Dataprovider". Note: While this value is used to maintain compatibility with other GeneXus controls, both data providers and procedures can be used.
- Implement the data provider / procedure. This object must:
- Return the Kanban columns in an out parameter (in procedures) or as the output (in data providers).
This value must be a collection of the K2BTools.Controls.Kanban.Column SDT.
- The object can receive all parameters needed.
- The object logic can be determined without any restrictions.
- Select the object in the Datasource property and the values for its parameters in the Datasource parameters property.
You can see a sample of this mechanism by downloading this XPZ.
|