Welcome to the Xceed Community | Help
Community Search  
More Search Options

Printing columns on DataGrid from Right To Left

Sort Posts: Previous Next
  •  11-19-2009, 8:07 AM Post no. 24920

    Printing columns on DataGrid from Right To Left

    Hi,

    I want to print all the data in the grid, so I do:

    myGrid.Print("MyData", true);

    The columns are shown in the printing from left to right, even in the screen they are shown from Right To Left.

    What can i do?

  •  11-25-2009, 12:43 PM Post no. 24994 in reply to 24920

    Re: Printing columns on DataGrid from Right To Left

    Hi,

      this is definitely a bug. But there is a simple workaround: add an implicit style on DataGridControl at the Application level. e.g.: App.xaml that sets the FlowDirection property to RightToLeft. 

    The reason for this is that when we print the DataGridControl, we create a copy of the grid in the VisualTree of the application to be able to realize items and print them correctly. Since the property is not correctly affected on that grid, the implicit style will take care of it.


    Christian Nadeau
    Software Developer
    Xceed Software Inc.
  •  03-11-2010, 1:11 PM Post no. 26077 in reply to 24994

    Re: Printing columns on DataGrid from Right To Left

    This is to let you know that this issue is now fixed in the latest release, which you can download in our Updates section here:http://xceed.com/pages/TopMenu/Downloads/Updates.aspx?Lang=EN-CA
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.