← Templates / List & Detail Starter
A scrollable master list where each row opens a full detail page. This is the backbone of catalogs, feeds, inboxes and most data-driven apps. Swap the placeholder data for your own and you have a working browse-and-view experience.
Master list rendered from a simple data array.
Detail page that reads the selected item and renders it.
Back navigation from detail to list.
DedrisFramework components and dedris.css pre-linked.
cordova create myApp com.dedris.myapp MyApp --template cordova-template-dedris-list
cd myApp
cordova run android
items.forEach(function (item) {
var row = document.createElement("a");
row.className = "dx-list__item";
row.textContent = item.title;
row.href = "#detail/" + item.id;
list.appendChild(row);
});
Master list preview