Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
620
Move rows in groupby
posted

Hi,

i can move rows when the grid dont have any groupby, but how can do it when i have it?

now i use this code for do it:

grid.DisplayLayout.Rows.Move(grid.Selected.Rows(i), grid.DisplayLayout.ActiveRow.Index)

but it dont work with groupby.

 

tks for help

  • 620
    Offline posted

    i solve with this:

    grid.Selected.Rows(i).ParentCollection.Move(grid.Selected.Rows(i), grid.DisplayLayout.ActiveRow.Index)