Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Task Template

TitleStart DateDue Date
CollapseAnalysis/Software Requirements09/01/202109/28/2021
  Conduct needs analysis09/01/202109/03/2021
  Draft preliminary software specifications09/03/202109/05/2021
  Review software specifications/budget with team09/04/202109/06/2021
  Incorporate feedback on software specifications09/06/202109/08/2021
  Develop delivery timeline09/08/202109/14/2021
  Obtain approvals to proceed (concept, timeline, budget)09/14/202109/20/2021
  Draft preliminary software specifications09/20/202109/25/2021
  Secure required resources09/25/202109/28/2021


DevExpress ASP.NET MVC Gantt (GanttExtension) templates help customize the layout and appearance of individual task elements. Templates allow you to mix HTML code with any DevExpress ASP.NET MVC extension - and position desired elements within the container. In this demo, a template is used to display images within tasks and change their background color.

Implementation: Handle the client-side TaskShowing event to customize and align task information within the template container. For each task, use the e.item property to obtain task information (title, resource, progress) and wrap it into div elements. Then, apply CSS styles to these div elements and place them into the e.container property.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGanttDemos