function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cptcpt 

How to Iterate the object in result handler of Async Responder

 I am calling the apex web service which return the List<string> values to flex in script where i am returning in result handler when calling the apex web service

 

see the result handler function of Async Responder below  . The object contain two values that is Id and Name present in Object

 

public function resultHandler1(result:Object):void
   { 

 

    ///  ...How to iterate the object value and i have to load the the two values in Data grid as a two column of id and Name.....

 

  }

DharmeshDharmesh

You can cast the Object in List and can iterate over it.