isDeletedFieldString
(default: "isDeleted")
Specifies the field name in the data source that indicates whether a message has been deleted.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "This message was removed",
authorId: "user1",
authorName: "John",
deleted: true,
timestamp: new Date()
}
];
$("#chat").kendoChat({
isDeletedField: "deleted",
dataSource: messagesData
});
</script>
In this article