flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Re: MX datagrid with and override set dataProvider
Date Tue, 28 Apr 2015 21:19:58 GMT
No, that's not it. The syntax is correct.


On Tue, Apr 28, 2015 at 3:58 PM, Rudolf Schnetler <rudolf@stripedog.com>
wrote:

> Hi Mark,
>
> Did you copy your code correctly?
>
> If you did, then the problem is probably how you end the mx:Datagrid tag.
> It should be:
>
> <mx:DataGrid headerHeight="0" rowHeight="28"
>  dataProvider="{_someData"}/>
>
> Misiing the }/ just before the >.
>
> Regards
>
> Rudolf
>
> On Wed, Apr 29, 2015 at 5:13 AM, mark goldin <markzolotoy@gmail.com>
> wrote:
>
> > I am trying to come up with the following datagrid definition:
> > <mx:DataGrid headerHeight="0" rowHeight="28"
> >  dataProvider="{_someData">
> > <mx:Script>
> > <![CDATA[
> > override public function set dataProvider(value:Object):void
> > {
> > if (value)
> > {
> > }
> > else
> > {
> > }
> > }
> > ]]>
> > </mx:Script>
> > <mx:columns>
> > ........
> >
> > I am getting:
> > Method marked override must override another method.
> >
> > Any idea why am I getting it?
> >
> > Thanks
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message