react-scheduler / react-big-schedule

React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React.
https://react-big-schedule.vercel.app/
MIT License
101 stars 23 forks source link

How do i use drag and drop in react-big-schedule #137

Closed moreswapnil95 closed 8 months ago

moreswapnil95 commented 9 months ago

Checklist

Please make sure the question is worded well enough to be understood

https://stephenchou1017.github.io/scheduler/#/draganddrop please visit this link it is too complicated i copy same code did not run and also download same file but did not install get error

ansulagrawal commented 9 months ago

Use code sandbox and send the link

moreswapnil95 commented 9 months ago

how to do it hello

ansulagrawal commented 9 months ago

Tell me which library are you using

moreswapnil95 commented 9 months ago

Tell me which library are you using

react-dnd react-dnd-html5-backend any other alternative

ansulagrawal commented 9 months ago

can you share screenshot of package.json file

ansulagrawal commented 9 months ago

I have added an example in this sandbox link

moreswapnil95 commented 9 months ago

sir i want drag a task and drop into gantt chart like below https://stephenchou1017.github.io/scheduler/#/draganddrop

ansulagrawal commented 9 months ago

Please give me some time I will provide you the solution.

moreswapnil95 commented 9 months ago

any alternative library? HELLO

moreswapnil95 commented 9 months ago

sir you found solution or not? how much time require for that problem? its been two days

ansulagrawal commented 9 months ago

https://react-big-schedule.vercel.app/drag-and-drop

check this url

for code visit https://github.com/react-scheduler/react-big-schedule-example/blob/master/src/pages/Drag-and-Drop/class-based.jsx

moreswapnil95 commented 9 months ago

thanks but there is only class component code not functional component

ansulagrawal commented 9 months ago

If you need it for functional please wait for 1 week will provide that also.

moreswapnil95 commented 9 months ago

If you need it for functional please wait for 1 week will provide that also.

yes sure

moreswapnil95 commented 8 months ago

Sir, did you get solution for functional component?

ansulagrawal commented 8 months ago

Hello @moreswapnil95 sorry for delay, but I have added a functional based also.

You can check it out at: Live: https://react-big-schedule.vercel.app/drag-and-drop Code: https://github.com/react-scheduler/react-big-schedule-example/blob/master/src/pages/Drag-and-Drop/functional-based.jsx