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.
Unfortunately, activation email could not send to your email. Please try again.

Select/drag rows behavior

Thread ID:

Created:

Updated:

Platform:

Replies:

90354 Sep 27,2009 08:48 AM Apr 17,2012 06:23 AM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 27, 2009 08:48 AM

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?

Lingaraj S [Syncfusion]
Replied On September 30, 2009 09:13 AM

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.

Joe Sherwood
Replied On April 13, 2012 12:52 PM


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



Ranjithkumar R G [Syncfusion]
Replied On April 17, 2012 06:23 AM

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.



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;