Hi Kendo Team,
I'm iterating the collection dataSource.data() and I want to know if a data item of this collection is deleted or not.
There is isNew() method that tells you if the user created a new item, but how can i know if an item of the dataSource was deleted by the user? Is there any IsDeleted() method ?
Something like:
for (var i= 0; i < dataSource.data().length; i++){
if (!dataSource.data()[i].isDeleted()){
// Do whatever
}
}
Kind regards,
Oscar.
I'm iterating the collection dataSource.data() and I want to know if a data item of this collection is deleted or not.
There is isNew() method that tells you if the user created a new item, but how can i know if an item of the dataSource was deleted by the user? Is there any IsDeleted() method ?
Something like:
for (var i= 0; i < dataSource.data().length; i++){
if (!dataSource.data()[i].isDeleted()){
// Do whatever
}
}
Kind regards,
Oscar.