New to KendoReact? Start a free 30-day trial
Drag and Drop Items From the KendoReact Grid to the KendoReact Scheduler
Environment
Product Version | 3.15.0 |
Product | Progress® KendoReact Grid |
Description
Looking for a drag and drop between KendoReact Grid and KendoReact Scheduler. I want to transfer items from the Grid to the Scheduler.
Solution
This will required the following setup:
- Use the rowRender prop of the Grid to make the row draggable and to get the currently dragged item.
- Then we need add a onDropEvent to the Scheduler container using the component ref.
- When the user drops an item we add it to the Scheduler data updating the state.
Change Theme
Theme
Loading ...