BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
S. No |
Queries |
Syncfusion comments | |
1. |
How to set TaskId column data left aligned and TaskName with tree structure. |
We can set the TaskName column as treeColumn by using the property treeColumnIndex. We need to pass the index of the column in the property treeColumnIndex which we need to set as treeColumn. | |
2. |
How to set vertical border of columns? |
We can set the vertical borders on the column by using the property gridLines. Please find the below code snippet,
| |
3. |
How to show critical path? |
Currently we are not having the support for critical path in EJ2. However, we have logged a feature report for this. The status can be tracked through the below feedback link.
As we have already lined up some major features, we could not this support immediately. We will implement this and include it in any of our upcoming releases. Please cast your vote on this feature based on the customer demand we will prioritize the features in our upcoming road map. | |
4. |
How to display superordinate tasks (tasks with children) in bold by default? |
Yes, we can bold the parent tasks in EJ2 Gantt byu using some workaround. Please find the below code snippet,
We have prepared a sample for your reference. Please get the sample from below link.
| |
5. |
How to set column header height equal to chart header height? |
We are not able to reproduce the reported issue. Can you please confirm that you are mapping the CSS files properly? Else please share us a issue reproducible sample. It will be helpful for us to resolve the issue asap. |
Regarding the bold superordinate tasks:
With the proposed solution, when we collapse and expand again, all child tasks become bold as well. (Because the aria-expand=true is applied for all child tasks. Can replicate in the given ) Any workaround for this?
I have used the below solution.
<ejs-gantt id="ganttDefault" height="550px" [dataSource]="data"
[taskFields]="taskSettings" [allowSelection]="true"
[labelSettings]="labelSettings" [projectStartDate]="projectStartDate"
[projectEndDate]="projectEndDate"
(queryCellInfo)="queryCellInfo($event)" [highlightWeekends]="true">
</ejs-gantt>
|
public queryCellInfo(args: any) {
if (args.data.hasChildRecords) {
args.cell.className += ' e-bold';
}
}
|
<style>
.e-bold {
font-weight: bold;
}
</style>
|