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 1B3D110624 for ; Tue, 28 Apr 2015 23:14:44 +0000 (UTC) Received: (qmail 77047 invoked by uid 500); 28 Apr 2015 23:14:43 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 77016 invoked by uid 500); 28 Apr 2015 23:14:43 -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 77005 invoked by uid 99); 28 Apr 2015 23:14:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 23:14:43 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for users@flex.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 23:14:17 +0000 Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 2DD4C2146A for ; Tue, 28 Apr 2015 23:14:16 +0000 (UTC) Received: by qkhg7 with SMTP id g7so6486716qkh.2 for ; Tue, 28 Apr 2015 16:14:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=00I1uoLQzbVbdF3ASRVfbCn3Tlp8CoU3ovd2OVER4Io=; b=I8LpbgQsGhYV26wcocAF1DoNHoxD26evU0hB/okpv1qAmLoB+IwlaC1SdqfS/eEchw A+xL/hvzm05diSSOp4rhNlDcNp5AoTFsQLRO2eUIZjvMIGbvHTi/MrNlpcxeJH0yqVSz rsb+irvxx6I4SBYUbaC2ab/5hl+QU4FD0HEEYhIS0v3rHpaffjc7XRQEO4lX1rLgIfh4 e4ruH5h67xI8bfvcbsjPJ4V9syw554ZjKNf5SNtfH1X8gmnvMo9Qv0mmj00J/P/OfL+k kQZIZLVAmaxwQp0CkPnpQ7r8d9JH+19nU1yoozP+m9EQ9U2lFQMmt7IuK7EmOoH+jeD5 YIag== X-Gm-Message-State: ALoCoQmG2RYq5Y+3hrAekMDpq4OsADLDhX2IC8sUUEOWBak5xq7UzexJFB3nrlMFjtM3yQ7BU+Dy MIME-Version: 1.0 X-Received: by 10.55.21.93 with SMTP id f90mr23963231qkh.7.1430262855158; Tue, 28 Apr 2015 16:14:15 -0700 (PDT) Received: by 10.96.81.74 with HTTP; Tue, 28 Apr 2015 16:14:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 29 Apr 2015 09:14:15 +1000 Message-ID: Subject: Re: MX datagrid with and override set dataProvider From: Rudolf Schnetler To: users@flex.apache.org Content-Type: multipart/alternative; boundary=001a1147efc86b09f50514d1059d X-Virus-Checked: Checked by ClamAV on apache.org --001a1147efc86b09f50514d1059d Content-Type: text/plain; charset=UTF-8 Is it possible for you to give the full code? On Wed, Apr 29, 2015 at 9:06 AM, mark goldin wrote: > Sorry for the confusion. DataGrid lives inside of a VBox along with other > components. > > On Tue, Apr 28, 2015 at 5:49 PM, Rudolf Schnetler > wrote: > > > I don't understand what are you trying to do. Do you want to change the > > dataprovider dynamically depending on a condition? > > > > On Wed, Apr 29, 2015 at 5:13 AM, mark goldin > > wrote: > > > > > I am trying to come up with the following datagrid definition: > > > > > dataProvider="{_someData"> > > > > > > > > override public function set dataProvider(value:Object):void > > > { > > > if (value) > > > { > > > } > > > else > > > { > > > } > > > } > > > ]]> > > > > > > > > > ........ > > > > > > I am getting: > > > Method marked override must override another method. > > > > > > Any idea why am I getting it? > > > > > > Thanks > > > > > > --001a1147efc86b09f50514d1059d--