2 Replies Latest reply on Nov 14, 2009 10:22 PM by Gregory Lafrance

    TextArea and DateField in DataGrid editable after 'editable' set to 'false'

    Gregory Lafrance Level 6

      I have a DataGrid, and although I've set the DataGrid "editable" field to "false", and have also set the columns "editable" field to "false", the DateFields and TextArea are still editable. Anyone know why?

       

      <mx:DataGrid id="touchpointDG" dataProvider="{contactTouchpointsXLC}" width="100%"
      alternatingItemColors="[0x80BDE0, 0xD2F5E9]" rowHeight="25" editable="false">
      <mx:columns>
        <mx:DataGridColumn dataField="touchpointDate" headerText="Date" 
          itemRenderer="components.DateFieldXML" width="100" editable="false"/>
        <mx:DataGridColumn dataField="touchpointType" headerText="Type" width="170"/>
        <mx:DataGridColumn dataField="touchpointResult" headerText="Result" width="120"/>
        <mx:DataGridColumn dataField="touchpointNextAction" headerText="Next Action" width="205"/>
        <mx:DataGridColumn dataField="touchpointNextActionDate" headerText="Next Date" 
          itemRenderer="components.DateFieldXML" width="100" editable="false"/>
        <mx:DataGridColumn dataField="touchpointDetails" editable="false" 
          headerText="Touchpoint Details" itemRenderer="mx.controls.TextArea"/>
      </mx:columns>
      </mx:DataGrid>