{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "gantt-holidays",
  "framework": "aspnet-mvc",
  "type": "registry:component",
  "component": "Gantt",
  "variant": "holidays",
  "dependencies": [
    "Syncfusion.AspNetMvc.Gantt"
  ],
  "description": "Gantt chart displaying configured holidays alongside tasks and working time settings.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/aspnet-mvc/llms.txt",
    "skillPack": "syncfusion/aspnetmvc-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/aspnet-mvc/gantt-holidays.md"
  },
  "files": [
    {
      "target": "src/components/gantt-holidays/Gantt.cshtml",
      "content": "@using Syncfusion.EJ2\n@{\n    ViewData[\"Title\"] = \"Holidays\";\n}\n\n@section ControlsSection{\n    <div class=\"control-section\">\n        <div class=\"content-wrapper\">\n            @(Html.EJS().Gantt(\"Holidays\").DataSource((IEnumerable<object>)ViewData[\"DataSource\"]).Height(\"450px\").HighlightWeekends(true).AllowSelection(true)\n                .TaskFields(ts => ts.Id(\"TaskId\").Name(\"TaskName\").StartDate(\"StartDate\").EndDate(\"EndDate\").Duration(\"Duration\").Progress(\"Progress\")\n                .Dependency(\"Predecessor\").Child(\"SubTasks\")).TreeColumnIndex(1)\n                .Columns(col =>\n                {\n                    col.Field(\"TaskId\").Width(80).Add();\n                    col.Field(\"TaskName\").Width(250).Add();\n                    col.Field(\"StartDate\").Add();\n                    col.Field(\"EndDate\").Add();\n                    col.Field(\"Duration\").Add();\n                    col.Field(\"Predecessor\").Add();\n                    col.Field(\"Progress\").Add();\n                })\n                .Holidays(hol => {\n                    hol.From(\"04/04/2024\").To(\"04/04/2024\").Label(\"Local Holiday\").Add();\n                    hol.From(\"04/19/2024\").To(\"04/19/2024\").Label(\"Good Friday\").Add();\n                    hol.From(\"04/30/2024\").To(\"04/30/2024\").Label(\"Release Holiday\").Add();\n                })\n                .LabelSettings(ls => ls.LeftLabel(\"TaskName\"))\n                .ProjectStartDate(\"03/24/2024\")\n                .ProjectEndDate(\"07/06/2024\")\n                .Render()\n            )\n        </div>\n    </div>\n}"
    },
    {
      "target": "src/components/gantt-holidays/GanttController.cs",
      "content": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\nusing System.Web.Mvc;\nusing EJ2MVCSampleBrowser.Models;\n\nnamespace EJ2MVCSampleBrowser.Controllers.Gantt\n{\n    public partial class GanttChartController : Controller\n    {\n        // GET: Gantt\n        public ActionResult Holidays()\n        {\n            ViewData[\"DataSource\"] = GanttData.ProjectNewData();\n            return View(\"~/Views/Home/gantt/holidays/Gantt.cshtml\");\n        }\n    }\n}"
    }
  ]
}