cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Expand leads to infinite loop

oskarberntorp
11-Garnet

Expand leads to infinite loop

Hi,

I have a solution where I have a structure that should be expandable/collapsable. It works great as long as I have only one open, but when I have one open and open another I will need double click.

It works like this:

1, A trigger button calles an expression which sets a session variable containing the id (string) of the clicked parent of the children being expanded (children lies in a container with visible false from the start).


2, In the service getting the items there are logic to set an expanded flag which is then used to alter the visible property of the childrens container.

3, I have a session variable to be able to know if the structure should be expanded or collapsed, 0 means that it is incremented, 1 means that it is set to 0. The session in (1) is then set to empty or the id of the item being expanded.

So, how would you propose that this can be done?

 

Kindly

Oskar Berntorp

0 REPLIES 0
Top Tags