3 Replies Latest reply on Nov 30, 2006 2:29 PM by jsevlie

    Center CheckBox as Item Renderer

    mrbahr Level 1
      Hi All,

      I am using a checkBox as an ItemRenderer in a DataGridColumn. It always comes out left justified in the column. Is there a way to center the checkbox. I am using code like the following:

      <mx:DataGridColumn headerText="Active?" dataField="active" width="60">
      <mx:CheckBox selected="{outerDocument.setCheck(data.active)}"/>

      The checkbox doesn't have any label and I don't want one. I just want the checkbox centered in the column instead of left justified. Anybody out there know how to do this.

      Thanks for your help.