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 065EF17C7A for ; Thu, 11 Jun 2015 14:00:13 +0000 (UTC) Received: (qmail 47073 invoked by uid 500); 11 Jun 2015 14:00:12 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 47057 invoked by uid 500); 11 Jun 2015 14:00:12 -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 47047 invoked by uid 99); 11 Jun 2015 14:00:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2015 14:00:12 +0000 Date: Thu, 11 Jun 2015 14:00:12 +0000 (UTC) From: "Renan Fretta (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLEX-34888) DataGrid jumping to the next row MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Renan Fretta created FLEX-34888: ----------------------------------- Summary: DataGrid jumping to the next row Key: FLEX-34888 URL: https://issues.apache.org/jira/browse/FLEX-34888 Project: Apache Flex Issue Type: Bug Components: mx: DataGrid Affects Versions: Apache Flex 4.14.1 Reporter: Renan Fretta When you press ZERO in an itemRenderer the DataGrid, the Flex is jumping to the next row. public class MyCorrectionDataGrid extends DataGrid { override protected function keyDownHandler(event:KeyboardEvent):void { if (itemEditorInstance || !owns(DisplayObject(event.target))) { return; } if (event.keyCode == 48 || event.keyCode == 96) { return; } if (event.keyCode != Keyboard.SPACE) { super.keyDownHandler(event); } else if (caretIndex != -1) { moveSelectionVertically(event.keyCode, event.shiftKey, event.ctrlKey); } return; } } -- This message was sent by Atlassian JIRA (v6.3.4#6332)