2 Replies Latest reply on May 13, 2010 11:38 PM by Abhinav Sharma

    PrintDataGrid : Multi Page Print NOT WORKING Properly.

    Abhinav Sharma Level 2

      On printing using printDataGrid and setting wordWrap="true"variableRowHeight="true" i am having problem in the second page of print. Last row in the datagrid in second and later pages is getting partially visible in an un defined manner.I don't have why it is happening?

      Please help.

       

      Thanks in advance

       

        • 1. Re: PrintDataGrid : Multi Page Print NOT WORKING Properly.
          Flex harUI Adobe Employee

          You might need to adjust the height of the PDG on each page.

          1 person found this helpful
          • 2. Re: PrintDataGrid : Multi Page Print NOT WORKING Properly.
            Abhinav Sharma Level 2

            Thanks Flex harUI. But problem is still there.

             

            I have already set its height to 100%. I am using the help from Sample example at Adobe's resource Help Resource Centerhttp://livedocs.adobe.com/flex/3/html/help.html?content=printing_5.html

             

            It is working fine when the VariableRowHeight = "FALSE" but when it is set to TRUE (also WordWrap = "TRUE") then it is having problem. I have also checked it on doing some changes in the adobe's sample example.

             

            PrintDataGrid.validNextPage() is also not work properly in this case:

            When there are only FOUR(4) rows in PrintDataGrid and then i print, 3 records are printing at first page and 4th record is shifting to next page and also 3rd record is getting partially dissappeared.

            Please see the images below:


            1. WHEN wordWrap="false" variableRowHeight="false"
            If_VarRH_IS_FALSE.jpg
                 Img1:wordWrap="false" variableRowHeight="false"


            2. WHEN wordWrap="true" variableRowHeight="true"

            If_VarRH_IS_TRUE_1.jpg
                 Img2.1:wordWrap="true" variableRowHeight="true"

            If_VarRH_IS_TRUE_2.jpg
                  Img2.2:wordWrap="true" variableRowHeight="true"


            Please provide solution for this.

            thanks in advance.

            -Abhinav