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
335
Moving rows around the grid
posted

hello!
how can i move rows in a grid that has groupbycolumns? I've tried to remove the groupby columns do the Rows.Move() by the row key cell value and then doing the regroup by the default column.

But it didn't work either... Can it be done?

Thank You

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    The Move method simply moves the row to a new position within the same rows collection. It cannot move the row to a new collection. Nor does it change any values in the row.

    It sounds to me like you are trying to move a row into a new group. The group is based on the value of a particular cell in the row. So to move a row to a new group, you have to change the Value of the cell for which the row is being grouped. Then you need to call RefreshSortPosition on the row to update the sorting.

Children