You are absolutely right !
It worked !
Thank you very much.

Where should I log this bug ?

Greg Dove <greg.d...@gmail.com> escreveu no dia terça, 29/03/2022 à(s)
00:36:

> For:
> modelType="{TestGridModel}"
>
> it is not 'modelType' that needs to be [Bindable] in this case as it is the
> destination of the binding, not the source of it.
>
> Assuming other bindings are working in the enclosing mxml file (which
> should be true with ContainerDataBinding), then perhaps there is an issue
> with the 'const'-like assignment of a class directly in this case. You
> could perhaps try doing something like this:
>
> public class TestConfig {
>
>   public static const gridModel:Class = TestGridModel;
>
> }
>
> and
> modelType="{ TestConfig.gridModel }"
>
> to see if that works. If changing it like that does work, then please log a
> bug for the original version of this that is not working,
>
>
>
>
>
> On Tue, Mar 29, 2022 at 12:09 PM Hugo Ferreira <hferreira...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I have the following mxml code:
> >
> > <dg:DataGrid localId="grid"
> > dataProvider="{data}"
> > width="100%"
> > height="200">
> > <dg:beads>
> > <beads:DataGridOptions modelType="{TestGridModel}"/>
> > </dg:beads>
> > ...
> >
> > The DataGridOptions bead it's a bead to dynamically add buttons on the
> > Jewel DataGrid footer.
> > This bead have a property called modelType:Class and the data binding is
> > not working (the property is always null)
> >
> > I have the ContainerDataBinding set on the main mxml file.
> > I also tried to decorate the modelType property with [Bindable]
> >
> > Do I missing a special DataBinding bead for this ?
> >
>

Reply via email to