Guest User

Untitled

a guest
Jul 18th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Ti.App.fireEvent('contact.change' , updatedContactObject );
  2. // Do database save here if required
  3. win2.close();
  4.  
  5. Ti.App.addEventListener( 'contact.change' , function(e){
  6. var updatedContactObject = e.updatedContactObject;
  7. //
  8. // update the array and the row here
  9. //
  10. data[ updatedContactObject.id ] = updatedRowData;
  11. table1.setData(data);
  12. });
Add Comment
Please, Sign In to add comment