I could not find a sample for DG with a checkbox. Is there one?
--- In [email protected], "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "markgoldin_2000"
> <markgoldin_2000@> wrote:
> >
> > <You could also potentially use my extended datagrid
> > Where can I find it?
> >
> > --- In [email protected], "Amy" <amyblankenship@> wrote:
> > >
> > > --- In [email protected], "markgoldin_2000"
> > > <markgoldin_2000@> wrote:
> > > >
> > > > I am trying to get a checkbox working properly in my DG
column
> > when
> > > > it's placed in a HBox in order to center the checkbox.
> > > > I am overriding a few functions in the checkbox but none of
> them
> > gets
> > > > any hit. Do I need also override something in the HBox
> container?
> > >
> > > You might find this useful:
> > > http://www.returnundefined.com/2006/11/creating-truly-reusable-
> > > renderers-with-classfactory
> > >
> > > You could also potentially use my extended datagrid to set the
> > > verticalCenter and horizontalCenter on the checkboxes to 0. In
> > that
> > > case, you could simply use a CheckBox as the itemRenderer. Or,
> if
> > > you're only using CheckBoxes in that one place, you could just
> use
> > a
> > > CheckBox TypeSelector to set the horizontalCenter and
> > verticalCenter
> > > styles.
>
> http://flexdiary.blogspot.com/2008/09/extended-datagrid-with-
> stylefunction.html
>
> HTH;
>
> Amy
>