-
11 Oct 2011 7:18 AM #1
Answered: Hide Toolbar of NestedList when DetailCard
Answered: Hide Toolbar of NestedList when DetailCard
Hello,
I have a nestedList, and when i get the detailCard, i have a list. i can with the toolbar of nestedlist navigate, it's good. But when i open the detailcard of the list, i have 2 toolbar. The first is my nestedlist toolbar, and the second is my list toolbar. the both contain the button back.
I would like to hide the nestedlist toolbar in the detailcard of the list, like that, i will have just my list toolbar with back button, and when i will be in my list (detailcard of nestedlist) i show again the nestedlist toolbar.
Is it possible?
-
Best Answer Posted by myput
I you want, the solution is in the detailCard to hide the toolbar with:
and show it in the backButton of the detailPage:Code:App.views.DirectoryNestedList.toolbar.hide(); App.views.DirectoryNestedList.doComponentLayout();
Don't forget to do doComponentLayout();Code:App.views.DirectoryNestedList.toolbar.show(); App.views.DirectoryNestedList.doComponentLayout();
-
30 Nov 2011 6:30 AM #2
I you want, the solution is in the detailCard to hide the toolbar with:
and show it in the backButton of the detailPage:Code:App.views.DirectoryNestedList.toolbar.hide(); App.views.DirectoryNestedList.doComponentLayout();
Don't forget to do doComponentLayout();Code:App.views.DirectoryNestedList.toolbar.show(); App.views.DirectoryNestedList.doComponentLayout();
-
23 Jan 2013 11:05 PM #3
Hi,
Even i have the same problem . I'm using navigationView and the above code doesn't seem to work here.
Please can anyone help me......


Reply With Quote