DzListViewItem: delete vs. remove
kabexef
Posts: 75
In DzListViewItem I found two methods: deleteItem() and removeItem(). It seems to me that both will remove a child item from the parent item. However, I am somewhat surprised that the description 'item - The item to insert.' can be found in removeItem(). Can someone tell me what the difference is between deleteItem() and removeItem()?
Comments
Insert is/was a copy/paste slip - it means remove. Remove removes the entry, but doesn't delete it so it could be added to something else; deleet actually clears the data entirely, so that it would need to be recreated if ti was wanted again.
Thanks for clarification. This is a very useful information.