Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 783A5182C7 for ; Fri, 30 Oct 2015 07:58:52 +0000 (UTC) Received: (qmail 56567 invoked by uid 500); 30 Oct 2015 07:58:52 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 56539 invoked by uid 500); 30 Oct 2015 07:58:52 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 56525 invoked by uid 99); 30 Oct 2015 07:58:51 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 07:58:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8814F1A253A for ; Fri, 30 Oct 2015 07:58:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.119 X-Spam-Level: X-Spam-Status: No, score=-0.119 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id GLJKB7jRbECI for ; Fri, 30 Oct 2015 07:58:40 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 0E4572139E for ; Fri, 30 Oct 2015 07:58:40 +0000 (UTC) Received: by wicll6 with SMTP id ll6so5080162wic.0 for ; Fri, 30 Oct 2015 00:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:message-id :references:to; bh=XQEWVrxgJQ0AMfN86a5toKMhSOzHgTLFH1gB4Hklrm0=; b=JrRT9Mv2rD2RiylIfKhd+Vj792vjFiKROwV+r3BbLItBZwSajOr1z7/O4pHp4WmErG gZQgg01b6qCKC66IPBacVQ2JdohB0Ec4apdmrD1NuLuY9m3dMYpFgZmOWRGXiavK/v1h uoHZVuaCwRBpw5lZBpQ5Hw/VSP0yWUe+1eriXd3drgGwNcw0fhNV70fOp6no1l6AeEA2 20tM1v9EYJD1sjStfMD+2/jgyI7nWYLfo7Ni1o7GnRVztBhsCKVqPkEIA/y23ddJC0uQ B2ljCoaQ4JMQWUeLeJaF/a4/XNp5MUHF7rm1DZuLRvU6/ImmbjgD2dKKPIUPnphqumYg 7jAA== X-Received: by 10.194.86.198 with SMTP id r6mr6558070wjz.19.1446191913201; Fri, 30 Oct 2015 00:58:33 -0700 (PDT) Received: from ?IPv6:2003:5f:3f22:e400:edff:602b:889:8641? (p2003005F3F22E400EDFF602B08898641.dip0.t-ipconnect.de. [2003:5f:3f22:e400:edff:602b:889:8641]) by smtp.googlemail.com with ESMTPSA id u64sm1574139wmd.6.2015.10.30.00.58.32 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Oct 2015 00:58:32 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_44545198-DE89-4EB4-9AA0-849D073A2154"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: prevent selection of row in DataGrid when checkbox itemrenderer is clicked X-Pgp-Agent: GPGMail 2.6b2 From: Marcus Fritze In-Reply-To: <56332146.6050607@dahmenia.de> Date: Fri, 30 Oct 2015 08:58:31 +0100 Message-Id: References: <008a01d11275$e7cd2570$b7677050$@crmantra.com> <563311F2.1040607@dahmenia.de> <618D76E8-CE94-4620-AAD8-E318639BA159@googlemail.com> <56332146.6050607@dahmenia.de> To: users@flex.apache.org X-Mailer: Apple Mail (2.3096.5) --Apple-Mail=_44545198-DE89-4EB4-9AA0-849D073A2154 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Only some german questions for better understanding of the Problem. ;-) Ok Frank, erkl=E4r mir das noch mal genau auf deutsch. Bei allen anderen Zeilen au=DFer bei der Zeile mit der CheckBox soll = also der Hintergrund farblich markiert sein, wenn Zeile gew=E4hlt? Und du willst das Click-Event auf die Checkbox abgreifen? Hab ich das jetzt nichtig verstanden? > Am 30.10.2015 um 08:50 schrieb Frank Dahmen : >=20 > Also, the row may get the selected background, but i want to prevent = the selectionchange event > or catch that the checkbox was clicked in the selectionchangehandler >=20 >=20 > Am 30.10.2015 um 08:26 schrieb Marcus Fritze: >> In the itemrenderer of the datagrid set autodrawbackground=3D"false" >>=20 >> Marcus Fritze >>=20 >>> Am 30.10.2015 um 07:45 schrieb Frank Dahmen : >>>=20 >>> I have a datagrid with selectable rows >>> ( selectionChange=3D"gridSelectionChangeHandler(event)" ) >>> one column has a checkbox itemrenderer >>> how can I prevent the selection when I click the checkbox? >>>=20 >>> Thanks >>>=20 >=20 --Apple-Mail=_44545198-DE89-4EB4-9AA0-849D073A2154 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJWMyMnAAoJEDZFCBi6PbVSGBgH/RIKwYcD8dqeEAQCOlWUEzZZ DOh3LiLUWkbeXl9q3EdWQN7gv60vG4mxJ9zl1udajf9q/vpOZRGrU8tzpvXmdIQ4 qfD/MI7uu626l1ku+g98bff+f4OcqX88S7BQQTd7MPWtvUi2DtypXxUUQA15pugd R0SRzzN8wY1sUCuVA1EIOhBDzis7gEcwQho6Dt6AbdVBuJIM0kyeJCe0+Ia4xXDR axiGbJimAeEKjdd9tVry2eygEkqfpsCSxNPStY3H+yVv3lFphFdle9QVbn3q6JMw W+0kX6foCIY6d+AZ7PNKniircO8e151NlB4G7n14IiF/ijNluo7S0oJ1Pe+HrtQ= =dV+m -----END PGP SIGNATURE----- --Apple-Mail=_44545198-DE89-4EB4-9AA0-849D073A2154--