We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use class files that are described in the documentation "/ Gantt / Getting Started"?

Thread ID:

Created:

Updated:

Platform:

Replies:

146504 Aug 6,2019 12:20 PM UTC Aug 7,2019 09:20 AM UTC ASP.NET Core - EJ 2 1
loading
Tags: Gantt Chart
Ivan Shulgin
Asked On August 6, 2019 12:20 PM UTC

The documentation for `Step 6` and later uses class files:
  - `gantt.cs`;
  - `bindingdata.cs`
  - `mappingfields.cs`
  - `definingcolumns.cs`

1. How to use these classes?
2. How to create a Gantt chart?


Gurunathan A [Syncfusion]
Replied On August 7, 2019 09:20 AM UTC

Hi Ivan, 
 
Greetings from Syncfusion support. 
 
No 
Queries 
Syncfusion Comments 
 
1 
 
 
How to use these classes? 
`gantt.cs`; 
`bindingdata.cs` 
`mappingfields.cs` 
 `definingcolumns.cs` 
 
These are the controller files used to provide the data source to Gantt. This files not related to each other file. This are specific to the topic where it is mentioned.  
 
Please find the code snippets of example controller file with view name as Index. 
 
 
public class HomeController : Controller 
    { 
 
        public IActionResult Index() 
        { 
            ViewBag.DataSource = ganttData(); 
            return View(); 
        } 
        //... 
    } 
 
 
 
2 
 
 
How to create a Gantt chart? 
 
 
We have prepared a simple Gantt sample by following the steps mentioned in UG documentation. In this, we have created the HomeController.cs file with Index.cshtml view page. Please find the sample from below link. 
 
 
 
Please get back to us if you require further assistance on this. 
 
Regards, 
Gurunathan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon