resetButtons
Regenerates the Buttons present in the Step instance.
Example
<div id="wizard"></div>
<script>
$("#wizard").kendoWizard({
steps: [
{
title: "First Step",
content: "<h1>First Step Content</h1>",
buttons: ["previous", "next"]
},
{
title: "Second Step",
content: "<h1>Second Step Content</h1>"
}
]
});
var wizard = $("#wizard").data("kendoWizard");
var firstStep = wizard.steps()[0];
// Reset and regenerate the buttons for this step
firstStep.resetButtons();
console.log("Step buttons have been reset and regenerated");
</script>
In this article