GithubHelp home page GithubHelp logo

gustcortarelli / gc-gantt Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 16 KB

A pure JS Gantt chart

CSS 9.80% JavaScript 76.22% HTML 13.98%
free gantt gantt-chart javascript-library open-source purejs

gc-gantt's People

Contributors

gustcortarelli avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

luccasdev

gc-gantt's Issues

Add new parameter: resources

When the gc-gantt is instantiated, an array with resources should be assigned to the class following this structure:
[ {id: 1, resource: "Person A"}, {id: 2, resource: "Person B"}, ... ]
The resource ID will be used on task instead of resource name, to relate a task with the resource.

Resize task - change start or end date

Allow the user to resize a task (start date or end date).

This process can be performed adding a option on the left and right sides of task drawed element (div element).

For now, the user should be able to resize task inside current drawn date range.

Add filter by resources

Allow to the user filter tasks by resource

Add a new public method that receives one or more resource ids. All tasks that matches should be shown, otherwise it should be hidden. Moreover, when a matched task belongs to a task group, all parent groups of this should be shown

Nested groups does not collapse

when there are nested groups, on try to collapse the lowest level, all groups inside are not collapsed

To Reproduce

  1. Create a gantt with at least two nested groups
  2. Try to collapse the first group on gantt chart

Expected behavior
All child groups should be hidden

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.