commandExecute
Triggered when a command item from the Commands view is clicked. The panel bar dataItem of the selected item is available through the event argument.
Example
<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
commandExecute: function(e) {
console.log("Command executed:", e.item);
}
});
</script>
In this article