7 Replies Latest reply on Sep 2, 2009 7:02 AM by sergei_developer

    Passing array to remote object.

    karnatis Level 1

      Hi All,


         I'm able to pass 'String' to RemoteObject method but can someone please let me know how to pass array to remoteobject.


        Say I have following array:


         public var mySourceDataProvider:Array = new Array({isRowSelected: false, name:'Name1', age:10, comment:'Comment1'},
                               {isRowSelected: false, name:'Name2', age:20, comment:'Comment2'},
                               {isRowSelected: false, name:'Name3', age:30, comment:'Comment3'},
                               {isRowSelected: false, name:'Name4', age:40, comment:'Comment4'});


        I'd like to pass this array to RemoteObject method.


        Thanks in advance.