2 Replies Latest reply on Sep 7, 2011 10:48 AM by Sagar MJ

    Accessing Datagrid itemEditorInstance outside of event handler

    Sagar MJ Level 1

      I am trying to perform a validation on the Flex Datagrid Cell and go to the server to validate the value hence I loose the DataGridEvent and the itemEditorInstance after the itemEditEnd event is complete.

      But in case the server returns to me with an error, I am able to return to the cell by using the editedItemPosition. But the issue is I am unable to enable the error string on the itemEditorInstance which is a custom component (ComboBox) in my case.


      Is there a way to capture or get a handle to the itemEditorInstance outside the event handler where you don't have access to the DataGrid event and set an errorString to the same?


      Any help is appreciated ..thank you.