title: How to reset data of inline itemrenderer of spark datagrid view in flex 4?
body: <p>I am new to flex 4. I am having a datagrid view with inline itemrenderers. I want to enter the data into that components in case if the entered data is wrong i need to reset that row.how can i do that using flex 4</p>
  
  <pre><code>&lt;s:DataGrid  width="703" height="285" &gt;
      &lt;s:columns&gt;
          &lt;s:ArrayList&gt;
              &lt;s:GridColumn width="150" dataField="dataField1" headerText="Category" rendererIsEditable="true"&gt;
                  &lt;s:itemRenderer&gt;
                      &lt;fx:Component&gt;
                          &lt;s:GridItemRenderer&gt;
                              &lt;mx:VBox paddingBottom="5" paddingTop="10" &gt;
                              &lt;s:ComboBox width="152" chromeColor="#248895" /&gt;
                                  &lt;/mx:VBox&gt;
                          &lt;/s:GridItemRenderer&gt;
                      &lt;/fx:Component&gt;
                  &lt;/s:itemRenderer&gt;
              &lt;/s:GridColumn&gt;
              &lt;s:GridColumn width="200" dataField="dataField2" headerText="Product Name"&gt;
                  &lt;s:itemRenderer&gt;
                      &lt;fx:Component&gt;
                          &lt;s:GridItemRenderer&gt;
                              &lt;mx:VBox paddingBottom="5" paddingTop="10" &gt;
                              &lt;s:ComboBox  width="200" chromeColor="#248895" /&gt;
                                  &lt;/mx:VBox&gt;
                          &lt;/s:GridItemRenderer&gt;
                      &lt;/fx:Component&gt;
                  &lt;/s:itemRenderer&gt;
              &lt;/s:GridColumn&gt;
              &lt;s:GridColumn width="80" dataField="dataField3" headerText="AvailableStock"&gt;
                  &lt;s:itemRenderer&gt;
                      &lt;fx:Component&gt;
                          &lt;s:GridItemRenderer&gt;
                              &lt;mx:VBox paddingBottom="5" paddingTop="10" &gt;
                              &lt;s:TextInput width="80"/&gt;
                                  &lt;/mx:VBox&gt;
                          &lt;/s:GridItemRenderer&gt;
                      &lt;/fx:Component&gt;
                  &lt;/s:itemRenderer&gt;
              &lt;/s:GridColumn&gt;
  
  
  
          &lt;/s:ArrayList&gt;
      &lt;/s:columns&gt;
  </code></pre>