229
Views
6
Comments
Solved
Reactive- accordian
Application Type
Reactive, Service

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?

2020-11-13 07-48-15
Khuong Truong
Solution

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

UserImage.jpg
FEMI EMMANUEL

Thank you so much!!

2020-11-13 07-48-15
Khuong Truong
UserImage.jpg
FEMI EMMANUEL

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.

2020-11-13 07-48-15
Khuong Truong

Hi,

In this case, you can set IsDisabled: ActiveIndex <> 1, the condition means that if ActiveIndex = 1, then False, if ActiveIndex <> 1 then True.

Cheers,

Khuong

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.