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 9EC1110B5B for ; Tue, 24 Sep 2013 16:23:11 +0000 (UTC) Received: (qmail 34425 invoked by uid 500); 24 Sep 2013 16:23:05 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 34270 invoked by uid 500); 24 Sep 2013 16:23:04 -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 34177 invoked by uid 99); 24 Sep 2013 16:23:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 16:23:02 +0000 Date: Tue, 24 Sep 2013 16:23:02 +0000 (UTC) From: "Maurice Amsellem (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13776438#comment-13776438 ] Maurice Amsellem commented on FLEX-33777: ----------------------------------------- Attached the following sources for review (in FB4.7 project format) - MobileDataGrid: mobile library - MobileDataGridSample: sample app showing usage of MDG, with multi-DPI > 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 > Labels: datagrid, mobile > Attachments: MobileDataGrid_All_FB47.zip > > > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira