In Development
Last Updated: 21 Mar 2025 16:57 by ADMIN
Scheduled for 2025 Q2 (May)
Christian
Created on: 17 Mar 2025 08:14
Category: Wizard
Type: Feature Request
0
Expose setOptions() for Kendo Wizard

Enhancement

Expose setOptions() for Kendo Wizard

Desired Behavior
setOptions shall update Wizard steps

    wizard.setOptions({
      steps: steps
    });
Workaround

Destroy current Wizard and reinitialize with new steps

    let wizard = $("#wizard").data('kendoWizard');
    wizard.destroy();
    $("#wizard").empty();
    
    let steps = [];
    for	(var i = 0; i < 4; i++) {
      steps.push({
        title: "Tab " + i,
		content: "Tab Content " + i 
      });
    }
    
    $("#wizard").kendoWizard({
        steps: steps
    });

Dojo: https://dojo.telerik.com/zpjBsSkN

0 comments