Ecme logoEcme logo
Dashboard
    Ecommerce
    Project
    Marketing
    Analytic
Network
    BGP
      Peer
      RTBH
Netflow
    Dashboard
    Flow Analysis
      Top Talkers
      Flow Explorer
      IP Analyzer
    Threats
      Active Attacks
      Mitigation
    System
      Diagnostics
DPI
    Overview
    Traffic Logs
    Analysis
      IP Analysis
      Domain Check
      Unmapped ASNs
      Uncategorized Domains
    Threats
      Blacklists Data
      Blocklist Sources
      Threat Feeds
    Configuration
      Senders
      Ignored Domains
      Webhooks & Alerts
      System Maintenance
    Datasets
      IP Dataset
      Domain Dataset
Concepts
    AI
      Chat
      Image
    Projects
      Scrum Board
      List
      Details
      Tasks
      Issue
    Customer
      List
      Edit
      Create
      Details
    Products
      List
      Edit
      Create
    Orders
      List
      Edit
      Create
      Details
    Account
      Settings
      Activity log
      Roles & Permissions
      Pricing
    Help Center
      Support Hub
      Article
      Edit Article
      Manage Article
    Calendar
    File Manager
    Mail
    Chat
UI Components
    Common
      Button
      Grid
      Typography
      Icons
    Feedback
      Alert
      Dialog
      Drawer
      Progress
      Skeleton
      Spinner
      Toast
    Data Display
      Avatar
      Badge
      Calendar
      Cards
      Carousel
      Table
      Tag
      Timeline
      Tooltip
    Forms
      Checkbox
      Date Picker
      Form Control
      Input
      Input Group
      Radio
      Segment
      Select
      Slider
      Switcher
      Time Input
      Upload
    Navigation
      Dropdown
      Menu
      Pagination
      Steps
      Tabs
    Graph
      Charts
      Maps
Authentication
    Sign In
      Simple
      Side
      Split
    Sign Up
      Simple
      Side
      Split
    Forgot Password
      Simple
      Side
      Split
    Reset Password
      Simple
      Side
      Split
    Otp Verification
      Simple
      Side
      Split
Others
    Access Denied
    Landing
Guide
    Documentation
    Shared Component
    Utilities
    Changelog
Copyright © 2026 Ecme All rights reserved.
Term & Conditions | Privacy & Policy
Components
AbbreviateNumberActionLinkAdaptiveCardAffixAuthorityCheckCalendarViewChartConfirmDialogContainerCustomFormatInputDataTableDebounceInputDoubleSidedImageEllipsisButtonGanttChartGrowShrinkValueIconTextImageGalleryLoadingMasonryMediaSkeletonNavToggleNumericInputOtpInputPasswordInputPatternInputRegionMapRichTextEditorSegmentItemOptionStickyFooterSyntaxHighlighterUsersAvatarGroup

GanttChart

This component is an extended version of the gantt-task-react library. It is ideal for visualizing project timelines, tasks, and milestones with enhanced customization options.

Example

Example usage
 Name
Sat, 28Sun, 1Mon, 2Tue, 3Wed, 4Thu, 5Fri, 6Sat, 7Sun, 8Mon, 9Tue, 10Wed, 11Thu, 12Fri, 13Sat, 14Sun, 15Mon, 16Tue, 17Wed, 18Thu, 19Fri, 20Sat, 21Sun, 22Mon, 23Tue, 24Wed, 25Thu, 26Fri, 27Sat, 28Sun, 29Mon, 30Tue, 31Wed, 1Thu, 2Fri, 3Sat, 4Sun, 5Mon, 6Tue, 7 FebruaryMarch

API

GanttChart
PropDescriptionTypeDefault
tasksAn array of tasks to be displayed in the Gantt chart. Each task includes properties like id, name, start, end, and progress.ExtendedTask[][]
viewModeThe view mode of the Gantt chart. Can be set to Hour, Quarter Day, Half Day, Day, Week, Month, or Year.ViewModeViewMode.Day
extraColumnsAn array of objects defining additional columns to be displayed in the task list. Each object contains a header and a cell renderer.{ header: ExtraHeader; cell: ExtraCell }[][]
colorsMapA mapping of custom colors to task types or specific tasks. This allows for dynamic styling based on the task or project type.Object{string, string}{}
showArrowA flag to determine whether to display dependency arrows between tasks. When set to false, arrows are hidden.booleantrue
headerHeightThe height of the header in the Gantt chart, in pixels.number50
columnWidthThe width of each column in the Gantt chart, in pixels.number65
rowHeightThe height of each row in the Gantt chart, in pixels.number50
barCornerRadiusThe corner radius of the task bars in the Gantt chart.number6
TaskListHeaderA custom header component for the task list. Allows for the inclusion of additional headers defined in extraColumns.{ headerHeight: number; rowWidth: string; fontFamily: string; fontSize: string; }TaskListHeader
TaskListTableA custom table component for the task list, allowing the inclusion of additional cells defined in extraColumns.{ rowHeight: number; rowWidth: string; fontFamily: string; fontSize: string; locale: string; tasks: Task[]; selectedTaskId: string; setSelectedTask: (taskId: string) => void; onExpanderClick: (task: Task) => void; }TaskListTable
TooltipContentA custom tooltip component for displaying task details.{ task: Task; fontSize: string; fontFamily: string; }TooltipContent
todayColorThe color used to highlight the current day in the Gantt chart.stringurl(#horzLines)
arrowColorThe color of the dependency arrows between tasks.string#3380fa
onSelectCallback invoked when a task is selected or unselected.(task: Task, isSelected: boolean) => voidundefined
onDoubleClickCallback invoked when a task is double-clicked.(task: Task) => voidundefined
onClickCallback invoked when a task is clicked.(task: Task) => voidundefined
onDateChangeCallback invoked when the start or end date of a task changes. Returning false or throwing an error will undo the operation.(task: Task, children: Task[]) => void | boolean | Promise | Promiseundefined
onProgressChangeCallback invoked when the progress of a task changes. Returning false or throwing an error will undo the operation.(task: Task, children: Task[]) => void | boolean | Promise | Promiseundefined
onDeleteCallback invoked when a task is deleted. Returning false or throwing an error will undo the operation.(task: Task) => void | boolean | Promise | Promiseundefined
onExpanderClickCallback invoked when the expander icon is clicked in the task list.(task: Task) => voidundefined

Dependencies

gantt-task-react

You can found all the available props here gantt-task-react

TABLE OF CONTENT
  • Example