New to Kendo UI for jQuery? Start a free 30-day trial

Replaces the current thoughts array and re-renders the step body.

Parameters:thoughtsArray

The new array of thought objects to render.

<div id="chain"></div>
<script>
$("#chain").kendoChainOfThought({
    label: "Thinking",
    expanded: true,
    thoughts: [{ label: "Initial thought" }]
});
var chain = $("#chain").data("kendoChainOfThought");
chain.setThoughts([
    { label: "Updated thought one" },
    { label: "Updated thought two" }
]);
</script>
Not finding the help you need?
Contact Support