javascript - How can remove ListItem from ListSection in appcelerator -


i'm building app appcelerator show list view items. i'm implementing delete method remove list single items.

so have create event on listview. method this:

function listitemclick(e){      var riga = listofitems[e.itemindex];     _db.sign_to_delete(riga.get("id"));     $.elementslist.sections[0].deleteitemsat(e.itemindex,1);         } 

so code works, because can remove items db, element not deleted in list. if try refresh layout manually, can see list never delete's item. how can fixed it?


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -