The reported requirement can be achieved by handling the DragDrop, DragOver and TableControlMouseDown events in GridGroupingControl. We have prepared the sample and the video based on the reported requirement and it can be downloaded from the below location.
Sample Location : http://www.syncfusion.com/downloads/support/forum/119603/ze/TreeCustom-1656668409
Video Location : http://www.syncfusion.com/downloads/support/forum/119603/ze/DragDropGridGrouping1726062271
Please refer the below knowledge base documentation for further reference.
KB link : http://www.syncfusion.com/kb/581/how-to-drag-and-drop-in-the-gridgroupingcontrol
Please let us know if you need further assistance.
Regards,
Senthil
We have analyzed the reported scenario. The loop that you have mentioned is working fine. We have prepared the video for your reference and it can be downloaded from the below location. Could you please ensure that you have used ListBoxSelectionMode in your sample and please let us know the Syncfusion version that you are using. For better way to track the issue, please replicate the reported scenario in the sample provided and get back to us. So, that it would be easy for us to track the issue.
Video Location : http://www.syncfusion.com/downloads/support/forum/119603/ze/CustomGridGrouping615032878
Please let us know if you have any other concerns.
Warm Regards,
Senthil
We could not able to reproduce the reported behavior in normal cases. Additionally from the provided video we suspect you have initialized AllowSelection enum as an GridSelectionFlags.Row in GridGroupingControl. Please change the GridSelectionFlags as none as in the following code snippet.
Code Snippet[C#]:
GridGroup.TableOptions.AllowSelection = Syncfusion.Windows.Forms.Grid.GridSelectionFlags.None; |
Could you please modify this and let us know whether the reported issue is resolved. If not could you please let us know what are the additional properties and enums you have initialized on your GridGroupingControl? That will be helpful for us to analyze and provide you a prompt solution as early as possible.
Please let us know if you need further assistance.
Regards,
Senthil