You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I wanted to programmically navigate to a page using pager.navigate('Detail'); How can I get the full route to get to this page dynamically along with passing viewModel object parameters? For Instance, this function is bound to lists:
self.selected = function (item) {
var url = pager.page.activePage$() + "/Detail";
pager.navigate(url);
self.selectedItem(item);
};
the pager.page.activePage$() is an undefined function in this scenario.
also this method only returns the 'Detail' string
var url = pager.page.getFullRoute()().join('/') + "Detail";
Ok maybe I'm not explaining my objective. I'm trying to create a Master/Detail scenario. When I create the link <a data-bind="page-href:{id:'Detail'}>. I don't see an option or capability to transfer the selected object to the detail's page, or have the selected object's ID be executed upon display, for example, or the above example scenario as well...
The text was updated successfully, but these errors were encountered:
If I wanted to programmically navigate to a page using pager.navigate('Detail'); How can I get the full route to get to this page dynamically along with passing viewModel object parameters? For Instance, this function is bound to lists:
self.selected = function (item) {
var url = pager.page.activePage$() + "/Detail";
pager.navigate(url);
self.selectedItem(item);
};
the pager.page.activePage$() is an undefined function in this scenario.
also this method only returns the 'Detail' string
var url = pager.page.getFullRoute()().join('/') + "Detail";
Ok maybe I'm not explaining my objective. I'm trying to create a Master/Detail scenario. When I create the link <a data-bind="page-href:{id:'Detail'}>. I don't see an option or capability to transfer the selected object to the detail's page, or have the selected object's ID be executed upon display, for example, or the above example scenario as well...
The text was updated successfully, but these errors were encountered: