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

How to change ListView section selectedBackgroundColor

$
0
0

I am trying to change TableView to ListView. I can change TableView row's backgroundColor as below;

$.TableView1.data[0].rows[0].backgroundColor = "red";
So how can i apply this code to ListView. I have tried as below but i have got error.
$.ListView1.sections[0].properties.selectedBackgroundColor = "red";
....... or  .......
$.ListView1.section.getItemAt(0).properties.selectedBackgroundColor = "red";
Thank you in advance.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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