Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allowCrossGridDrag.transferData does not work for TreeData #10245

Open
ghulamghousdev opened this issue Oct 22, 2024 · 0 comments
Open

allowCrossGridDrag.transferData does not work for TreeData #10245

ghulamghousdev opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum ready for review Issue is fixed, the pull request is being reviewed

Comments

@ghulamghousdev
Copy link
Member

Forum post

What would be the best way to make the default drop functionality (from one Gantt into another) use Copy instead of Move?
So, basically I would like to use the CTRL + Drag row as a default when dragging a row into an another Gantt.

Is there a configuration setting for this somewhere?

In the docs I found 'GridRowReorderConfig.allowCrossGridDrag.transferData' but no examples for copy, and I haven't been able to make it work. Is this the preffered method of achieving the copy functionality? If so, could you supply a simple example of using the copy function?

Note: Currently the copy method only works when dragging when CTRL key is pressed. We should add a simple config to handle make the row drag behaviour more configurable.

@ghulamghousdev ghulamghousdev added bug Something isn't working forum Issues from forum labels Oct 22, 2024
@ghulamghousdev ghulamghousdev self-assigned this Oct 23, 2024
@ghulamghousdev ghulamghousdev changed the title allowCrossGridDrag.transferData does not do anything allowCrossGridDrag.transferData does not work for TreeData Oct 23, 2024
@ghulamghousdev ghulamghousdev changed the title allowCrossGridDrag.transferData does not work for TreeData allowCrossGridDrag.transferData does not work for TreeData Oct 23, 2024
@ghulamghousdev ghulamghousdev added ready for review Issue is fixed, the pull request is being reviewed and removed in progress labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum ready for review Issue is fixed, the pull request is being reviewed
Projects
None yet
Development

No branches or pull requests

1 participant