Also see: 
http://blogs.adobe.com/aharui/2007/04/more_thinking_about_item_rende.html

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
markgoldin_2000
Sent: Friday, October 31, 2008 1:50 PM
To: [email protected]
Subject: [flexcoders] Re: Center Checkbox in DG Column


<You could also potentially use my extended datagrid
Where can I find it?

--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, "Amy" 
<[EMAIL PROTECTED]> wrote:
>
> --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, 
> "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.
>
> HTH;
>
> Amy
>

Reply via email to