Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

TableView index on click event in randomly wrong

$
0
0

Hi !

I have a tableView with many items.

I have a click event where i get the index of item selected :

listTable.addEventListener('click', function(e){
                var item = listData[e.index];
                Ti.API.info("TEST : "+e.index);
                // Load view
            });
But randomly, the e.index is wrong.

Do you have any idea where it may come ?

TY


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>