react-gantt | A gantt chart for react | Chart library

 by   clayrisser JavaScript Version: 2.1.6 License: MIT

kandi X-RAY | react-gantt Summary

kandi X-RAY | react-gantt Summary

react-gantt is a JavaScript library typically used in User Interface, Chart, React applications. react-gantt has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A gantt chart for react
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-gantt has a low active ecosystem.
              It has 134 star(s) with 35 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 7 open issues and 10 have been closed. On average issues are closed in 30 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-gantt is 2.1.6

            kandi-Quality Quality

              react-gantt has 0 bugs and 0 code smells.

            kandi-Security Security

              react-gantt has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              react-gantt code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              react-gantt is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              react-gantt releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-gantt
            Get all kandi verified functions for this library.

            react-gantt Key Features

            No Key Features are available at this moment for react-gantt.

            react-gantt Examples and Code Snippets

            No Code Snippets are available at this moment for react-gantt.

            Community Discussions

            QUESTION

            React: UI not painted correctly with dhtmlx-gantt library when applied with filters
            Asked 2019-Sep-18 at 14:06

            I am using React with dhtmlx-gantt library to create gantt chart. I met with issue when using the filter function together with useEffect/useLayoutEffect lifecycle.

            The gist of it is that the browser is not painting/rendering the correct UI on the screen on certain condition.

            The start state load screen looks like this:
            6 Task

            After filter, this should be how it looks like:
            Should be left with 5 task after filtering away duration > 4

            But this is how it is:
            Left with 5 task but an empty row is shown rather than "refreshing" (not sure if this is the right term to use)

            I have created a github repo with different scenario describing the problem, and how to reproduce those issue. More information on how to run the sample can be found in the README.md. Please let me know if more information needs to be provided.

            Sample 1: Using conditional rendering will cause issue on painting UI changes
            Sample 2: Turning smart_rendering config on and off cause issue on painting UI changes
            Sample 3: Calling the function within the parent component and in child component with exact same code cause issue on painting UI

            My desired outcome is to able to render the UI correctly, whether or not this code to filter the data is ran on parent or child component.

            I should also mention that a workaround was to use if (document.querySelector(".gantt_grid")) gantt.render(); rather than gantt.refreshData() in onBeforeTaskDisplay event which will then correctly paint the UI changes. But I still like to understand why does this happens. Is there anything I did wrongly in term of using the React lifecycle and so on.

            Thank you.

            ...

            ANSWER

            Answered 2019-Sep-13 at 13:27

            Try gantt.render() after gantt.refreshData() in your code:

            Source https://stackoverflow.com/questions/57745514

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install react-gantt

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/clayrisser/react-gantt.git

          • CLI

            gh repo clone clayrisser/react-gantt

          • sshUrl

            git@github.com:clayrisser/react-gantt.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link