textFieldString
(default: "text")
Specifies the field name in the data source from which the message text content will be read.
Example
<div id="chat"></div>
<script>
let messagesData = [
{
id: 1,
content: "Hello world!",
authorId: "user1",
authorName: "John",
timestamp: new Date()
}
];
$("#chat").kendoChat({
textField: "content",
dataSource: messagesData
});
</script>
In this article