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.

Syncfusion GridDataControl

Thread ID:





99982 Jun 23,2011 11:55 PM Jun 27,2011 05:46 AM WPF 1
Tags: GridControl
Than Htike Aung
Asked On June 23, 2011 11:55 PM


Is there any way to get the Drag and Drop features in Syncfusion GridDataControl please?

For example, we assume there is 20 rows and i will drag the Row 15 and want to drop at Row 1. Then the scroll will go up accrodingly mouse movement to Row 1.

Please help.


Deenadhayalan M [Syncfusion]
Replied On June 27, 2011 05:46 AM

Hi Than,

Sorry for the inconvenience caused.

Currently, Our GridDataControl doesn't support for Drag and drop the rows. We can drag and drop the columns. But you can achieve your requirement by setting the code snippets as follows,

private void Button_Click(object sender, RoutedEventArgs e)
if (this.datagrid.Model[20, 0].CellValue.ToString() == "Kevin")
//Moving the last item to firstposition in the collection.
Collection.Move(19, 0);

//current cell will be set at 1st position here
this.datagrid.Model.CurrencyManager.CurrentCell.MoveTo(1, 2);

//this method used to bring the current cell in to view by scrolling.

We have prepared a sample based on this. Please find the sample in the following location.

Please let us know if this helps.




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.