Blazor Gantt Chart Example - Column Validation
ID | Task Name | Start Date | End Date | Duration | Progress (%) | Dependency | Owner Email | Task Code | Team Size | Tags | Contact Phone | Budget | Actual Cost | Status | Priority | Description |
|---|
| 1 | Website redesign – project plan | 1/6/2025 | 3/20/2025 | 52 days | 15 | pm.alex@acme.com | PRJ-MST-001 | 8 | #project,#web | +15553000000 | $45,000.00 | $9,200.00 | In Progress | Low | ||
| 2 | Initiation phase | 1/6/2025 | 1/8/2025 | 3 days | 100 | pm.alex@acme.com | PRJ-INI-000 | 5 | #initiation | +15553000100 | $800.00 | $760.00 | Completed | Low | ||
| 3 | Project initiation meeting | 1/6/2025 | 1/6/2025 | 1 day | 100 | pm.alex@acme.com | PRJ-INI-002 | 5 | #meeting | +15553000101 | $300.00 | $290.00 | Completed | Low | ||
| 4 | Stakeholder alignment | 1/7/2025 | 1/8/2025 | 2 days | 100 | 3FS | pm.alex@acme.com | PRJ-INI-003 | 4 | #stakeholders | +15553000102 | $500.00 | $480.00 | Completed | Low | |
| 5 | Planning phase | 1/9/2025 | 1/28/2025 | 13 days | 70 | 4FS | pm.alex@acme.com | PRJ-PLN-000 | 6 | #planning | +15553000103 | $5,000.00 | $4,200.00 | In Progress | Low | |
| 6 | Requirements gathering | 1/9/2025 | 1/15/2025 | 5 days | 100 | 4FS | ba.nina@acme.com | PRJ-REQ-003 | 3 | #requirements,#ba | +15553000104 | $3,000.00 | $2,950.00 | Completed | Low | |
| 7 | Solution design | 1/16/2025 | 1/24/2025 | 6 days | 70 | 6FS | arch.sam@acme.com | PRJ-DSN-004 | 4 | #design,#architecture | +15553000105 | $7,000.00 | $4,300.00 | In Progress | Low | |
| 8 | Test planning | 1/27/2025 | 1/28/2025 | 2 days | 0 | 7FS | qa.lead@acme.com | PRJ-QA-008 | 2 | #qa,#testplan | +15553000106 | $1,500.00 | $0.00 | Not Started | Medium | |
| 9 | Development phase | 1/27/2025 | 2/25/2025 | 21 days | 0 | 7FS,8FS | dev.lead@acme.com | PRJ-DEV-000 | 7 | #development | +15553000107 | $28,000.00 | $0.00 | Not Started | Medium | |
| 10 | Frontend development | 1/27/2025 | 2/11/2025 | 12 days | 0 | 7FS | dev.ui@acme.com | PRJ-FE-005 | 3 | #frontend,#ui | +15553000108 | $12,000.00 | $0.00 | Not Started | Medium | |
| 11 | Backend development | 1/27/2025 | 2/18/2025 | 16 days | 0 | 7FS | dev.api@acme.com | PRJ-BE-006 | 3 | #backend,#api | +15553000109 | $15,000.00 | $0.00 | Not Started | Medium | |
| 12 | API contract finalization | 1/27/2025 | 1/28/2025 | 2 days | 0 | 7FS | dev.api@acme.com | PRJ-API-007 | 2 | #api,#contract | +15553000110 | $1,000.00 | $0.00 | Not Started | Medium | |
| 13 | Integration | 2/19/2025 | 2/25/2025 | 5 days | 0 | 10FS,11FS,12FS | dev.int@acme.com | PRJ-INT-008 | 3 | #integration | +15553000111 | $4,000.00 | $0.00 | Not Started | High | |
| 14 | Quality assurance phase | 2/26/2025 | 3/4/2025 | 5 days | 0 | 13FS | qa.lead@acme.com | PRJ-QA-000 | 4 | #quality | +15553000112 | $8,000.00 | $0.00 | Not Started | High | |
| 15 | System testing | 2/26/2025 | 3/4/2025 | 5 days | 0 | 13FS,8FS | qa.team@acme.com | PRJ-QA-009 | 3 | #qa,#systemtest | +15553000113 | $3,500.00 | $0.00 | Not Started | High | |
| 16 | Security review | 2/26/2025 | 2/28/2025 | 3 days | 0 | 13FS | sec.lead@acme.com | PRJ-SEC-010 | 3 | #security | +15553000114 | $2,500.00 | $0.00 | Not Started | High | |
| 17 | Performance testing | 2/26/2025 | 3/4/2025 | 5 days | 0 | 13FS | qa.perf@acme.com | PRJ-PERF-011 | 3 | #performance | +15553000115 | $3,000.00 | $0.00 | Not Started | High | |
| 18 | Readiness & release | 2/26/2025 | 3/20/2025 | 17 days | 0 | 15FS,16FS,17FS | release.mgr@acme.com | PRJ-REL-000 | 4 | #release | +15553000116 | $7,000.00 | $0.00 | Not Started | Critical | |
| 19 | Documentation | 2/26/2025 | 3/4/2025 | 5 days | 0 | 13FS | tech.writer@acme.com | PRJ-DOC-012 | 3 | #docs | +15553000117 | $2,000.00 | $0.00 | Not Started | High | |
| 20 | Training & handover | 3/5/2025 | 3/7/2025 | 3 days | 0 | 19FS | trainer@acme.com | PRJ-TRN-013 | 3 | #training | +15553000118 | $1,800.00 | $0.00 | Not Started | High | |
| 21 | Deployment preparation | 3/10/2025 | 3/12/2025 | 3 days | 0 | 15FS,16FS,17FS,20FS | release.mgr@acme.com | PRJ-REL-014 | 4 | #deployment | +15553000119 | $1,200.00 | $0.00 | Not Started | Critical | |
| 22 | Production release | 3/13/2025 | 3/14/2025 | 2 days | 0 | 21FS | release.mgr@acme.com | PRJ-REL-015 | 4 | #golive | +15553000120 | $800.00 | $0.00 | Not Started | Critical | |
| 23 | Hypercare | 3/17/2025 | 3/19/2025 | 3 days | 0 | 22FS | support.lead@acme.com | PRJ-SPT-016 | 4 | #support,#hypercare | +15553000121 | $2,000.00 | $0.00 | Not Started | Critical | |
| 24 | Project retrospective | 3/20/2025 | 3/20/2025 | 1 day | 0 | 23FS | pm.alex@acme.com | PRJ-RET-017 | 5 | #retrospective | +15553000122 | $500.00 | $0.00 | Not Started | Critical |
Jan 05, 2025 | Jan 12, 2025 | Jan 19, 2025 | Jan 26, 2025 | Feb 02, 2025 | Feb 09, 2025 | Feb 16, 2025 | Feb 23, 2025 | Mar 02, 2025 | Mar 09, 2025 | Mar 16, 2025 | Mar 23, 2025 |
S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F |
This sample demonstrates column level validation in the Blazor Gantt Chart for a Website Redesign Project. Validation ensures that tasks cannot be saved with missing details, incorrect formats, or out-of-range values, helping maintain accurate timelines and reliable project delivery.
Invalid inputs trigger tooltips with correction details, and records cannot be saved until all validations succeed. In this sample validation is configured per column using the Validator component and enforced during Add and Edit operations, includes:
- Date rules: Start and end dates must fall within the project start date (project launch) and end date (go-live) range.
- Completed task validation: Once a task status is marked as completed, start date, end date, and duration cannot be changed.
- Priority based constraints: Specific scheduling constraints and limits apply for low, high, and critical priorities, including maximum duration and team size rules.
- Progress tracking and dependency validation: Enforce valid progress ranges and ensure predecessors are completed before dependent tasks can progress.
- Field validity and formats: Required fields and regex checks ensure task name length, description (10–500 characters), project codes (PRJ-XXX-000), valid email/us phone formats, and hashtags are correct.
- Budget checks: Validate budget minimum and maximum limits, and block extensions when a task exceeds its budget.
The Gantt Chart enforces ValidationRules as well using required, number, range, min/max, minlength/maxlength, pattern (regex), and email rules. These validations apply to fields such as task names, dates, duration, progress, team size, budgeting, and contact details to keep project data accurate and consistent. For details on validation rules, data annotations, custom validation, and custom validator components, refer to the documentation.