Look at this

<mx:Canvas id="scanCenterGridCanvas">
        <mx:DataGrid dataProvider="{scanCenterArray}" textAlign="center"
id="dgScanCenters" itemClick="manipulateScanCenters(event)">
      <mx:columns>
       <mx:DataGridColumn  width="20" dataField="IsSelected" headerText=""
sortable="false">
         <!--<mx:headerRenderer>
          <mx:Component>
           <mx:VBox>
            <mx:CheckBox>
             <mx:click>
              <![CDATA[
               parentDocument.headerCheckBoxClicked(event);
              ]]>
             </mx:click>
            </mx:CheckBox>
           </mx:VBox>
          </mx:Component>
         </mx:headerRenderer>-->
         <mx:itemRenderer>
          <mx:Component>
                       <mx:CheckBox>
                        <mx:click>
                         <![CDATA[
                          parentDocument.changeIsSelectedStatus(data.Id,
this.selected);
                         ]]>
                        </mx:click>
                       </mx:CheckBox>
                </mx:Component>
         </mx:itemRenderer>
        </mx:DataGridColumn>
        <mx:DataGridColumn headerText="Id" dataField="Id" visible="false" />

        <mx:DataGridColumn headerText="Name" dataField="Name"/>
        <mx:DataGridColumn headerText="Street" dataField="Street"/>
        <mx:DataGridColumn headerText="State" dataField="State"/>
        <mx:DataGridColumn headerText="ZIP" dataField="ZIP"/>
        <mx:DataGridColumn headerText="Email" dataField="Email"/>
        <mx:DataGridColumn headerText="Phone" dataField="Phone"/>
        <mx:DataGridColumn headerText="Fax" dataField="Fax"/>
        <mx:DataGridColumn headerText="Edit" dataField="Id">
         <mx:itemRenderer>
        <mx:Component>
         <mx:LinkButton label="Edit"/>
        </mx:Component>
       </mx:itemRenderer>
        </mx:DataGridColumn>
        <mx:DataGridColumn headerText="Delete" >
         <mx:itemRenderer>
        <mx:Component>
         <mx:LinkButton label="Delete" />
        </mx:Component>
       </mx:itemRenderer>
        </mx:DataGridColumn>
     </mx:columns>
    </mx:DataGrid>
      <mx:CheckBox x="{dgScanCenters.x}" y="{dgScanCenters.y}"
paddingTop="2" paddingLeft="2" click="headerCheckBoxClicked(event)"/>
       </mx:Canvas>
      <mx:CheckBox x="{dgScanCenters.x}" y="{dgScanCenters.y}"
paddingTop="2" paddingLeft="2" click="headerCheckBoxClicked(event)"/>
       </mx:Canvas>
On Wed, Jan 13, 2010 at 3:07 AM, ravi kanth <rkcy...@gmail.com> wrote:

> HiAll,
>
> how  multi selecting checkBox work s in AdvancedDataGrid.
> If i select the checkBox in Advanced datagrid header checkBox, all the
> result column checkboxes has to be selected.
>
> Please send me any sample code.see my attached jpeg for reference
>
> Thanks,
> Ravi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to flex_in...@googlegroups.com.
> To unsubscribe from this group, send email to
> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

Reply via email to