React Gantt Samples
===================

This project contains interactive code samples that demonstrate how to use the DHTMLX React Gantt library.

Version: {{version}}

---

License
-------

This project is subject to the {{licenseName}} License. See `license.txt` for details.

---

Installing Dependencies
-----------------------

1. Configure npm:
   ```bash
   npm config set @dhx:registry=https://npm.dhtmlx.com
   ```

2. Send your license number on the contact@dhtmlx.com email to receive login and password for private npm.

3. Make sure you are logged into the private registry (for paid versions):
   ```bash
   npm login --registry=https://npm.dhtmlx.com --scope=@dhx --auth-type=legacy
   ```

4. Install dependencies:
   ```bash
   yarn install
   ```

---

Running the Samples
-------------------

To run the samples locally in development mode:

```bash
yarn start
```

Then open [http://localhost:3000](http://localhost:3000) in your browser.


---

Sample Organization
-------------------

Each sample showcases a specific feature of the DHTMLX React Gantt.

Common scenarios include:

- Basic usage with tasks and links
- Integration with REST backend
- Using custom React templates in grid and timeline
- Custom inline editors
- React-based lightboxes
- Markers, calendars
- Zooming and filtering
- Batch-saving data changes

You can find these demos under the `src/samples/` folder.

---

Requirements
------------

- React 18+
- Node.js 16+
- Yarn (or npm)


---

Documentation & Resources
-------------------------

- Product page: https://dhtmlx.com/docs/products/dhtmlxGantt/
- React wrapper docs: https://docs.dhtmlx.com/gantt/web__react.html
- JS Gantt documentation: https://docs.dhtmlx.com/gantt/
- Support: https://forum.dhtmlx.com/c/gantt

---
