Titanium delete TableViewRow, model-view binding should automatically reflect tableview
问题 This is how I delete a tableviewrow on a longclick event of a tableview (android) $.tableview.deleteRow(e.index); , but this just removes the row. How do I also remove the data on my tableviewrow which will in turn remove it from collection via model id, and model-view binding should automatically reflect this in tableview.Any Ideas?Thank You. 回答1: you need to delete the model object from the collection which will then trigger the appropriate events to update the table. So in your longpress