We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

drag n drop

Hi, would it be possible to drag n drop detail rows or group headers into some recipient? will you have a demo that shows this? thanks

3 Replies

AD Administrator Syncfusion Team March 27, 2004 05:04 PM UTC

Currently, there is no Drag and Drop support in the GridGroupingControl. This functionality will be added for a future release. It will not be in the 2.0 release though. To implement this support, you can derive GridSelectCellsMouseController and override MouseDown, MouseMove and MouseUp to initiate a D&D operation yourself. Here is a sample that lets you select rows in a GridGroupingControl. Then if you mousedown on the selection, you can drag it to the GridDataBoundGrid or TextBox on the form, or you can drag it to Excel. This sample only puts Text in the DataObject, but you can add whatever data you want to drag. forum_GroupingDnD_1907.zip


AD Administrator Syncfusion Team May 19, 2004 02:35 PM UTC

Hi Clay, I just upgraded to 2051 from 2050 and the above program is not behaving the same. you can''t select multiple rows and the upper left select all cell doesn''t work. any ideas? thanks


AD Administrator Syncfusion Team May 20, 2004 06:07 AM UTC

Try setting this property. this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Any;

Loader.
Live Chat Icon For mobile
Up arrow icon