Problem
The allows selection property is not doing anything on Windows 10.0, but is working correctly on Windows 8.1.
Test case
Windows 10 incorrectly allows selection:
!
http://i.imgur.com/cbSoAcc.png!
<Alloy>
<Window class="container">
<TableView id="exampleTable">
<TableViewRow class="exampleRow" title='Apples' />
<TableViewRow class="exampleRow" title='Bananas' />
<TableViewRow class="exampleRow" title='Carrots' />
<TableViewRow class="exampleRow" title='Potatoes' />
</TableView>
</Window>
</Alloy>
".container": {
backgroundColor: '#FFFFFF'
}
"#exampleTable": {
top: '20%',
allowsSelection: false
}
".exampleRow": {
color: "#000000"
}
Discussions
Expect the same functionality in Windows 10.0 as Windows 8.1. Using CLI to build the applications locally:
appc titanium build --platform windows --target ws-local --wp-sdk 8.1
appc titanium build --platform windows --target ws-local --wp-sdk 10.0
Testing this on iOS, Windows 8.1 and 10 I found that
allowsSelection
on the Windows platform does not work. Using the code below I found that; * The alert was shown on both Windows 8.1 and 10 but not on iOS. * There was visual feedback when clicked on Windows 8.1 and 10 but not on iOS * The only difference between windows 8.1 and 10 is on 8.1 the background color of the table row is not changed when clicked. *Index.xml**Index.js*
*Index.tss*
*ENV* Windows 10 pro Ti SDK: 5.3.0.v20160509143032 Appc NPM: 4.2.5-5 App CLI: 5.3.0-44 Node v0.12.7
Hello [~jlongton], Can you confirm if this is still an issue in SDK 6.0.0.GA?