dataSource.actions.actionFunction
A function to be executed when the action button is clicked. The event object is passed as a parameter to the function.
Example
<div id="tabstrip"></div>
<script>
$("#tabstrip").kendoTabStrip({
dataTextField: "text",
dataContentField: "content",
dataSource: [
{
text: "Tab with actions",
content: "Tab content",
actions: [
{
icon: "pencil",
action: function(e) {
console.log("Edit tab", e);
}
}
]
}
]
});
</script>
In this article