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
725
UltraGrid.PrintPreview after moving a row doesn't recognize the row's new position
posted

Hi

I noticed that, after changing the position of a row in an UltraGrid (to move it to the 1st position), and then printing that grid using its PrintPreview method, the mentioned row appears in its original position in the printed version of the grid. Why is this and how can I print the grid with the rows exactly where they are after moving a row (or several)?

Dim pRow = UltraGrid1.Rows.Band.AddNew()

UltraGrid1.Rows.Move(pRow, 0)   '--> it moves the new row to the 1st position

UltraGrid1.PrintPreview()   '--> prints the row where it was originally added

Any help?

Thanks