I need to open the second accordian(Request type) only if I click on the 'continue' button in first accordian(Select Resource). What action should I write inside 'continue' button?
Hi,
In this case you can have a local variable ActiveIndex (Integer type), then you set IsExpanded for each AccorditionItem such as: Item1: ActiveIndex = 1, Item2: ActiveIndex = 2, etc...
For Continue button, you can set value of ActiveIndex to 1 or 2 or etc for open that Item.
Hope this helps,
Khuong
Thank you so much!!
You're welcome! Glad that it helps.
I also have a doubt that, IsDisabled of accordian should be false only if ActiveIndex = 1. Otherwise should not be able to access the accordian ,how can I do that? When I simply put IsDisabled as true, I couldnt access it even after I clicked on the continue button.
In this case, you can set IsDisabled: ActiveIndex <> 1, the condition means that if ActiveIndex = 1, then False, if ActiveIndex <> 1 then True.
Cheers,
Thank youu!!