{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "scheduler-timeline-grouping",
  "framework": "aspnet-mvc",
  "type": "registry:component",
  "component": "Scheduler",
  "variant": "timeline-grouping",
  "dependencies": [
    "Syncfusion.AspNetMvc.Schedule"
  ],
  "description": "Scheduler displays timeline appointments grouped by departments and assigned resources.",
  "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/scheduler-timeline-grouping.md"
  },
  "files": [
    {
      "target": "src/components/scheduler-timeline-grouping/Scheduler.cshtml",
      "content": "@using Syncfusion.EJ2\n@using Syncfusion.EJ2.Schedule\n\n@section ControlsSection{\n    <div class=\"control-section\">\n        <div class=\"content-wrapper\">\n            @Html.EJS().Schedule(\"schedule\").Width(\"100%\").Height(\"650px\").CurrentView(View.TimelineWeek).Views(view => { view.Option(View.TimelineDay).Add(); view.Option(View.TimelineWeek).Add(); view.Option(View.TimelineWorkWeek).Add(); view.Option(View.TimelineMonth).Add(); view.Option(View.Agenda).Add(); }).Group(group => group.Resources((string[])ViewData[\"Resources\"])).Resources(res =>\n            {\n                res.DataSource(ViewData[\"Projects\"]).Field(\"ProjectId\").Title(\"Choose Project\").Name(\"Projects\").TextField(\"text\").IdField(\"id\").ColorField(\"color\").Add();\n                res.DataSource(ViewData[\"Categories\"]).Field(\"TaskId\").Title(\"Category\").Name(\"Categories\").TextField(\"text\").IdField(\"id\").GroupIDField(\"groupId\").ColorField(\"color\").AllowMultiple(true).Add();\n            }).EventSettings(e => e.Fields(f => f.Subject(sub => sub.Name(\"Subject\").Title(\"Summary\")).Description(des => des.Name(\"Description\").Title(\"Comments\"))).DataSource(ViewData[\"datasource\"])).SelectedDate(new DateTime(DateTime.Today.Year, 4, 4)).WorkDays((int[])ViewData[\"workDays\"]).Render()\n        </div>\n    </div>\n    <style type=\"text/css\">\n        .e-schedule:not(.e-device) .e-agenda-view .e-content-wrap table td:first-child {\n            width: 90px;\n        }\n\n        .e-schedule .e-agenda-view .e-resource-column {\n            width: 100px;\n        }\n    </style>\n}\n"
    },
    {
      "target": "src/components/scheduler-timeline-grouping/SchedulerController.cs",
      "content": "using EJ2MVCSampleBrowser.Models;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web.Mvc;\n\nnamespace EJ2MVCSampleBrowser.Controllers.Schedule\n{\n    public partial class ScheduleController : Controller\n    {\n        public ActionResult TimelineResourceGroup()\n        {\n            ScheduleData data = new ScheduleData();\n            List<ScheduleData.ResourceData> resourceData = data.GetResourceData();\n            List<ScheduleData.ResourceData> timelineResourceData = data.GetTimelineResourceData();\n            ViewData[\"datasource\"] = resourceData.Concat(timelineResourceData);\n\n            List<ResourceDataSourceModel> projects = new List<ResourceDataSourceModel>();\n            projects.Add(new ResourceDataSourceModel { text = \"PROJECT 1\", id = 1, color = \"#cb6bb2\" });\n            projects.Add(new ResourceDataSourceModel { text = \"PROJECT 2\", id = 2, color = \"#56ca85\" });\n            ViewData[\"Projects\"] = projects;\n\n            List<ResourceDataSourceModel> categories = new List<ResourceDataSourceModel>();\n            categories.Add(new ResourceDataSourceModel { text = \"Nancy\", id = 1, groupId = 1, color = \"#df5286\" });\n            categories.Add(new ResourceDataSourceModel { text = \"Steven\", id = 2, groupId = 1, color = \"#7fa900\" });\n            ViewData[\"Categories\"] = categories;\n\n            ViewData[\"Resources\"] = new string[] { \"Projects\", \"Categories\" };\n            ViewData[\"workDays\"] = new int[] { 0, 1, 2, 3, 4, 5 };\n            return View(\"~/Views/Home/scheduler/timeline-grouping/Scheduler.cshtml\");\n        }\n    }\n}"
    }
  ]
}