You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Marcus Fritze (JIRA)" <ji...@apache.org> on 2014/03/27 15:53:16 UTC

[jira] [Comment Edited] (FLEX-13628) printDataGrid clips off bottom of content when variableRowHeight is set to 'true'

    [ https://issues.apache.org/jira/browse/FLEX-13628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949414#comment-13949414 ] 

Marcus Fritze edited comment on FLEX-13628 at 3/27/14 2:52 PM:
---------------------------------------------------------------

The attached files solves this issue.

I have tested the patch and this also solves:

FLEX-14784
FLEX-20755
FLEX-23252

But this doesn't solve FLEX-22758 , because in FLEX-22758 the example use groupedColumns for the PrintAdvancedDataGrid. And currently, there is no calculation for the correct header height when a groupedColumn is used.


was (Author: marcusfritze):
The attached files solves this issue.

I have tested the patch and this also solves:

FLEX-14784
FLEX-20755
FLEX-23252

But this doesn't solve FLEX-22758 , because in FLEX-22858 the example use groupedColumns for the PrintAdvancedDataGrid. And currently, there is no calculation for the correct header height when a groupedColumn is used.

> printDataGrid clips off bottom of content when variableRowHeight is set to 'true'
> ---------------------------------------------------------------------------------
>
>                 Key: FLEX-13628
>                 URL: https://issues.apache.org/jira/browse/FLEX-13628
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: PrintDataGrid
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>              Labels: easyfix, easytest, patch
>         Attachments: Flex-13628-PrintAdvancedDataGrid.patch, Flex-13628-PrintDataGrid.patch
>
>
> Steps to reproduce:
> 1.  Build a flex application with a datagrid on it... fill the datagrid with information that will require variableRowHeight set to 'true'
> 2.  Use a printDataGrid to print the dataGrid component in your application (also set the printDataGrid's variableRowHeight property to true)
>     2a.  In my case I'm also using an itemRenderer in both grids... the itemRenderer will behave differently in the printDataGrid and the dataGrid - when printing I explicitly tell it to shrink as much as it can in vertical height to conserve paper... in testing where the effects of this renderer were removed no positive effects were seen.
>  
>  Actual Results:  The bottom of the datagrid will be clipped off in varying amounts.  (This amount of clipping seems to be loosely correlated to the amount of variance in height in the datagrid rows....)
>  
>  
>  Expected Results:  The entire printDataGrid to be visible
>  
>  
>  Workaround (if any):  None found as of yet.



--
This message was sent by Atlassian JIRA
(v6.2#6252)