failedFieldString(default: "failed")
The field of the message data item that provides the failed flag. When true, the message is rendered with a failed state indicator and a retry button.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
text: "This message failed to send.",
authorId: "user1",
authorName: "John Doe",
timestamp: new Date(2026, 0, 1, 9, 0),
sendError: true
}
];
$("#chat").kendoChat({
failedField: "sendError",
authorId: "user1",
dataSource: messagesData
});
</script>