How to made a clickable Colintree list view proper way?

I made one but it’s not work properly i mean when i click 2nd item or 3rd or 4th its open sometime 1st many time , then open 2nd or 3rd ect.
how can i fix it plz tell some solutions. i try type of block but its still not work.


Can you tell us more about your problem?

1 Like

Or also remove guides tag​:smiley::smiley:

1 Like

yes, i want to tell that when i click any of my list item in my app then its open manytime 1st item and when i click 5-6 time click same item then open 2nd item , but its not open which item actual i click.


What are you doing here.I think In variable block(global position +1) is wrong, try (elementindex+1). I hope this will help you​:grinning::grinning:

1 Like

Why are you using global position? Use get elemend index

2 Likes

I know abou your problem. This happened because you are using variable(global position),when you click first item then in variable values is “elementindex+1”, But when you click next item the variable value is(old variable value+elementindex+1) that is why you get wrong item​:grinning::grinning::grinning:.
Solution:- replace variable value to 0 after list is click

1 Like

its helpful for if you are mark my pic what can i change?
ok
and i try the block

Replace all index in lists from global position to get element index

1 Like

ooo
is it ok ?

Try it and see if it works for you

1 Like

Try this


Remove red circled, try second variable (green check)

2 Likes

Thank You, Its OSM Thank you so much for your help.

2 Likes

Its OSM Thank you so much for your help.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.