[TIMOB-19815] Windows: ListView not showing all list items
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 5.0.0 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Feon Sua Xin Miao |
| Assignee | Unknown |
| Created | 2015-10-28T01:43:19.000+0000 |
| Updated | 2018-02-28T19:54:53.000+0000 |
Description
Run the code below in the Windows Emulator.
RESULTS:
Only the first item is displayed.
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var data = [
{ properties: { title: 'Row 1' } },
{ properties: { title: 'Row 2' } },
{ properties: { title: 'Row 3' } },
];
var listSection = Ti.UI.createListSection({
items: data
});
var listview = Ti.UI.createListView({ sections: [listSection] });
win1.add(listview);
win1.open();
Attachments
| File | Date | Size |
|---|---|---|
| Screen Shot 2015-10-27 at 6.38.44 pm.png | 2015-10-28T01:43:09.000+0000 | 43742 |
No comments