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

Select/drag rows behavior

Hello,

I have a grid that handles dragging rows. But in order to drag the row the user must first click the row header and release the mouse button to select the row, then click again to drag the row.

How can I make it so that the user can just click and drag without releasing the mouse button?

I think it has something to do with multi-select -- that the grid wants to make sure the user isn't selecting multiple rows. Is there a property that keep the row selection to just 1 row at a time?

3 Replies

LS Lingaraj S Syncfusion Team September 30, 2009 01:13 PM UTC

Hi Chris,

Thank you for your interest in Syncfusion products.

It can be done done by handling the MouseUp and MouseDown event in GridControl and the AllowSelection must set with AlphaBlend. I ahev attached a sample that illustrates this better.

Refer the sample form below link:
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/Forums/GridSelect.zip

Please let me know if you have any queries.

Regards,
Lingaraj S.


JS Joe Sherwood April 13, 2012 04:52 PM UTC


Do you have an example of this for ASP.NET with the current version of Essential Grid?

Having a hard time with generating a grid with excel like editing and ability to drag and drop rows in ASP.NET.

Thanks
Joe




RR Ranjithkumar R G Syncfusion Team April 17, 2012 10:23 AM UTC

Hi Joe,

Thanks for your interest in Syncfusion products.

We suggest you to check our online sample link for Excel like editing for reference.

http://asp.syncfusion.com/demos/ui/gridgrouping/CRUD%20Operations/ExcelLikeEdit/cs/ExcelLikeEdit.aspx

Please let me know if you have further reference.

Regards,
Ranjithkumar.



Loader.
Live Chat Icon For mobile
Up arrow icon