No concrete answer so far on this topic
I have seen numerous posts on Appery forum where the user just wants to know what is the "index" of the list item on which someone has clicked. But not a single answer that explains something that is seemingly simple.
I have a list component with the following items
Item 1
Item 2
Item 3
When I click on first item it should show a 0 (the indexes are zero based i guess).
And 2nd thing - when i dynamically add an item to the list component, the list item by default adds the button too. How to prevent the button from being added?
And 3rd thing is
I have added a new list item using list.append method. How can I get a reference to the list item I just added?
I hope that I have explained this in a very simple manner. I hope I can get a clear answer too and not something that will ask me to go and read a tutorial where I cannot find what I want, or a example that simply doesn't answer the question