--- In flexcoders@yahoogroups.com, "markgoldin_2000" 
<[EMAIL PROTECTED]> 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