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
60
Row move not working
posted

Hi,

I am novice to infragistics programming.

I have this piece of code to move row from one position to other after certain operation.

The row is moved correctely first time i call this method but from next time onwards i am not able to move any row.

Also when i see the value of row in watch window it is still displaying the old values(the ones which were successfully moved at the beginning).

Please help me.May be i am missing something here after intially rows were moved successfully. :(

public
void MoveRows(int from, int to)

{

UltraGridRow row = this.TopControl.Grid.Rows[from];

this.TopControl.Grid.Rows.Move(row, to);

}

~Andy