isPinnedFieldString(default: "isPinned")

Specifies the field name in the data source that indicates whether a message is pinned.

Example

<div id="chat"></div> <script> let messagesData = [ { id: 1, text: "Important announcement!", authorId: "user1", authorName: "Admin", pinned: true, timestamp: new Date() } ]; $("#chat").kendoChat({ isPinnedField: "pinned", dataSource: messagesData }); </script>
In this article
isPinnedField
Not finding the help you need?
Contact Support