Hi all,
I have a question regarding beginRemoveRows..
Here is some let's say code:
...
beginRemoveRows(parent, startRow, endRow);
for(..)
{
.. start removing items
.. if user clicks on cancel -> break;
}
endRemoveRows();
And question is: if it is correct code how to work with beginRemoveRow and endRemoveRow when to allow user to cancel an operation -> meaning not all rows which were anounced to model that they are going to be removed, will be actually removed...
Could have such a code some downfalls?
Thanks for answers in advance!
Bookmarks