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 51A1E10A66 for ; Tue, 1 Oct 2013 23:16:26 +0000 (UTC) Received: (qmail 61128 invoked by uid 500); 1 Oct 2013 23:16:26 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 61108 invoked by uid 500); 1 Oct 2013 23:16:26 -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 61055 invoked by uid 99); 1 Oct 2013 23:16:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 23:16:26 +0000 Date: Tue, 1 Oct 2013 23:16:25 +0000 (UTC) From: "Maurice Amsellem (old) (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (FLEX-33777) DataGrid for mobile 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-33777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maurice Amsellem (old) updated FLEX-33777: ------------------------------------------ Comment: was deleted (was: Source code with Apache headers and Notice ) > DataGrid for mobile > ------------------- > > Key: FLEX-33777 > URL: https://issues.apache.org/jira/browse/FLEX-33777 > Project: Apache Flex > Issue Type: New Feature > Components: .Unspecified - Mobile > Affects Versions: Apache Flex 4.11.0 > Reporter: Maurice Amsellem (old) > Assignee: Maurice Amsellem > Labels: datagrid, mobile > Attachments: MobileDataGrid.fxpl, MobileDataGridSample.fxp > > Time Spent: 48h > Remaining Estimate: 0h > > I have developed for my company (SYSTAR) a custom Flex Mobile DataGrid component (MDG for short) , for one of our projects (Business Activity Monitoring framework, running on mobile devices ). > You can see a quick video of the MDG in action here: > http://www.youtube.com/watch?v=nm9yGfcwwBo > (make sure to select 720p, for best viewing quality). > More details on the component at end of this email. > I would like, on behalf and with the formal agreement of my company, to donate this component's source code to Apache Flex. > ------------------------------------------------ > Mobile DataGrid component details: > The goal was to provide essential datagrid functions adapted to mobile devices, with good performance on mobile. > Features: > - Displays information in tabbed columns (like any datagrid) > - Sorting columns by clicking on the header > - Touch enabled scrolling. > - Selection > - Default renderers for stylable text and embedded bitmaps. > - Custom renderers (preferably in AS) are possible. > - Multi DPI aware ( both scaling and no scaling, media css, multi-DPI artwork). > > *Note on performance* > Good performance was key for this component, so it derives from List, and not from DataGrid. > To ensure good performance, all the columns for each row are rendered using one single "TabbedRowItemRenderer" which inherits from the base mobile list renderer. > This renderer will delegate the rendering of each column in the row to lightweight sub-renderers, and will manage the tabbed layout of sub-renderers. > There are two predefined sub-renderers: > - The sub-renderer for Text inherits from StylableTextField > - The sub-renderer for bitmaps inherits from BitmapAsset. > Custom sub-renderers must implement a given interface and be written in AS3. > > Performance tests: > Sample Mobile dataGrid displaying: 300 lines by 6 columns: > . 4 of small text, > . 1 with icon > . 1 with multiline very long text in small font. > > iPad 2 ipad 3 retina (gpu) iPhone4s > scrolling (fps) 24 24 18-24 > sort on short col instant instant 0.3s > sort on long text <2s < 2s < 2s -- This message was sent by Atlassian JIRA (v6.1#6144)