Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19815] Windows: ListView not showing all list items

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 5.0.0
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterFeon Sua Xin Miao
AssigneeUnknown
Created2015-10-28T01:43:19.000+0000
Updated2018-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

FileDateSize
Screen Shot 2015-10-27 at 6.38.44 pm.png2015-10-28T01:43:09.000+000043742

Comments

No comments

JSON Source