[TIMOB-23660] Windows: Implement Ti.UI.TableView separatorColor property
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-08-30T06:11:21.000+0000 |
| Affected Version/s | Release 5.3.0 |
| Fix Version/s | Release 6.1.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Kota Iguchi |
| Assignee | Gary Mathews |
| Created | 2016-07-20T04:47:20.000+0000 |
| Updated | 2016-12-03T01:07:02.000+0000 |
Description
Implement
separatorColor property for Ti.UI.TableView.
*Sample Code*
var win = Ti.UI.createWindow({ backgroundColor: 'red' }),
tableView = Ti.UI.createTableView({
width: '80%',
height: '80%',
backgroundColor: 'orange',
separatorColor:'blue',
data: [{ title: 'Apples' }, { title: 'Bananas' }, { title: 'Carrots' }, { title: 'Potatoes' }]
});
tableView.addEventListener('click', function (e) {
alert(JSON.stringify(e.row.title));
});
win.add(tableView);
win.open();
Attachments
| File | Date | Size |
|---|---|---|
| 23660_2.JPG | 2016-08-30T02:11:31.000+0000 | 20615 |
| 23660.JPG | 2016-08-29T22:27:29.000+0000 | 18427 |
master: https://github.com/appcelerator/titanium_mobile_windows/pull/843
Verified improvement, able to see the
separatorColor(blue) from the code in the description which is not visible on SDK 6.0.0. *Environment*Device: Lumia 640 LTE Operating System Name = Microsoft Windows 10 Pro Version = 10.0.14393 Architecture = 64bit # CPUs = 4 Memory = 17034395648 Node.js Node.js Version = 4.4.4 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.10 Titanium SDK SDK Version = 6.1.0.v20161202124434 Target Platform = windows