Add hierarchy to task cards
Since each Task card is derived from the Task of Gantt plan, since there will be a hierarchical relationship on the Gantt Task side, can the hierarchical relationship be displayed on the Taskboard
Since each Task card is derived from the Task of Gantt plan, since there will be a hierarchical relationship on the Gantt Task side, can the hierarchical relationship be displayed on the Taskboard
Hi,
First, the taskboard task model does not extend the Gantt task model .it sub-classes the scheduler event model
And taskboard doesn't support tree store, so it's not possible.
Good Luck ,
Tasnim
autoGenerateSwimlanes : true,
swimlaneField: 'groupName',
I wanted to add Swimlanes dynamically, but this doesn't seem to work
<bryntum-task-board
#taskboard
[project] = "project"
[columns] = "taskBoardConfig.columns"
[autoGenerateSwimlanes]="taskBoardConfig.autoGenerateSwimlanes"
[columnField] = "taskBoardConfig.columnField"
[resourceImagePath] = "taskBoardConfig.resourceImagePath"
</bryntum-task-board>
This not working because you don't have swimlaneField
inside of the <bryntum-task-board>
.
Add the swimlaneField
to <bryntum-task-board>
and you'll be good to go.
If I need to show a lane, but there is no data in that lane, how do I load it
My lanes are dynamically loaded, some of them have data in them, some of them don't, but I need them all loaded
Can you please provide a full test case and explain what is not working for you?
"taskData": [
{
"nodeName": "Design release",
"projectId": "3a049746-ee22-2171-bdd9-f1ab9fbbeb7a",
"parentId": "838bda58-ba77-4e6e-86ac-883c3cee4508",
"taskType": null,
"openPointId": null,
"status": "To Do",
"initStartTime": null,
"initEndTime": null,
"initWorkingHour": null,
"initCost": null,
"planStartTime": "2022-06-27T08:00:00",
"planEndTime": "2022-07-01T17:00:00",
"planWorkingHour": 0,
"planCost": null,
"realStartTime": null,
"realEndTime": null,
"realWorkingHour": null,
"realCost": null,
"progress": 0,
"executorName": null,
"cost": null,
"duration": 5,
"sequence": null,
"materialPlanCost": null,
"materialActualCost": null,
"actualProgress": 0,
"remark": "<p>111</p>",
"rollup": false,
"showInTimeline": true,
"expanded": "False",
"note": null,
"draggable": true,
"resizable": true,
"constraintDate": "7/1/2022 5:00:00 PM",
"constraintType": "finishnoearlierthan",
"durationUnit": "d",
"deadlineDate": null,
"effort": null,
"effortDriven": null,
"effortUnit": "h",
"inactive": null,
"manuallyScheduled": false,
"schedulingMode": "FixedEffort",
"slackUnit": null,
"cls": null,
"iconCls": null,
"style": null,
"taskIconCls": null,
"parentIndex": null,
"taskNo": null,
"priority": 100,
"groupId": "3a05a43c-09a0-b359-6c3d-8460bc7c9d07",
"tenantId": "3a047944-43ee-8651-13cd-ee2c89dca7fe",
"name": "Design release",
"prio": "High",
"assigner": null,
"date": "2022-07-01T17:00:00",
"groupName": "GroupA",
"displayName": null,
"displayFullName": null,
"projectCode": null,
"projectName": null,
"bookHour": 0,
"overTime": 0,
"workHour": 0,
"dailyTaskCount": 0,
"actionCount": 4,
"isDeleted": false,
"deleterId": null,
"deletionTime": null,
"lastModificationTime": "2022-08-15T15:17:00.863777",
"lastModifierId": "fbc68edc-33a5-4ee7-a1eb-c71c3c4f38f6",
"creationTime": "2022-06-24T13:52:03.797648",
"creatorId": "fbc68edc-33a5-4ee7-a1eb-c71c3c4f38f6",
"id": "01812028-384e-41c4-9ecc-27503dff1e26"
},
{
"nodeName": "HAP5",
"projectId": "3a049746-ee22-2171-bdd9-f1ab9fbbeb7a",
"parentId": "6eb86094-1202-4d64-91cd-d918a4c5f76d",
"taskType": null,
"openPointId": null,
"status": "To Do",
"initStartTime": null,
"initEndTime": null,
"initWorkingHour": null,
"initCost": null,
"planStartTime": "2023-01-16T08:00:00",
"planEndTime": "2023-02-10T17:00:00",
"planWorkingHour": 0,
"planCost": null,
"realStartTime": null,
"realEndTime": null,
"realWorkingHour": null,
"realCost": null,
"progress": 0,
"executorName": null,
"cost": null,
"duration": 15,
"sequence": null,
"materialPlanCost": null,
"materialActualCost": null,
"actualProgress": 0,
"remark": "<p>222</p>",
"rollup": false,
"showInTimeline": true,
"expanded": "False",
"note": null,
"draggable": true,
"resizable": true,
"constraintDate": "",
"constraintType": "",
"durationUnit": "d",
"deadlineDate": null,
"effort": null,
"effortDriven": null,
"effortUnit": "h",
"inactive": null,
"manuallyScheduled": false,
"schedulingMode": "FixedEffort",
"slackUnit": null,
"cls": null,
"iconCls": null,
"style": null,
"taskIconCls": null,
"parentIndex": 0,
"taskNo": null,
"priority": 100,
"groupId": "3a05a43c-09a0-b359-6c3d-8460bc7c9d07",
"tenantId": "3a047944-43ee-8651-13cd-ee2c89dca7fe",
"name": "HAP5",
"prio": "High",
"assigner": null,
"date": "2023-02-10T17:00:00",
"groupName": "GroupB",
"displayName": null,
"displayFullName": null,
"projectCode": null,
"projectName": null,
"bookHour": 0,
"overTime": 0,
"workHour": 0,
"dailyTaskCount": 0,
"actionCount": 0,
"isDeleted": false,
"deleterId": null,
"deletionTime": null,
"lastModificationTime": "2022-08-15T15:38:43.979202",
"lastModifierId": "fbc68edc-33a5-4ee7-a1eb-c71c3c4f38f6",
"creationTime": "2022-06-24T13:52:03.802457",
"creatorId": "fbc68edc-33a5-4ee7-a1eb-c71c3c4f38f6",
"id": "04d7f26b-8f60-430c-8d86-d9c5af5ca7d0"
},
]
autoGenerateSwimlanes : true,
swimlaneField: 'groupName',
At present, I have two swimming lanes in my data,GroupA and GroupB, but I also have a GroupC. There is no data in the GroupC, but I hope the user can see the GroupC and drag it back and forth. Now the question is how can I load a swimming lane GroupC without data
We need a runnable test case so we can run debug it. Could you please provide a runnable test case(in a .zip
file)?