Home Forums WinForms controls Xceed Grid for WinForms Move row up and down Reply To: Move row up and down

User (Old forums)
Post count: 23064

I’m trying to do something similar to Sharad. I have a grid control with 2 buttons on the form. One is to move the selected row(s) up a position and the other is to move the selected row(s) down a position. I’ve tried using the MoveCurrentRow method, but it’s not moving my selected row at all.

here’s what i’m doing in the button’s click event:

if (gcEntries.SelectedRows.Count > 0)

catch (Exception ex)

Does anyone have any advice and suggestions on how to accomplish this?

thank you

Imported from legacy forums. Posted by Nathan (had 426 views)