# react-jsgantt **Repository Path**: jz_zhjun/react-jsgantt ## Basic Information - **Project Name**: react-jsgantt - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-21 - **Last Updated**: 2025-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-jsgantt > React JS Gantt [](https://www.npmjs.com/package/react-jsgantt) [](https://standardjs.com) A fully featured gantt chart component built entirely in Javascript, CSS and AJAX. It is lightweight and there is no need of external libraries or additional images.  This is a React module for the [jsgantt-improved](https://github.com/jsGanttImproved/jsgantt-improved) library. You can see a live working example here: * https://stackblitz.com/edit/react-jsgantt ## Install ```bash npm install --save react-jsgantt ``` ## Usage ```tsx import * as React from 'react' import JSGantt from 'react-jsgantt' function Example() { const data = [{ 'pID': 1, 'pName': 'Define Chart API v2', 'pStart': '', 'pEnd': '', 'pClass': 'ggroupblack', 'pLink': '', 'pMile': 0, 'pRes': 'Brian', 'pComp': 0, 'pGroup': 1, 'pParent': 0, 'pOpen': 1, 'pDepend': '', 'pCaption': '', 'pNotes': 'Some Notes text' }]; const editorOptions = { vCaptionType: 'Complete', // Set to Show Caption : None,Caption,Resource,Duration,Complete, vQuarterColWidth: 36, vDateTaskDisplayFormat: 'day dd month yyyy', // Shown in tool tip box vDayMajorDateDisplayFormat: 'mon yyyy - Week ww', // Set format to display dates in the "Major" header of the "Day" view vWeekMinorDateDisplayFormat: 'dd mon', } const getData = () => { const changedGantt = editor.getList(); console.log(changedGantt[0].getName()); }; const onCreate = (editorcreated) => { console.log(editorcreated, '------'); editor = editorcreated; }; return (