Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14F6011FDE for ; Thu, 27 Mar 2014 14:53:17 +0000 (UTC) Received: (qmail 83023 invoked by uid 500); 27 Mar 2014 14:53:16 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 83002 invoked by uid 500); 27 Mar 2014 14:53:16 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 82986 invoked by uid 99); 27 Mar 2014 14:53:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 14:53:15 +0000 Date: Thu, 27 Mar 2014 14:53:15 +0000 (UTC) From: "Marcus Fritze (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-13628) printDataGrid clips off bottom of content when variableRowHeight is set to 'true' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-13628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcus Fritze updated FLEX-13628: --------------------------------- Attachment: Flex-13628-PrintDataGrid.patch Flex-13628-PrintAdvancedDataGrid.patch 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)