3 Replies Latest reply on Sep 15, 2010 4:40 AM by Subeesh Arakkan

    Best event when data changes via a user in a datagrid

    nikos101 Level 2

      How do I capture when data changes via a user in a datagrid?

       

      change event?

        • 1. Re: Best event when data changes via a user in a datagrid
          Subeesh Arakkan Level 4

          if you are using itemEditor, try listening for itemEditEnd event

          1 person found this helpful
          • 2. Re: Best event when data changes via a user in a datagrid
            nikos101 Level 2

            thanks mate but I'm not sure where to put it:

             

            <mx:AdvancedDataGridColumn headerText="sell" dataField="sell" textAlign="right" editable="true">
                            <mx:itemEditor>
                                <fx:Component>                   
                                <s:MXAdvancedDataGridItemRenderer>   
                                    <s:TextInput width="100%" text="{data.sell}" fontWeight="bold" contentBackgroundColor="#eeeeff" color="#3333ff"  textAlign="right"  restrict=".0-9" maxChars="11">                                           
                                       
                                    </s:TextInput>                                               
                                </s:MXAdvancedDataGridItemRenderer>                                       
                                </fx:Component>               
                            </mx:itemEditor>                               
                        </mx:AdvancedDataGridColumn>

            • 3. Re: Best event when data changes via a user in a datagrid
              Subeesh Arakkan Level 4

              <mx:AdvancedDataGrid itemEditEnd="advanceddatagrid_itemEditEndHandler(event)"