Hi Experts,
I have a requirement where on click of list on Master view i have to display its details on Details view.
My Master view is XML file and its code is as follows:
<List id="list"
mode="{device>/listMode}"
select="_handleSelect"
items="{/AppointmentSet}">
<items>
<ObjectListItem
type="{device>/listItemType}"
press="onSelect"
intro= "{Description}"
number="{City1}"
numberUnit="{Street}" >
<attributes>
<ObjectAttribute text="{
path: 'StartTime',
formatter: 'com.fOne.util.Formatter.StartTime'
}" />
<ObjectAttribute text="{
path: 'StartDate',
formatter: 'com.fOne.util.Formatter.StartDate'
}" />
........
Here, on press i have given onSelect for which in masterController.js i have given following code:
onSelect:function(Evt){
debugger;
// this.app.To("AppointmentDetail");
},
But, on execution when I click on list neither it never stops at debugger nor does it navigates to given view name (AppointmentDetail).
Please help me with this.
Thanks.