1 Reply Latest reply on Jul 17, 2006 7:37 PM by inlineblue

    checkbox hAlignment in datagrid

    emiltso
      Hello,

      I have a datagrid with check box in the first column. I was using itemRenderer for the checkboxes. But, doesn't matter how I adjust the alignment, it won't align centered in the column (horizontally). All the checkboxes all stick to the left side of the cell. Any thoughts? Here's the code:

      <mx:DataGridColumn headerText="" width="20">
      <mx:itemRenderer>
      <mx:Component>
      <mx:CheckBox />
      </mx:Component>
      </mx:itemRenderer>
      </mx:DataGridColumn>