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

Toggle

methods

Toggles the expanded state of the step body. If no argument is provided, the current state is reversed.

Parameters:expandBoolean

If true, the step body is shown. If false, the step body is hidden. If omitted, the state is reversed.

<div id="toolcall"></div>
<script>
$("#toolcall").kendoToolCall({
    label: "run_query",
    expandable: true,
    parameters: { q: "test" }
});
var toolCall = $("#toolcall").data("kendoToolCall");
toolCall.toggle(true);
</script>
Not finding the help you need?
Contact Support