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

ApprovalTemplate

configuration

A function used to render the entire approval section when state is "awaitingApproval". Receives the widget options object as the first argument and must return an HTML string. When set, the built-in approve and reject buttons are not rendered.

Default: null

<div id="toolcall"></div>
<script>
$("#toolcall").kendoToolCall({
    label: "send_email",
    state: "awaitingApproval",
    expandable: true,
    expanded: true,
    approvalTemplate: function() {
        return "<div>Confirm sending the email?</div>";
    }
});
</script>
Not finding the help you need?
Contact Support