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

  • 23930
    Offline posted

    Hello Mariela,

     

    I tried to reproduce your issue on my machine using the latest service release of Infragistics Volume 13.1 (13.1.20131.2079) and everything works fine. I added a new row and then I moved it to first position as you described. Then I used PrintPriview and all the rows were displayed properly according to their position in the grid.

     

    Could you please let me know what exactly version of Infragistics you are using.

     

    I have attached the sample which I’ve tested, is it possible for you to modify it so it demonstrates your issue.

     

    I am waiting for your response and the modified sample, so I can continue to investigate your case.

    WG_PrintPreviewRowsInCorrectOrder.zip