title: Weird Behaviour-CheckBoxes as ItemRenderer within Flex DataGrid - FLEX 3
body: <p>I'm having this weird behaviour in a datagridColumn which I've customized to have its cells  rendered as checkBoxes rather than the dafault itemRenderer (i.e. strings). The relevant code is as follows:</p>
  
  <pre><code>&lt;mx:DataGridColumn sortable="false" textAlign="center" headerText="" width="20" dataField="colCB"&gt;
    &lt;mx:itemRenderer&gt;
      &lt;mx:Component&gt;
        &lt;mx:CheckBox selected="true"&gt;
          &lt;mx:Script&gt;
          &lt;![CDATA[
              import mx.controls.Alert;
              public function change():void{
                  //TODO
              }
          ]]&gt;
          &lt;/mx:Script&gt;
        &lt;/mx:CheckBox&gt;
      &lt;/mx:Component&gt;
    &lt;/mx:itemRenderer&gt;
  &lt;/mx:DataGridColumn&gt;
  </code></pre>
  
  <p>Well, what happens is that whenever I check a checkbox, other checkboxes (in other rows) get <em>randomly</em> checked or unchecked, and if I scroll down or up they once again <em>randomly</em> get selected or unselected.</p>
  
  <p>Can anybody help me with this one?</p>
  
  <p>Thanks is advance</p>
  
  <p>PS by the way, I've suppressed the starting "&lt;" in the tags because it was messing with the textEditor, but in my code they're there</p>