1 Reply Latest reply on Jun 12, 2012 6:09 AM by Jerry62712

    item renderer problem

    Jerry62712 Level 1

      I don't seem to have the correct syntax for adding a check box to a datagrid.  Here is what I have:

      <cust:MyAdvancedDataGrid
      id="dgData"
      width="100%" height="85%"
      textAlign="center"
      fontWeight="normal"
      dataProvider="{custVO}"
      selectionMode="singleCell"
      accessibilityName="Case Composition, DataGrid, use arrow keys to navigate between cells">
      <cust:columns>
      <mx:AdvancedDataGridColumn
      headerText="Select"
      rendererIsEditor="true"
      width="100">
      <mx:itemRenderer>
      <fx:Component>
      <s:CheckBox selected="false"/>
      </fx:Component>
      </mx:itemRenderer>
      </mx:AdvancedDataGridColumn>

       

      This was based on a google search.

       

      What is the correct format?