Skip to main content

ejGantt

Namespace: Wisej.Web.Ext.Syncfusion

Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)

The Essential JavaScript Gantt control is designed to visualize and edit the project schedule, and track the project progress. It helps to organize and schedule the projects and also you can update the project schedule through interactions like editing, dragging and resizing.

public class ejGantt : ejBase

Constructors​

Instance member ejGantt()​

Constructs a new instance of the ejGantt class.

Example:

The following example creates the Gantt chart and maps the fields of the tasks through the options.

var gantt = new ejGantt();
gantt.Options.dataSource = tasks;
gantt.Options.taskIdMapping = "Id";
gantt.Options.taskNameMapping = "Name";
gantt.Options.startDateMapping = "StartDate";
gantt.Options.durationMapping = "Duration";
gantt.Dock = DockStyle.Fill;
this.Controls.Add(gantt);

Instance member ejGantt(options)​

Constructs a new instance of the ejGantt class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a Gantt chart bound to a hierarchical list of tasks that shows the progress of each task.

var gantt = new ejGantt(new
{
dataSource = tasks,
taskIdMapping = "Id",
taskNameMapping = "Name",
startDateMapping = "StartDate",
endDateMapping = "EndDate",
progressMapping = "Progress",
childMapping = "SubTasks"
});
gantt.Dock = DockStyle.Fill;
this.Controls.Add(gantt);

Implements​