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.
this.datagrid.Model.CurrencyManager.CurrentCell.ScrollInView();
}
}
We have prepared a sample based on this. Please find the sample in the following location.
Please let us know if this helps.
Regards,
Deenadhayalan
GDC_MoveRow_a1002cf0.zip