You can run my example, which has two Swimlanes, GroupA and GroupB, but I actually have a GroupC Swimlane, because there's no data belonging to GroupC at the moment, But I still want to present an empty Swimlane, and my question is how do I present an empty Swimlane
Support Forum
In addition, my problem is not actually in the demo, my problem is how to load an empty Swimlane
You can load an empty swimlane by using https://bryntum.com/docs/taskboard/api/TaskBoard/view/TaskBoard#config-swimlanes
Here is an example
Because we will switch different projects and different projects will have different groups, we need to load dynamically
- Attachments
-
- Media3.mp4
- (1.25 MiB) Downloaded 32 times
Hi shimnx,
The error we have when trying to run your app:
An unhandled exception occurred: Error: ENOENT: no such file or directory, lstat 'path/advanced examples 4/tsconfig.app.json'
at Object.lstatSync (node:fs3)
So I cannot check what is going on in your application.
autoGenerateSwimlanes
will create swimlanes when data loaded according to data provided.
https://bryntum.com/docs/taskboard/api/TaskBoard/view/mixin/TaskBoardSwimlanes#property-swimlanes is a property that may be used to define swimlanes, as well at runtime. It's a store, so just add another record.
taskboard.swimlanes.add({id: 'high2', text: 'High 2', color: 'deep-orange'});
All the best,
Alex