work column

Does Blazor Gantt support tasktype (e.g. FixedWork, FixedDuration) and work columns like other syncfusion gantt charts?

2 Replies

MS Monisha Sivanthilingam Syncfusion Team December 4, 2020 09:31 AM UTC

Hi Tim, 
 
Currently, we do not have support for work and taskType mapping. However, we have already logged a feature report for this. You can track its status from the following feedback link. 
 
 
As we have already lined up some major features, we could not implement 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.  
 
Regards, 
Monisha. 



PS Premkumar Sudalaimuthu Syncfusion Team October 5, 2021 12:50 PM UTC

Hi Tim,          
We are glad to announce that our Essential Studio 2021 Volume 3 release v19.3.0.43 is rolled out which is available for download under the following link. 
We included the feature “Provide support for work and task type mapping” in above release. Also please find the code snippet below for further details. 
<SfGantt DataSource="@TaskCollection" Height="450px" Width="100%" ProjectStartDate="@ProjectStart" ProjectEndDate="@ProjectEnd" WorkUnit="WorkUnit.Hour" 
         Toolbar="@(new List<string>(){ "Add", "Edit", "Update", "Delete", "Cancel", "ExpandAll", "CollapseAll"})"> 
    <GanttTaskFields Id="TaskId" Name="TaskName" StartDate="StartDate" EndDate="EndDate" Duration="Duration" Progress="Progress" 
                     ParentID="ParentId" Work="Work" ResourceInfo="Resources" TaskType="TaskType"> 
    </GanttTaskFields> 
public class TaskData 
    { 
        public int TaskId { get; set; } 
        public string TaskName { get; set; } 
        public string TaskType { get; set; } 
        public double? Work { get; set; } 
    public DateTime StartDate { get; set; }    public DateTime EndDate { get; set; }}
public static List<TaskData> GetTaskCollection() 
    { 
        List<TaskData> Tasks = new List<TaskData>() { 
            new TaskData() { 
                TaskId = 1, 
                TaskName = "Project initiation", 
                StartDate = new DateTime(2019, 03, 28), 
                EndDate = new DateTime(2019, 07, 28), 
                TaskType ="FixedWork", 
                Work=128, 
                Duration="4" 
            }, 
} 
} 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
Regards, 
Premkumar S 


Loader.
Up arrow icon