clayrisser / react-gantt

A gantt chart for react
https://codejam.ninja
MIT License
150 stars 40 forks source link

Can react-gantt support a slider/cursor? #25

Open xeolabs opened 4 years ago

xeolabs commented 4 years ago

Hi Jam,

I'd like to be able to move a slider/cursor back and forth horizontally, which would be indicated with a vertical line. As I move it, I'd get events indicating which tasks the cursor intersects. Is this supported by this timeline?

Use case: We have a 3D model of a building, on which various tasks are scheduled. We can associate the model's objects with tasks on a Gantt timeline. We'd like to have a slider (a vertical line going from the top of the chart to the bottom) that we can move back and forth horizontally. Whenever the slider intersects one or more tasks, we'd like to highlight the model objects associated with those tasks. Does react-gantt currently have functionality to support such a thing?

Thanks!

clayrisser commented 4 years ago

It does not support it at the moment. However, pull requests are welcome.