cancel
Showing results for 
Search instead for 
Did you mean: 

How can i clear all the content i input in the wizard (sap.m.wizard)

former_member624832
Participant
0 Kudos

when i use a wizard floorplan in a fioir app;

if i want to clear all the content i input use cancle button, which method i can chose.

it seems the discardprocess() and destroycontent() not work.

View Entire Topic
mvaibhav
Contributor

hi Shirley Wu ,

Wizard doesn't provides any feature to clear the control in it since you can add multiple types of control in each step.

In order to clear the content, you can use the event of the cancel button and in the function for that event you can clear the contents of all the control by fetching them using there id.

Ex. for a text field

this.getView().byId("idInputText").setText("");

Thanks,

Vaibhav

former_member624832
Participant
0 Kudos

if i put a smarttable in wizardstep;

after cancel, i hope this smarttable do not show any data before i click Go button.

in this case, which method i can use?