get items of the list attached through attachList method
Note, the id parameter is optional. If you specify no parameters, the method returns all data items of the list.
myPop.attachList("name,price", [ {id: 1, name: "Audi A5 Coupe", price: "31550"}, {id: 2, name: "Audi A5 Sportback", price: "30990"} ]); var data = myPop.getItemData(1); // data= [{id: 1, name: "Audi A5 Coupe", price: "31550"}] var data = myPop.getItemData(); // data = [ // {id: 1, name: "Audi A5 Coupe", price: "31550"}, // {id: 2, name: "Audi A5 Sportback", price: "30990"} // ]