hey guys..i want urgent help..please.....

I have a datagrid with check as itemrenderar..
and two combo box,two textinput. these are editable.
when ever i am clicking on these four (Combo box,textinput) the check
box will check automitically...

please help.... i need urgent..

here  sample code..
<mx:DataGrid height="100%" width="100%" id="getServiceTickets"
editable="true"  doubleClickEnabled="true"  resizableColumns="true"
textAlign="center" variableRowHeight="true"  itemClick="collectData
(event)" draggableColumns="false" itemDoubleClick="ticketDisplay
(event)" >


                        <mx:columns>
                                mx:DataGridColumn headerText="" 
dataField="checkBox"
editable="false" width="15" >
                                                <mx:itemRenderer>
                                                                <mx:Component>
                                                                     
<mx:CheckBox
change="data.selected=selected,outerDocument.updateEnableFn(event)"
click="data.checkBox=!data.checkBox" selected="{data.checkBox}"/>
                                                                  
</mx:Component>
                                                 </mx:itemRenderer>
                                     </mx:DataGridColumn>

                                                                
<mx:DataGridColumn headerText="Ticket Number" minWidth="10"
dataField="TicketNumber"  editable="false" wordWrap="true"
headerWordWrap="true" />
                                        <mx:DataGridColumn headerText="Summary"
dataField="Title" editable="false" wordWrap="true"
headerWordWrap="true"/>
                                       <mx:DataGridColumn headerText="Status"
dataField="Status" editable="true" editorDataField="changedVal"
itemEditor="VStatus" wordWrap="true" headerWordWrap="true"
resizable="true"  />


                                                <!-- <mx:DataGridColumn
headerText="Status"  dataField="Status" rendererIsEditor="true">
                                     <mx:itemRenderer>
                                        <mx:Component id="status_Id">
                                                <mx:ComboBox enabled="true"
dataProvider="{parentApplication.statusArray}" labelField="Status"
>
                                                </mx:ComboBox>
                                        </mx:Component>
                                     </mx:itemRenderer>
                                     </mx:DataGridColumn>-->

                         <mx:DataGridColumn headerText="Employee Responsible"
dataField="CurrentAssigne" editable="true" itemEditor="EmpResp"
editorDataField="value" wordWrap="true" headerWordWrap="true"  />
                         <mx:DataGridColumn headerText="Contact" 
dataField="Contact"
editable="false" itemEditor="EmpResp"  editorDataField="value"
wordWrap="true" headerWordWrap="true"   />

                        <mx:DataGridColumn headerText="Problem Description To Be
Added" dataField="LongDesc" editable="true" wordWrap="true"
headerWordWrap="true"/>
                        <mx:DataGridColumn headerText="Group Queue"
dataField="GroupQueue" editable="true" itemEditor="VGroupQueue"
editorDataField="changedVal" wordWrap="true" headerWordWrap="true"  />

                                </mx:columns>
                                </mx:DataGrid>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to