In the NatTable,I use ctrl+click to choose multi rows.Then the mouse up.Then I want to drag them,but the drag need to press and move.If I don’t press ctrl,the row I press is the only row I can drag.If I press ctrl and drag,the result is loose the row which I press last.
For example,there are four rows,A,B,C and D.I selected A B C,then I drag from A to D with ctrl,only B C move,and A is not selected because of the click when drag.
I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this.
All functions in the DragSourceEvent and DropSourceEvent have been tried,but I can’t solute the question.
I think the focus of this question is the click target before drag.In other words,the drag action has two part,the first is mousedown and the second is move.But when mouse down,the click action is found first.
user24643642 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.