Hi,
I have a problem where I cannot set horizontal layout for listview rows in iOS. And if I don't set the left property of each item in the row they overlap.
For Android the same code works well.
This is how the row item looks like:
var row = {
id: customerModel.id,
orderBy: name,
name: {text: name},
mobile: {text: mobile},
gender: {text: gender},
birthDate: {text: birthDate},
properties: {height: Ti.UI.SIZE}
};
and this is the template:
<ListView id="listviewCustomers" defaultItemTemplate="template" onItemclick="onListViewCustomersItemClick">
<ListSection id="listsectionCustomers">
</ListSection>
<Templates>
<ItemTemplate name="template" id="listviewDefaultItemTemplate">
<Label bindId="name" class="listItem"/>
<Label bindId="mobile" class="listItem"/>
<Label bindId="gender" class="listItem"/>
<Label bindId="birthDate" class="listItem"/>
</ItemTemplate>
</Templates>
</ListView>
Is there other way of positioning items in rows rather than specifying left property for each item?