iOS - Master Detail Window Titles

You must Login before you can answer or comment on any questions.

How do I use the value from the selected row as the window title on the detail page?

Thanks

1 Answer

Accepted Answer

e contains the information from the item that was selected. So all you have to do is:

masterView.addEventListener('itemSelected', function(e) {
    detailView.fireEvent('itemSelected',e);
    detailContainerWindow.title = e.name;
    navGroup.open(detailContainerWindow);
});

Your Answer

Think you can help? Login to answer this question!