Your search did not match any results.

Tree List - Batch Editing

You can use batch edit mode to defer saving multiple cell changes. Changes are stored in a buffer and can be discarded before a user clicks the Save button.

Backend API
<div id="tree-list-demo"> @(Html.DevExtreme().TreeList<DevExtreme.NETCore.Demos.Models.TreeList.EmployeeTask>() .ID("tasks") .DataSource(ds => ds.Mvc() .Controller("TreeListTasks") .LoadAction("Tasks") .UpdateAction("UpdateTask") .InsertAction("InsertTask") .DeleteAction("DeleteTask") .Key("Task_ID") ) .KeyExpr("Task_ID") .ParentIdExpr("Task_Parent_ID") .ColumnAutoWidth(true) .WordWrapEnabled(true) .ShowBorders(true) .Editing(editing => editing .Mode(GridEditMode.Batch) .AllowAdding(true) .AllowUpdating(true) .AllowDeleting(true) ) .Columns(columns => { columns.AddFor(m => m.Task_Subject) .MinWidth(250); columns.AddFor(m => m.Task_Assigned_Employee_ID) .MinWidth(120) .Lookup(lookup => lookup .DataSource(ds => ds.Mvc() .Controller("TreeListTasks") .LoadAction("TaskEmployees") .Key("ID") ) .ValueExpr("ID") .DisplayExpr("Name") ); columns.AddFor(m => m.Task_Status) .MinWidth(120) .Lookup(lookup => lookup .DataSource(new[] { "Not Started", "Need Assistance", "In Progress", "Deferred", "Completed" }) ); columns.AddFor(m => m.Task_Start_Date); columns.AddFor(m => m.Task_Due_Date); }) .ColumnAutoWidth(true) .OnInitNewRow("treeList_onInitNewRow") ) </div> <script> function treeList_onInitNewRow(e) { e.data.Task_Status = "Not Started"; e.data.Task_Start_Date = new Date(); e.data.Task_Due_Date = new Date(); } </script>
using Microsoft.AspNetCore.Mvc; using DevExtreme.NETCore.Demos.Models.SampleData; namespace DevExtreme.NETCore.Demos.Controllers { public class TreeListController : Controller { public ActionResult BatchEditing() { return View(); } } }
using DevExtreme.AspNet.Data; using DevExtreme.AspNet.Mvc; using Newtonsoft.Json; using System; using Microsoft.AspNetCore.Mvc; using System.Linq; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; using DevExtreme.NETCore.Demos.Models.TreeList; namespace DevExtreme.NETCore.Demos.Controllers.ApiControllers { [Route("api/[controller]/[action]")] public class TreeListTasksController : Controller { InMemoryTasksDataContext db; public TreeListTasksController(IHttpContextAccessor httpContextAccessor, IMemoryCache memoryCache) { db = new InMemoryTasksDataContext(httpContextAccessor, memoryCache); } [HttpGet] public object Tasks(DataSourceLoadOptions loadOptions) { var tasks = from d in db.Tasks select new EmployeeTask { Task_ID = d.Task_ID, Task_Parent_ID = d.Task_Parent_ID, Task_Owner_ID = d.Task_Owner_ID, Task_Assigned_Employee_ID = d.Task_Assigned_Employee_ID, Task_Completion = d.Task_Completion, Task_Priority = d.Task_Priority, Task_Status = d.Task_Status, Task_Subject = d.Task_Subject, Task_Start_Date = d.Task_Start_Date, Task_Due_Date = d.Task_Due_Date, Has_Items = db.Tasks.Count(task => task.Task_Parent_ID == d.Task_ID) > 0 }; return DataSourceLoader.Load(tasks, loadOptions); } [HttpGet] public object TasksWithEmployees(DataSourceLoadOptions loadOptions) { var tasks = from d in db.Tasks select new Models.TreeList.EmployeeTask { Task_ID = d.Task_ID, Task_Parent_ID = d.Task_Parent_ID, Task_Owner_ID = d.Task_Owner_ID, Task_Assigned_Employee_ID = d.Task_Assigned_Employee_ID, Task_Assigned_Employee = db.Employees.Where(employee => employee.ID == d.Task_Assigned_Employee_ID).FirstOrDefault(), Task_Completion = d.Task_Completion, Task_Priority = d.Task_Priority, Task_Status = d.Task_Status, Task_Subject = d.Task_Subject, Task_Start_Date = d.Task_Start_Date, Task_Due_Date = d.Task_Due_Date }; return DataSourceLoader.Load(tasks, loadOptions); } [HttpGet] public object TaskEmployees(DataSourceLoadOptions loadOptions) { return DataSourceLoader.Load(db.Employees, loadOptions); } [HttpPost] public IActionResult InsertTask(string values) { var newItem = new EmployeeTask(); JsonConvert.PopulateObject(values, newItem); if(!TryValidateModel(newItem)) return BadRequest(ModelState.GetFullErrorMessage()); db.Tasks.Add(newItem); db.SaveChanges(); return Ok(); } [HttpPut] public IActionResult UpdateTask(int key, string values) { var item = db.Tasks.First(e => e.Task_ID == key); JsonConvert.PopulateObject(values, item); if(!TryValidateModel(item)) return BadRequest(ModelState.GetFullErrorMessage()); db.SaveChanges(); return Ok(); } [HttpDelete] public void DeleteTask(int key) { var item = db.Tasks.First(e => e.Task_ID == key); db.Tasks.Remove(item); db.SaveChanges(); } } }
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace DevExtreme.NETCore.Demos.Models.TreeList { [JsonConverter(typeof(StringEnumConverter))] public enum Priority { Low, Normal, High, Urgent } public class EmployeeTask { public int Task_ID { set; get; } public int Task_Parent_ID { set; get; } [Required] [Display(Name = "Assigned")] public int Task_Assigned_Employee_ID { set; get; } public TaskEmployee Task_Assigned_Employee { set; get; } public int Task_Owner_ID { set; get; } [Required] [Display(Name = "Task Subject")] public string Task_Subject { set; get; } [Display(Name = "Start Date")] public DateTime Task_Start_Date { set; get; } [Display(Name = "Due Date")] public DateTime Task_Due_Date { set; get; } [Display(Name = "Status")] public string Task_Status { set; get; } public Priority Task_Priority { set; get; } public int Task_Completion { set; get; } public bool Has_Items { get; set; } } public class TaskEmployee { public int ID { set; get; } public string Name { set; get; } public string Picture { set; get; } } }
using System; using System.Collections.Generic; using System.Linq; namespace DevExtreme.NETCore.Demos.Models.SampleData { using EmployeeTask = TreeList.EmployeeTask; using Priority = TreeList.Priority; using TaskEmployee = TreeList.TaskEmployee; public partial class SampleData { public static readonly IEnumerable<EmployeeTask> EmployeeTasks = new[] { new EmployeeTask { Task_ID = 1, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 1, Task_Subject = "Plans 2015", Task_Start_Date = DateTime.Parse("2015-01-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-01T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 2, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 1, Task_Subject = "Health Insurance", Task_Start_Date = DateTime.Parse("2015-02-12T00:00:00"), Task_Due_Date = DateTime.Parse("2015-05-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 75, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 3, Task_Assigned_Employee_ID = 4, Task_Owner_ID = 4, Task_Subject = "New Brochures", Task_Start_Date = DateTime.Parse("2015-02-17T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-01T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 4, Task_Assigned_Employee_ID = 31, Task_Owner_ID = 33, Task_Subject = "Training", Task_Start_Date = DateTime.Parse("2015-03-02T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-29T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 5, Task_Assigned_Employee_ID = 5, Task_Owner_ID = 5, Task_Subject = "NDA", Task_Start_Date = DateTime.Parse("2015-03-12T00:00:00"), Task_Due_Date = DateTime.Parse("2015-05-01T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.High, Task_Completion = 90, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 6, Task_Assigned_Employee_ID = 7, Task_Owner_ID = 1, Task_Subject = "Revenue Projections", Task_Start_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 7, Task_Assigned_Employee_ID = 9, Task_Owner_ID = 9, Task_Subject = "TV Recall", Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-04T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 90, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 8, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 5, Task_Subject = "Overtime", Task_Start_Date = DateTime.Parse("2015-06-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-20T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 9, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 12, Task_Subject = "Recall and Refund Forms", Task_Start_Date = DateTime.Parse("2015-06-17T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 10, Task_Assigned_Employee_ID = 10, Task_Owner_ID = 8, Task_Subject = "Shippers", Task_Start_Date = DateTime.Parse("2015-07-10T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-11T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 11, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 22, Task_Subject = "Hardware Upgrade", Task_Start_Date = DateTime.Parse("2015-07-22T00:00:00"), Task_Due_Date = DateTime.Parse("2016-05-01T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.High, Task_Completion = 95, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 12, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 24, Task_Subject = "Touch-Enabled Apps", Task_Start_Date = DateTime.Parse("2015-08-05T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 90, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 13, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 6, Task_Subject = "Online Sales", Task_Start_Date = DateTime.Parse("2015-08-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-09-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 14, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 8, Task_Subject = "New Website Design", Task_Start_Date = DateTime.Parse("2015-09-17T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-01T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 15, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 22, Task_Subject = "Bandwidth Increase", Task_Start_Date = DateTime.Parse("2015-11-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-07T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 16, Task_Assigned_Employee_ID = 18, Task_Owner_ID = 9, Task_Subject = "Support", Task_Start_Date = DateTime.Parse("2015-11-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 17, Task_Assigned_Employee_ID = 31, Task_Owner_ID = 31, Task_Subject = "Training Material", Task_Start_Date = DateTime.Parse("2015-11-14T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-05T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 18, Task_Assigned_Employee_ID = 22, Task_Owner_ID = 3, Task_Subject = "New Database", Task_Start_Date = DateTime.Parse("2015-12-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-29T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 95, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 19, Task_Assigned_Employee_ID = 32, Task_Owner_ID = 3, Task_Subject = "New HDMI Specification", Task_Start_Date = DateTime.Parse("2016-01-02T00:00:00"), Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 50, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 20, Task_Assigned_Employee_ID = 3, Task_Owner_ID = 3, Task_Subject = "Automation Server", Task_Start_Date = DateTime.Parse("2016-01-15T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.High, Task_Completion = 85, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 21, Task_Assigned_Employee_ID = 40, Task_Owner_ID = 8, Task_Subject = "Retail Sales", Task_Start_Date = DateTime.Parse("2016-01-20T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-10T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 22, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 1, Task_Subject = "Reports", Task_Start_Date = DateTime.Parse("2016-03-13T00:00:00"), Task_Due_Date = DateTime.Parse("2016-05-07T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 50, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 23, Task_Assigned_Employee_ID = 5, Task_Owner_ID = 1, Task_Subject = "Budget", Task_Start_Date = DateTime.Parse("2016-03-20T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-01T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 30, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 24, Task_Assigned_Employee_ID = 13, Task_Owner_ID = 10, Task_Subject = "Shipping Labels", Task_Start_Date = DateTime.Parse("2016-04-01T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 50, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 25, Task_Assigned_Employee_ID = 10, Task_Owner_ID = 10, Task_Subject = "New Warehouse", Task_Start_Date = DateTime.Parse("2016-04-05T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 65, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 26, Task_Assigned_Employee_ID = 10, Task_Owner_ID = 10, Task_Subject = "Forklift", Task_Start_Date = DateTime.Parse("2016-04-07T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-20T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 20, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 27, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 30, Task_Subject = "Customer Follow Up Plan", Task_Start_Date = DateTime.Parse("2016-05-05T00:00:00"), Task_Due_Date = DateTime.Parse("2016-05-11T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 40, Task_Parent_ID = 0 }, new EmployeeTask { Task_ID = 28, Task_Assigned_Employee_ID = 7, Task_Owner_ID = 1, Task_Subject = "Prepare 2015 Financial", Task_Start_Date = DateTime.Parse("2015-01-15T00:00:00"), Task_Due_Date = DateTime.Parse("2015-01-31T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 1 }, new EmployeeTask { Task_ID = 29, Task_Assigned_Employee_ID = 4, Task_Owner_ID = 1, Task_Subject = "Prepare 2015 Marketing Plan", Task_Start_Date = DateTime.Parse("2015-01-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-01-31T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 1 }, new EmployeeTask { Task_ID = 30, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 1, Task_Subject = "Review Health Insurance Options Under the Affordable Care Act", Task_Start_Date = DateTime.Parse("2015-02-12T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-25T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 50, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 31, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 2, Task_Subject = "Choose between PPO and HMO Health Plan", Task_Start_Date = DateTime.Parse("2015-02-15T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-15T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 75, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 32, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 4, Task_Subject = "Google AdWords Strategy", Task_Start_Date = DateTime.Parse("2015-02-16T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-28T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 29 }, new EmployeeTask { Task_ID = 34, Task_Assigned_Employee_ID = 28, Task_Owner_ID = 1, Task_Subject = "2015 Brochure Designs", Task_Start_Date = DateTime.Parse("2015-02-19T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 3 }, new EmployeeTask { Task_ID = 35, Task_Assigned_Employee_ID = 29, Task_Owner_ID = 28, Task_Subject = "Brochure Design Review", Task_Start_Date = DateTime.Parse("2015-02-19T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-22T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 34 }, new EmployeeTask { Task_ID = 36, Task_Assigned_Employee_ID = 29, Task_Owner_ID = 28, Task_Subject = "Website Re-Design Plan", Task_Start_Date = DateTime.Parse("2015-02-19T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 34 }, new EmployeeTask { Task_ID = 37, Task_Assigned_Employee_ID = 4, Task_Owner_ID = 1, Task_Subject = "Rollout of New Website and Marketing Brochures", Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-28T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 3 }, new EmployeeTask { Task_ID = 38, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 4, Task_Subject = "Update Sales Strategy Documents", Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-22T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 29 }, new EmployeeTask { Task_ID = 39, Task_Assigned_Employee_ID = 41, Task_Owner_ID = 8, Task_Subject = "Create 2012 Sales Report", Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-21T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 29 }, new EmployeeTask { Task_ID = 40, Task_Assigned_Employee_ID = 42, Task_Owner_ID = 41, Task_Subject = "Direct vs Online Sales Comparison Report", Task_Start_Date = DateTime.Parse("2015-02-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-22T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 29 }, new EmployeeTask { Task_ID = 41, Task_Assigned_Employee_ID = 4, Task_Owner_ID = 41, Task_Subject = "Review 2012 Sales Report and Approve 2015 Plans", Task_Start_Date = DateTime.Parse("2015-02-23T00:00:00"), Task_Due_Date = DateTime.Parse("2015-02-28T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 29 }, new EmployeeTask { Task_ID = 42, Task_Assigned_Employee_ID = 3, Task_Owner_ID = 1, Task_Subject = "Deliver R&D Plans for 2015", Task_Start_Date = DateTime.Parse("2015-03-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-10T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 1 }, new EmployeeTask { Task_ID = 43, Task_Assigned_Employee_ID = 32, Task_Owner_ID = 3, Task_Subject = "Create 2015 R&D Plans", Task_Start_Date = DateTime.Parse("2015-03-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-07T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 42 }, new EmployeeTask { Task_ID = 44, Task_Assigned_Employee_ID = 33, Task_Owner_ID = 32, Task_Subject = "2015 QA Strategy Report", Task_Start_Date = DateTime.Parse("2015-03-02T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-05T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 42 }, new EmployeeTask { Task_ID = 45, Task_Assigned_Employee_ID = 31, Task_Owner_ID = 33, Task_Subject = "2015 Training Events", Task_Start_Date = DateTime.Parse("2015-03-02T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-04T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 4 }, new EmployeeTask { Task_ID = 46, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 5, Task_Subject = "Non-Compete Agreements", Task_Start_Date = DateTime.Parse("2015-03-12T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-14T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Low, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 47, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 2, Task_Subject = "Update NDA Agreement", Task_Start_Date = DateTime.Parse("2015-03-14T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-16T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 48, Task_Assigned_Employee_ID = 5, Task_Owner_ID = 2, Task_Subject = "Update Employee Files with New NDA", Task_Start_Date = DateTime.Parse("2015-03-16T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-26T00:00:00"), Task_Status = "Need Assistance", Task_Priority = Priority.Normal, Task_Completion = 90, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 49, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 5, Task_Subject = "Sign Updated NDA", Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 50, Task_Assigned_Employee_ID = 7, Task_Owner_ID = 5, Task_Subject = "Sign Updated NDA", Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 51, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 5, Task_Subject = "Sign Updated NDA", Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Status = "Need Assistance", Task_Priority = Priority.High, Task_Completion = 25, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 52, Task_Assigned_Employee_ID = 9, Task_Owner_ID = 5, Task_Subject = "Sign Updated NDA", Task_Start_Date = DateTime.Parse("2015-03-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 53, Task_Assigned_Employee_ID = 17, Task_Owner_ID = 9, Task_Subject = "Submit Questions Regarding New NDA", Task_Start_Date = DateTime.Parse("2015-03-21T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 54, Task_Assigned_Employee_ID = 18, Task_Owner_ID = 9, Task_Subject = "Submit Questions Regarding New NDA", Task_Start_Date = DateTime.Parse("2015-03-21T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 55, Task_Assigned_Employee_ID = 19, Task_Owner_ID = 9, Task_Subject = "Submit Questions Regarding New NDA", Task_Start_Date = DateTime.Parse("2015-03-21T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Status = "Need Assistance", Task_Priority = Priority.Urgent, Task_Completion = 25, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 56, Task_Assigned_Employee_ID = 14, Task_Owner_ID = 10, Task_Subject = "Submit Signed NDA", Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 57, Task_Assigned_Employee_ID = 13, Task_Owner_ID = 10, Task_Subject = "Submit Signed NDA", Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 58, Task_Assigned_Employee_ID = 15, Task_Owner_ID = 10, Task_Subject = "Submit Signed NDA", Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 59, Task_Assigned_Employee_ID = 16, Task_Owner_ID = 10, Task_Subject = "Submit Signed NDA", Task_Start_Date = DateTime.Parse("2015-03-22T00:00:00"), Task_Due_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 5 }, new EmployeeTask { Task_ID = 60, Task_Assigned_Employee_ID = 7, Task_Owner_ID = 1, Task_Subject = "Update Revenue Projections", Task_Start_Date = DateTime.Parse("2015-03-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-07T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 6 }, new EmployeeTask { Task_ID = 61, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 7, Task_Subject = "Review Revenue Projections", Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-06T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 6 }, new EmployeeTask { Task_ID = 62, Task_Assigned_Employee_ID = 41, Task_Owner_ID = 7, Task_Subject = "Comment on Revenue Projections", Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-03T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 6 }, new EmployeeTask { Task_ID = 63, Task_Assigned_Employee_ID = 42, Task_Owner_ID = 7, Task_Subject = "Comment on Revenue Projections", Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-03T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 6 }, new EmployeeTask { Task_ID = 64, Task_Assigned_Employee_ID = 45, Task_Owner_ID = 7, Task_Subject = "Comment on Revenue Projections", Task_Start_Date = DateTime.Parse("2015-03-25T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-03T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.High, Task_Completion = 25, Task_Parent_ID = 6 }, new EmployeeTask { Task_ID = 65, Task_Assigned_Employee_ID = 5, Task_Owner_ID = 11, Task_Subject = "Provide New Health Insurance Docs", Task_Start_Date = DateTime.Parse("2015-03-28T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-07T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 66, Task_Assigned_Employee_ID = 10, Task_Owner_ID = 11, Task_Subject = "Review Changes to Health Insurance Coverage", Task_Start_Date = DateTime.Parse("2015-04-07T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-30T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 67, Task_Assigned_Employee_ID = 14, Task_Owner_ID = 10, Task_Subject = "Scan Health Insurance Forms", Task_Start_Date = DateTime.Parse("2015-04-15T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-20T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 68, Task_Assigned_Employee_ID = 15, Task_Owner_ID = 14, Task_Subject = "Sign Health Insurance Forms", Task_Start_Date = DateTime.Parse("2015-04-16T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-19T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 69, Task_Assigned_Employee_ID = 13, Task_Owner_ID = 14, Task_Subject = "Sign Health Insurance Forms", Task_Start_Date = DateTime.Parse("2015-04-16T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-19T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 70, Task_Assigned_Employee_ID = 16, Task_Owner_ID = 14, Task_Subject = "Sign Health Insurance Forms", Task_Start_Date = DateTime.Parse("2015-04-16T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-19T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 2 }, new EmployeeTask { Task_ID = 71, Task_Assigned_Employee_ID = 18, Task_Owner_ID = 9, Task_Subject = "Follow up with West Coast Stores", Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-04T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.High, Task_Completion = 95, Task_Parent_ID = 7 }, new EmployeeTask { Task_ID = 72, Task_Assigned_Employee_ID = 17, Task_Owner_ID = 9, Task_Subject = "Follow up with East Coast Stores", Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"), Task_Due_Date = DateTime.Parse("2016-01-04T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.High, Task_Completion = 85, Task_Parent_ID = 7 }, new EmployeeTask { Task_ID = 73, Task_Assigned_Employee_ID = 19, Task_Owner_ID = 9, Task_Subject = "Send Email to Customers about Recall", Task_Start_Date = DateTime.Parse("2015-04-18T00:00:00"), Task_Due_Date = DateTime.Parse("2015-04-30T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 7 }, new EmployeeTask { Task_ID = 74, Task_Assigned_Employee_ID = 9, Task_Owner_ID = 7, Task_Subject = "Submit Refund Report for 2015 Recall", Task_Start_Date = DateTime.Parse("2015-04-25T00:00:00"), Task_Due_Date = DateTime.Parse("2015-05-05T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 7 }, new EmployeeTask { Task_ID = 75, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 7, Task_Subject = "Give Final Approval for Refunds", Task_Start_Date = DateTime.Parse("2015-05-05T00:00:00"), Task_Due_Date = DateTime.Parse("2015-05-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 7 }, new EmployeeTask { Task_ID = 76, Task_Assigned_Employee_ID = 32, Task_Owner_ID = 3, Task_Subject = "Prepare Product Recall Report", Task_Start_Date = DateTime.Parse("2015-05-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-05-16T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 7 }, new EmployeeTask { Task_ID = 77, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 3, Task_Subject = "Review Product Recall Report by Engineering Team", Task_Start_Date = DateTime.Parse("2015-05-17T00:00:00"), Task_Due_Date = DateTime.Parse("2015-05-20T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 7 }, new EmployeeTask { Task_ID = 78, Task_Assigned_Employee_ID = 31, Task_Owner_ID = 32, Task_Subject = "Create Training Course for New TVs", Task_Start_Date = DateTime.Parse("2015-05-29T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-29T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 4 }, new EmployeeTask { Task_ID = 79, Task_Assigned_Employee_ID = 33, Task_Owner_ID = 31, Task_Subject = "Review Training Course for any Omissions", Task_Start_Date = DateTime.Parse("2015-06-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 4 }, new EmployeeTask { Task_ID = 80, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 5, Task_Subject = "Review Overtime Report", Task_Start_Date = DateTime.Parse("2015-06-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-14T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 8 }, new EmployeeTask { Task_ID = 81, Task_Assigned_Employee_ID = 21, Task_Owner_ID = 6, Task_Subject = "Submit Overtime Request Forms", Task_Start_Date = DateTime.Parse("2015-06-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-12T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 8 }, new EmployeeTask { Task_ID = 82, Task_Assigned_Employee_ID = 22, Task_Owner_ID = 6, Task_Subject = "Submit Overtime Request Forms", Task_Start_Date = DateTime.Parse("2015-06-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-12T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 8 }, new EmployeeTask { Task_ID = 83, Task_Assigned_Employee_ID = 23, Task_Owner_ID = 6, Task_Subject = "Submit Overtime Request Forms", Task_Start_Date = DateTime.Parse("2015-06-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-12T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 8 }, new EmployeeTask { Task_ID = 84, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 6, Task_Subject = "Overtime Approval Guidelines", Task_Start_Date = DateTime.Parse("2015-06-15T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-20T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 8 }, new EmployeeTask { Task_ID = 85, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 12, Task_Subject = "Refund Request Template", Task_Start_Date = DateTime.Parse("2015-06-17T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-01T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 9 }, new EmployeeTask { Task_ID = 86, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 12, Task_Subject = "Recall Rebate Form", Task_Start_Date = DateTime.Parse("2015-06-17T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-01T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 9 }, new EmployeeTask { Task_ID = 87, Task_Assigned_Employee_ID = 12, Task_Owner_ID = 30, Task_Subject = "Create Report on Customer Feedback", Task_Start_Date = DateTime.Parse("2015-06-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-06-30T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 9 }, new EmployeeTask { Task_ID = 88, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 30, Task_Subject = "Review Customer Feedback Report", Task_Start_Date = DateTime.Parse("2015-06-30T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-03T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 9 }, new EmployeeTask { Task_ID = 89, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 8, Task_Subject = "Customer Feedback Report Analysis", Task_Start_Date = DateTime.Parse("2015-07-05T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 9 }, new EmployeeTask { Task_ID = 90, Task_Assigned_Employee_ID = 10, Task_Owner_ID = 8, Task_Subject = "Prepare Shipping Cost Analysis Report", Task_Start_Date = DateTime.Parse("2015-07-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 10 }, new EmployeeTask { Task_ID = 91, Task_Assigned_Employee_ID = 13, Task_Owner_ID = 10, Task_Subject = "Provide Feedback on Shippers", Task_Start_Date = DateTime.Parse("2015-07-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-14T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 10 }, new EmployeeTask { Task_ID = 92, Task_Assigned_Employee_ID = 15, Task_Owner_ID = 10, Task_Subject = "Provide Feedback on Shippers", Task_Start_Date = DateTime.Parse("2015-07-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-14T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 10 }, new EmployeeTask { Task_ID = 93, Task_Assigned_Employee_ID = 16, Task_Owner_ID = 10, Task_Subject = "Provide Feedback on Shippers", Task_Start_Date = DateTime.Parse("2015-07-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-14T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 10 }, new EmployeeTask { Task_ID = 94, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 10, Task_Subject = "Select Preferred Shipper", Task_Start_Date = DateTime.Parse("2015-07-16T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-20T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 10 }, new EmployeeTask { Task_ID = 95, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 2, Task_Subject = "Complete Shipper Selection Form", Task_Start_Date = DateTime.Parse("2015-07-21T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-11T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Urgent, Task_Completion = 0, Task_Parent_ID = 10 }, new EmployeeTask { Task_ID = 96, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 22, Task_Subject = "Upgrade Server Hardware", Task_Start_Date = DateTime.Parse("2015-07-22T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-31T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 11 }, new EmployeeTask { Task_ID = 97, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 21, Task_Subject = "Upgrade Personal Computers", Task_Start_Date = DateTime.Parse("2015-07-24T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 85, Task_Parent_ID = 11 }, new EmployeeTask { Task_ID = 98, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 6, Task_Subject = "Approve Personal Computer Upgrade Plan", Task_Start_Date = DateTime.Parse("2015-07-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-07-31T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 11 }, new EmployeeTask { Task_ID = 99, Task_Assigned_Employee_ID = 3, Task_Owner_ID = 6, Task_Subject = "Decide on Mobile Devices to Use in the Field", Task_Start_Date = DateTime.Parse("2015-07-30T00:00:00"), Task_Due_Date = DateTime.Parse("2015-08-02T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 11 }, new EmployeeTask { Task_ID = 100, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 24, Task_Subject = "Upgrade Apps to Windows RT or stay with WinForms", Task_Start_Date = DateTime.Parse("2015-08-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-08-05T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 12 }, new EmployeeTask { Task_ID = 101, Task_Assigned_Employee_ID = 25, Task_Owner_ID = 24, Task_Subject = "Estimate Time Required to Touch-Enable Apps", Task_Start_Date = DateTime.Parse("2015-08-05T00:00:00"), Task_Due_Date = DateTime.Parse("2015-08-07T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 12 }, new EmployeeTask { Task_ID = 102, Task_Assigned_Employee_ID = 23, Task_Owner_ID = 6, Task_Subject = "Report on Tranistion to Touch-Based Apps", Task_Start_Date = DateTime.Parse("2015-08-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-08-11T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 12 }, new EmployeeTask { Task_ID = 103, Task_Assigned_Employee_ID = 3, Task_Owner_ID = 6, Task_Subject = "Try New Touch-Enabled WinForms Apps", Task_Start_Date = DateTime.Parse("2015-08-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-08-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 12 }, new EmployeeTask { Task_ID = 104, Task_Assigned_Employee_ID = 24, Task_Owner_ID = 6, Task_Subject = "Rollout New Touch-Enabled WinForms Apps", Task_Start_Date = DateTime.Parse("2015-08-17T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 75, Task_Parent_ID = 12 }, new EmployeeTask { Task_ID = 105, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 3, Task_Subject = "Site Up-Time Report", Task_Start_Date = DateTime.Parse("2015-08-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-08-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 13 }, new EmployeeTask { Task_ID = 106, Task_Assigned_Employee_ID = 4, Task_Owner_ID = 3, Task_Subject = "Review Site Up-Time Report", Task_Start_Date = DateTime.Parse("2015-08-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-08-30T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 13 }, new EmployeeTask { Task_ID = 107, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 4, Task_Subject = "Review Online Sales Report", Task_Start_Date = DateTime.Parse("2015-08-30T00:00:00"), Task_Due_Date = DateTime.Parse("2015-09-04T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 13 }, new EmployeeTask { Task_ID = 108, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 4, Task_Subject = "Determine New Online Marketing Strategy", Task_Start_Date = DateTime.Parse("2015-09-03T00:00:00"), Task_Due_Date = DateTime.Parse("2015-09-10T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 13 }, new EmployeeTask { Task_ID = 109, Task_Assigned_Employee_ID = 42, Task_Owner_ID = 8, Task_Subject = "New Online Marketing Strategy", Task_Start_Date = DateTime.Parse("2015-09-05T00:00:00"), Task_Due_Date = DateTime.Parse("2015-09-11T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 13 }, new EmployeeTask { Task_ID = 110, Task_Assigned_Employee_ID = 4, Task_Owner_ID = 8, Task_Subject = "Approve New Online Marketing Strategy", Task_Start_Date = DateTime.Parse("2015-09-15T00:00:00"), Task_Due_Date = DateTime.Parse("2015-09-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 13 }, new EmployeeTask { Task_ID = 111, Task_Assigned_Employee_ID = 28, Task_Owner_ID = 8, Task_Subject = "Submit New Website Design", Task_Start_Date = DateTime.Parse("2015-09-17T00:00:00"), Task_Due_Date = DateTime.Parse("2015-09-22T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 14 }, new EmployeeTask { Task_ID = 112, Task_Assigned_Employee_ID = 29, Task_Owner_ID = 28, Task_Subject = "Create Icons for Website", Task_Start_Date = DateTime.Parse("2015-09-17T00:00:00"), Task_Due_Date = DateTime.Parse("2015-09-21T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 111 }, new EmployeeTask { Task_ID = 113, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 28, Task_Subject = "Review PSDs for New Website", Task_Start_Date = DateTime.Parse("2015-09-23T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 111 }, new EmployeeTask { Task_ID = 114, Task_Assigned_Employee_ID = 24, Task_Owner_ID = 6, Task_Subject = "Create New Shopping Cart", Task_Start_Date = DateTime.Parse("2015-09-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-01T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 113 }, new EmployeeTask { Task_ID = 115, Task_Assigned_Employee_ID = 25, Task_Owner_ID = 6, Task_Subject = "Create New Product Pages", Task_Start_Date = DateTime.Parse("2015-09-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-04T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 113 }, new EmployeeTask { Task_ID = 116, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 6, Task_Subject = "Review New Product Pages", Task_Start_Date = DateTime.Parse("2015-10-04T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-10T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 113 }, new EmployeeTask { Task_ID = 117, Task_Assigned_Employee_ID = 4, Task_Owner_ID = 8, Task_Subject = "Approve Website Launch", Task_Start_Date = DateTime.Parse("2015-10-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 113 }, new EmployeeTask { Task_ID = 118, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 8, Task_Subject = "Launch New Website", Task_Start_Date = DateTime.Parse("2015-10-15T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-16T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 111 }, new EmployeeTask { Task_ID = 119, Task_Assigned_Employee_ID = 14, Task_Owner_ID = 10, Task_Subject = "Update Customer Shipping Profiles", Task_Start_Date = DateTime.Parse("2015-10-20T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-22T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 14 }, new EmployeeTask { Task_ID = 120, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 10, Task_Subject = "Create New Shipping Return Labels", Task_Start_Date = DateTime.Parse("2015-10-21T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-30T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 119 }, new EmployeeTask { Task_ID = 121, Task_Assigned_Employee_ID = 23, Task_Owner_ID = 6, Task_Subject = "Get Design for Shipping Return Labels", Task_Start_Date = DateTime.Parse("2015-10-21T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-30T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 119 }, new EmployeeTask { Task_ID = 122, Task_Assigned_Employee_ID = 29, Task_Owner_ID = 23, Task_Subject = "PSD needed for Shipping Return Labels", Task_Start_Date = DateTime.Parse("2015-10-22T00:00:00"), Task_Due_Date = DateTime.Parse("2015-10-27T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 119 }, new EmployeeTask { Task_ID = 123, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 22, Task_Subject = "Request Bandwidth Increase from ISP", Task_Start_Date = DateTime.Parse("2015-11-01T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-05T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 15 }, new EmployeeTask { Task_ID = 124, Task_Assigned_Employee_ID = 7, Task_Owner_ID = 6, Task_Subject = "Submit D&B Number to ISP for Credit Approval", Task_Start_Date = DateTime.Parse("2015-11-04T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-07T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 15 }, new EmployeeTask { Task_ID = 125, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 7, Task_Subject = "Contact ISP and Discuss Payment Options", Task_Start_Date = DateTime.Parse("2015-11-05T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-06T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 15 }, new EmployeeTask { Task_ID = 126, Task_Assigned_Employee_ID = 18, Task_Owner_ID = 9, Task_Subject = "Prepare Year-End Support Summary Report", Task_Start_Date = DateTime.Parse("2015-11-10T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 16 }, new EmployeeTask { Task_ID = 127, Task_Assigned_Employee_ID = 19, Task_Owner_ID = 18, Task_Subject = "Analyze Support Traffic for 2015", Task_Start_Date = DateTime.Parse("2015-11-11T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-14T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 16 }, new EmployeeTask { Task_ID = 128, Task_Assigned_Employee_ID = 33, Task_Owner_ID = 31, Task_Subject = "Review New Training Material", Task_Start_Date = DateTime.Parse("2015-11-14T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-18T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 17 }, new EmployeeTask { Task_ID = 129, Task_Assigned_Employee_ID = 31, Task_Owner_ID = 33, Task_Subject = "Distribute Training Material to Support Staff", Task_Start_Date = DateTime.Parse("2015-11-18T00:00:00"), Task_Due_Date = DateTime.Parse("2015-11-30T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 17 }, new EmployeeTask { Task_ID = 130, Task_Assigned_Employee_ID = 9, Task_Owner_ID = 31, Task_Subject = "Training Material Distribution Schedule", Task_Start_Date = DateTime.Parse("2015-11-30T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-02T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 17 }, new EmployeeTask { Task_ID = 131, Task_Assigned_Employee_ID = 28, Task_Owner_ID = 9, Task_Subject = "Provide New Artwork to Support Team", Task_Start_Date = DateTime.Parse("2015-12-03T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-04T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 17 }, new EmployeeTask { Task_ID = 132, Task_Assigned_Employee_ID = 29, Task_Owner_ID = 28, Task_Subject = "Publish New Art on the Server", Task_Start_Date = DateTime.Parse("2015-12-03T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-04T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 131 }, new EmployeeTask { Task_ID = 133, Task_Assigned_Employee_ID = 12, Task_Owner_ID = 8, Task_Subject = "Replace Old Artwork with New Artwork", Task_Start_Date = DateTime.Parse("2015-12-07T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 131 }, new EmployeeTask { Task_ID = 134, Task_Assigned_Employee_ID = 20, Task_Owner_ID = 8, Task_Subject = "Replace Old Artwork with New Artwork", Task_Start_Date = DateTime.Parse("2015-12-07T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 131 }, new EmployeeTask { Task_ID = 135, Task_Assigned_Employee_ID = 40, Task_Owner_ID = 8, Task_Subject = "Replace Old Artwork with New Artwork", Task_Start_Date = DateTime.Parse("2015-12-07T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-15T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 131 }, new EmployeeTask { Task_ID = 136, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 45, Task_Subject = "Ship New Brochures to Field", Task_Start_Date = DateTime.Parse("2015-12-19T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-31T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 17 }, new EmployeeTask { Task_ID = 137, Task_Assigned_Employee_ID = 14, Task_Owner_ID = 8, Task_Subject = "Ship Brochures to Todd Hoffman", Task_Start_Date = DateTime.Parse("2015-12-23T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-31T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 17 }, new EmployeeTask { Task_ID = 138, Task_Assigned_Employee_ID = 22, Task_Owner_ID = 3, Task_Subject = "Update Server with Service Packs", Task_Start_Date = DateTime.Parse("2015-12-24T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-24T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.High, Task_Completion = 100, Task_Parent_ID = 18 }, new EmployeeTask { Task_ID = 139, Task_Assigned_Employee_ID = 22, Task_Owner_ID = 6, Task_Subject = "Install New Database", Task_Start_Date = DateTime.Parse("2015-12-27T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-28T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 18 }, new EmployeeTask { Task_ID = 140, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 22, Task_Subject = "Approve Overtime for HR", Task_Start_Date = DateTime.Parse("2015-12-29T00:00:00"), Task_Due_Date = DateTime.Parse("2015-12-29T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 18 }, new EmployeeTask { Task_ID = 141, Task_Assigned_Employee_ID = 32, Task_Owner_ID = 3, Task_Subject = "Review New HDMI Specification", Task_Start_Date = DateTime.Parse("2016-01-02T00:00:00"), Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 50, Task_Parent_ID = 19 }, new EmployeeTask { Task_ID = 142, Task_Assigned_Employee_ID = 3, Task_Owner_ID = 32, Task_Subject = "Approval on Converting to New HDMI Specification", Task_Start_Date = DateTime.Parse("2016-01-11T00:00:00"), Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 75, Task_Parent_ID = 19 }, new EmployeeTask { Task_ID = 143, Task_Assigned_Employee_ID = 24, Task_Owner_ID = 3, Task_Subject = "Create New Spike for Automation Server", Task_Start_Date = DateTime.Parse("2016-01-15T00:00:00"), Task_Due_Date = DateTime.Parse("2016-01-27T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 20 }, new EmployeeTask { Task_ID = 144, Task_Assigned_Employee_ID = 41, Task_Owner_ID = 8, Task_Subject = "Report on Retail Sales Strategy for 2016", Task_Start_Date = DateTime.Parse("2016-01-20T00:00:00"), Task_Due_Date = DateTime.Parse("2016-01-31T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 21 }, new EmployeeTask { Task_ID = 145, Task_Assigned_Employee_ID = 25, Task_Owner_ID = 3, Task_Subject = "Code Review - New Automation Server", Task_Start_Date = DateTime.Parse("2016-01-27T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-15T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 75, Task_Parent_ID = 20 }, new EmployeeTask { Task_ID = 146, Task_Assigned_Employee_ID = 17, Task_Owner_ID = 31, Task_Subject = "Feedback on New Training Course", Task_Start_Date = DateTime.Parse("2016-01-28T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-05T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 17 }, new EmployeeTask { Task_ID = 147, Task_Assigned_Employee_ID = 10, Task_Owner_ID = 7, Task_Subject = "Send Monthly Invoices from Shippers", Task_Start_Date = DateTime.Parse("2016-02-01T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-07T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 10 }, new EmployeeTask { Task_ID = 148, Task_Assigned_Employee_ID = 40, Task_Owner_ID = 39, Task_Subject = "Schedule Meeting with Sales Team", Task_Start_Date = DateTime.Parse("2016-02-07T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-09T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 21 }, new EmployeeTask { Task_ID = 149, Task_Assigned_Employee_ID = 42, Task_Owner_ID = 40, Task_Subject = "Confirm Availability for Sales Meeting", Task_Start_Date = DateTime.Parse("2016-02-09T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-09T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 21 }, new EmployeeTask { Task_ID = 150, Task_Assigned_Employee_ID = 39, Task_Owner_ID = 40, Task_Subject = "Reschedule Sales Team Meeting", Task_Start_Date = DateTime.Parse("2016-02-10T00:00:00"), Task_Due_Date = DateTime.Parse("2016-02-10T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 21 }, new EmployeeTask { Task_ID = 151, Task_Assigned_Employee_ID = 45, Task_Owner_ID = 44, Task_Subject = "Update Database with New Leads", Task_Start_Date = DateTime.Parse("2016-03-01T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-10T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 80, Task_Parent_ID = 18 }, new EmployeeTask { Task_ID = 152, Task_Assigned_Employee_ID = 12, Task_Owner_ID = 41, Task_Subject = "Send Territory Sales Breakdown", Task_Start_Date = DateTime.Parse("2016-03-13T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-16T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 50, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 153, Task_Assigned_Employee_ID = 41, Task_Owner_ID = 1, Task_Subject = "Territory Sales Breakdown Report", Task_Start_Date = DateTime.Parse("2016-03-17T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-17T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.High, Task_Completion = 50, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 154, Task_Assigned_Employee_ID = 3, Task_Owner_ID = 1, Task_Subject = "Return Merchandise Report", Task_Start_Date = DateTime.Parse("2016-03-17T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-18T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 25, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 155, Task_Assigned_Employee_ID = 32, Task_Owner_ID = 3, Task_Subject = "Report on the State of Engineering Dept", Task_Start_Date = DateTime.Parse("2016-03-18T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-19T00:00:00"), Task_Status = "Not Started", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 156, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 5, Task_Subject = "Staff Productivity Report", Task_Start_Date = DateTime.Parse("2016-03-20T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-21T00:00:00"), Task_Status = "Not Started", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 157, Task_Assigned_Employee_ID = 5, Task_Owner_ID = 1, Task_Subject = "Review HR Budget Company Wide", Task_Start_Date = DateTime.Parse("2016-03-20T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 40, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 158, Task_Assigned_Employee_ID = 8, Task_Owner_ID = 5, Task_Subject = "Sales Dept Budget Request Report", Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 75, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 159, Task_Assigned_Employee_ID = 9, Task_Owner_ID = 5, Task_Subject = "Support Dept Budget Report", Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 60, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 160, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 5, Task_Subject = "IT Dept Budget Request Report", Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 30, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 161, Task_Assigned_Employee_ID = 32, Task_Owner_ID = 5, Task_Subject = "Engineering Dept Budget Request Report", Task_Start_Date = DateTime.Parse("2016-03-23T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Urgent, Task_Completion = 0, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 162, Task_Assigned_Employee_ID = 26, Task_Owner_ID = 7, Task_Subject = "1Q Travel Spend Report", Task_Start_Date = DateTime.Parse("2016-03-24T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-25T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 30, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 163, Task_Assigned_Employee_ID = 7, Task_Owner_ID = 27, Task_Subject = "Approve Benefits Upgrade Package", Task_Start_Date = DateTime.Parse("2016-03-26T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-27T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 164, Task_Assigned_Employee_ID = 5, Task_Owner_ID = 7, Task_Subject = "Final Budget Review", Task_Start_Date = DateTime.Parse("2016-03-26T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-27T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 25, Task_Parent_ID = 23 }, new EmployeeTask { Task_ID = 165, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 1, Task_Subject = "State of Operations Report", Task_Start_Date = DateTime.Parse("2016-03-28T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-31T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 45, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 166, Task_Assigned_Employee_ID = 42, Task_Owner_ID = 2, Task_Subject = "Online Sales Report", Task_Start_Date = DateTime.Parse("2016-03-29T00:00:00"), Task_Due_Date = DateTime.Parse("2016-03-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 55, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 167, Task_Assigned_Employee_ID = 13, Task_Owner_ID = 10, Task_Subject = "Reprint All Shipping Labels", Task_Start_Date = DateTime.Parse("2016-04-01T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-10T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 10, Task_Parent_ID = 24 }, new EmployeeTask { Task_ID = 168, Task_Assigned_Employee_ID = 28, Task_Owner_ID = 13, Task_Subject = "Shipping Label Artwork", Task_Start_Date = DateTime.Parse("2016-04-02T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 40, Task_Parent_ID = 24 }, new EmployeeTask { Task_ID = 169, Task_Assigned_Employee_ID = 13, Task_Owner_ID = 29, Task_Subject = "Specs for New Shipping Label", Task_Start_Date = DateTime.Parse("2016-04-04T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-05T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Normal, Task_Completion = 100, Task_Parent_ID = 24 }, new EmployeeTask { Task_ID = 170, Task_Assigned_Employee_ID = 15, Task_Owner_ID = 10, Task_Subject = "Move Packaging Materials to New Warehouse", Task_Start_Date = DateTime.Parse("2016-04-05T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 60, Task_Parent_ID = 25 }, new EmployeeTask { Task_ID = 171, Task_Assigned_Employee_ID = 16, Task_Owner_ID = 10, Task_Subject = "Move Inventory to New Warehouse", Task_Start_Date = DateTime.Parse("2016-04-05T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-15T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 70, Task_Parent_ID = 25 }, new EmployeeTask { Task_ID = 172, Task_Assigned_Employee_ID = 14, Task_Owner_ID = 10, Task_Subject = "Take Forklift to Service Center", Task_Start_Date = DateTime.Parse("2016-04-07T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-18T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 60, Task_Parent_ID = 26 }, new EmployeeTask { Task_ID = 173, Task_Assigned_Employee_ID = 10, Task_Owner_ID = 14, Task_Subject = "Approve Rental of Forklift", Task_Start_Date = DateTime.Parse("2016-04-08T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-09T00:00:00"), Task_Status = "Need Assistance", Task_Priority = Priority.Urgent, Task_Completion = 0, Task_Parent_ID = 26 }, new EmployeeTask { Task_ID = 174, Task_Assigned_Employee_ID = 7, Task_Owner_ID = 10, Task_Subject = "Give Final Approval to Rent Forklift", Task_Start_Date = DateTime.Parse("2016-04-08T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-08T00:00:00"), Task_Status = "Need Assistance", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 26 }, new EmployeeTask { Task_ID = 175, Task_Assigned_Employee_ID = 9, Task_Owner_ID = 30, Task_Subject = "Review Complaint Reports", Task_Start_Date = DateTime.Parse("2016-04-17T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Urgent, Task_Completion = 40, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 176, Task_Assigned_Employee_ID = 6, Task_Owner_ID = 9, Task_Subject = "Review Website Complaint Reports", Task_Start_Date = DateTime.Parse("2016-04-18T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-24T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 65, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 177, Task_Assigned_Employee_ID = 33, Task_Owner_ID = 37, Task_Subject = "Test New Automation App", Task_Start_Date = DateTime.Parse("2016-04-20T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-30T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 80, Task_Parent_ID = 20 }, new EmployeeTask { Task_ID = 178, Task_Assigned_Employee_ID = 38, Task_Owner_ID = 33, Task_Subject = "Fix Synchronization Issues", Task_Start_Date = DateTime.Parse("2016-04-21T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-21T00:00:00"), Task_Status = "Completed", Task_Priority = Priority.Urgent, Task_Completion = 100, Task_Parent_ID = 20 }, new EmployeeTask { Task_ID = 179, Task_Assigned_Employee_ID = 22, Task_Owner_ID = 24, Task_Subject = "Free Up Space for New Application Set", Task_Start_Date = DateTime.Parse("2016-04-19T00:00:00"), Task_Due_Date = DateTime.Parse("2016-04-19T00:00:00"), Task_Status = "Not Started", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 20 }, new EmployeeTask { Task_ID = 180, Task_Assigned_Employee_ID = 9, Task_Owner_ID = 30, Task_Subject = "Support Team Evaluation Report", Task_Start_Date = DateTime.Parse("2016-05-01T00:00:00"), Task_Due_Date = DateTime.Parse("2016-05-07T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 22 }, new EmployeeTask { Task_ID = 181, Task_Assigned_Employee_ID = 1, Task_Owner_ID = 30, Task_Subject = "Review New Customer Follow Up Plan", Task_Start_Date = DateTime.Parse("2016-05-05T00:00:00"), Task_Due_Date = DateTime.Parse("2016-05-11T00:00:00"), Task_Status = "In Progress", Task_Priority = Priority.Normal, Task_Completion = 75, Task_Parent_ID = 27 }, new EmployeeTask { Task_ID = 182, Task_Assigned_Employee_ID = 2, Task_Owner_ID = 1, Task_Subject = "Submit Customer Follow Up Plan Feedback", Task_Start_Date = DateTime.Parse("2016-05-06T00:00:00"), Task_Due_Date = DateTime.Parse("2016-05-10T00:00:00"), Task_Status = "Deferred", Task_Priority = Priority.Normal, Task_Completion = 0, Task_Parent_ID = 27 } }; public static readonly IEnumerable<TaskEmployee> TaskEmployees = new[] { new TaskEmployee { ID = 1, Name = "John Heart", Picture = "../../images/employees/01.png" }, new TaskEmployee { ID = 2, Name = "Samantha Bright", Picture = "../../images/employees/04.png" }, new TaskEmployee { ID = 3, Name = "Arthur Miller", Picture = "../../images/employees/02.png" }, new TaskEmployee { ID = 4, Name = "Robert Reagan", Picture = "../../images/employees/03.png" }, new TaskEmployee { ID = 5, Name = "Greta Sims", Picture = "../../images/employees/06.png" }, new TaskEmployee { ID = 6, Name = "Brett Wade", Picture = "../../images/employees/05.png" }, new TaskEmployee { ID = 7, Name = "Sandra Johnson", Picture = "../../images/employees/08.png" }, new TaskEmployee { ID = 8, Name = "Ed Holmes", Picture = "../../images/employees/07.png" }, new TaskEmployee { ID = 9, Name = "Barb Banks", Picture = "../../images/employees/09.png" }, new TaskEmployee { ID = 10, Name = "Kevin Carter", Picture = "../../images/employees/10.png" }, new TaskEmployee { ID = 11, Name = "Cindy Stanwick", Picture = "../../images/employees/15.png" }, new TaskEmployee { ID = 12, Name = "Sammy Hill", Picture = "../../images/employees/11.png" }, new TaskEmployee { ID = 13, Name = "Davey Jones", Picture = "../../images/employees/12.png" }, new TaskEmployee { ID = 14, Name = "Victor Norris", Picture = "../../images/employees/13.png" }, new TaskEmployee { ID = 15, Name = "Mary Stern", Picture = "../../images/employees/16.png" }, new TaskEmployee { ID = 16, Name = "Robin Cosworth", Picture = "../../images/employees/14.png" }, new TaskEmployee { ID = 17, Name = "Kelly Rodriguez", Picture = "../../images/employees/17.png" }, new TaskEmployee { ID = 18, Name = "James Anderson", Picture = "../../images/employees/18.png" }, new TaskEmployee { ID = 19, Name = "Antony Remmen", Picture = "../../images/employees/19.png" }, new TaskEmployee { ID = 20, Name = "Olivia Peyton", Picture = "../../images/employees/20.png" }, new TaskEmployee { ID = 21, Name = "Taylor Riley", Picture = "../../images/employees/21.png" }, new TaskEmployee { ID = 22, Name = "Amelia Harper", Picture = "../../images/employees/22.png" }, new TaskEmployee { ID = 23, Name = "Wally Hobbs", Picture = "../../images/employees/23.png" }, new TaskEmployee { ID = 24, Name = "Brad Jameson", Picture = "../../images/employees/24.png" }, new TaskEmployee { ID = 25, Name = "Karen Goodson", Picture = "../../images/employees/25.png" }, new TaskEmployee { ID = 26, Name = "Marcus Orbison", Picture = "../../images/employees/26.png" }, new TaskEmployee { ID = 27, Name = "Sandy Bright", Picture = "../../images/employees/27.png" }, new TaskEmployee { ID = 28, Name = "Morgan Kennedy", Picture = "../../images/employees/28.png" }, new TaskEmployee { ID = 29, Name = "Violet Bailey", Picture = "../../images/employees/29.png" }, new TaskEmployee { ID = 30, Name = "Ken Samuelson", Picture = "../../images/employees/32.png" }, new TaskEmployee { ID = 31, Name = "Nat Maguiree", Picture = "../../images/employees/34.png" }, new TaskEmployee { ID = 32, Name = "Bart Arnaz", Picture = "../../images/employees/37.png" }, new TaskEmployee { ID = 33, Name = "Leah Simpson", Picture = "../../images/employees/38.png" }, new TaskEmployee { ID = 34, Name = "Arnie Schwartz", Picture = "../../images/employees/40.png" }, new TaskEmployee { ID = 35, Name = "Billy Zimmer", Picture = "../../images/employees/42.png" }, new TaskEmployee { ID = 36, Name = "Samantha Piper", Picture = "../../images/employees/30.png" }, new TaskEmployee { ID = 37, Name = "Maggie Boxter", Picture = "../../images/employees/31.png" }, new TaskEmployee { ID = 38, Name = "Terry Bradley", Picture = "../../images/employees/33.png" }, new TaskEmployee { ID = 39, Name = "Gabe Jones", Picture = "../../images/employees/35.png" }, new TaskEmployee { ID = 40, Name = "Lucy Ball", Picture = "../../images/employees/36.png" }, new TaskEmployee { ID = 41, Name = "Jim Packard", Picture = "../../images/employees/43.png" }, new TaskEmployee { ID = 42, Name = "Hannah Brookly", Picture = "../../images/employees/39.png" }, new TaskEmployee { ID = 43, Name = "Harv Mudd", Picture = "../../images/employees/44.png" }, new TaskEmployee { ID = 44, Name = "Clark Morgan", Picture = "../../images/employees/45.png" }, new TaskEmployee { ID = 45, Name = "Todd Hoffman", Picture = "../../images/employees/46.png" }, new TaskEmployee { ID = 46, Name = "Jackie Garmin", Picture = "../../images/employees/47.png" }, new TaskEmployee { ID = 47, Name = "Lincoln Bartlett", Picture = "../../images/employees/49.png" }, new TaskEmployee { ID = 48, Name = "Brad Farkus", Picture = "../../images/employees/50.png" }, new TaskEmployee { ID = 49, Name = "Jenny Hobbs", Picture = "../../images/employees/48.png" }, new TaskEmployee { ID = 50, Name = "Dallas Lou", Picture = "../../images/employees/41.png" }, new TaskEmployee { ID = 51, Name = "Stu Pizaro" } }; } }
using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; using System; using System.Collections.Generic; namespace DevExtreme.NETCore.Demos.Models.TreeList { public class InMemoryTasksDataContext : InMemoryDataContext<EmployeeTask> { public InMemoryTasksDataContext(IHttpContextAccessor contextAccessor, IMemoryCache memoryCache) : base(contextAccessor, memoryCache) { } public ICollection<EmployeeTask> Tasks => ItemsInternal; public IEnumerable<TaskEmployee> Employees => SampleData.SampleData.TaskEmployees; protected override IEnumerable<EmployeeTask> Source => SampleData.SampleData.EmployeeTasks; protected override int GetKey(EmployeeTask item) => item.Task_ID; protected override void SetKey(EmployeeTask item, int key) => item.Task_ID = key; } }
#tree-list-demo { min-height: 700px; } #tasks { max-height: 700px; }

To enable batch edit mode, configure the following properties:

This demo also shows how to populate cells of a new row with default values. The values are assigned within the onInitNewRow event handler.

If data is stored on a server, the TreeList sends multiple requests to save edited objects - one request per object (this is because most servers only process one edit operation at a time). If your server supports batch update, you can configure the TreeList to save all changes with a single request. Refer to the following demo for more information: DataGrid: Batch Update Request.