Hi All,
I have a xml split view app that works correctly. However when I add Sorting to the Master List XML I start to see the error "Uncaught TypeError: Cannot read property 'getPath' of undefined"
The sorting was added like this, and it displays correctly when I run the app,
items="{
path : '/Carriers',
sorter : {
path : 'Category',
group : true
}
The error in the code appears here:
showDetail: function(oItem) {
// If we're on a phone device, include nav in history
var bReplace = jQuery.device.is.phone ? false : true;
this.getRouter().navTo("detail", {
from: "master",
entity: oItem.getBindingContext().getPath().substr(1),
tab: this.sTab
}, bReplace);
},
Thanks,
Stuart