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

Ti.UI.iPhone.ListViewCellSelectionStyle.NONE is not NONE

$
0
0

Hi, i defined the following template for my row on my listview

var myTemplate = {
        properties : {
            height : 50
        },
        childTemplates : [{
            type : 'Ti.UI.TextField',
            bindId : 'bindField',
            properties : {
                left : 10,
                width : Ti.UI.FILL,
                borderStyle : Ti.UI.INPUT_BORDERSTYLE_NONE,
                selectionStyle: Ti.UI.iPhone.ListViewCellSelectionStyle.NONE,
                color : 'black'
            }
        }]
    };
but sometimes (I don't know why, maybe multiple click on row selection), row background changes to gray as selected.

Now I set allowSelection to false on listView, but why does selectionStyle not work?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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