Hello,
is it possible to put two RadSideDrawers in one page of a NativeScript app (e.g. on the left for main menu and on top for a context menu) ?
If not, is this planned?
Regards
4 Answers, 1 is accepted
The RadSideDrawer does not support two (or more) instances on one NativeScript page.
In pure UX aspect using multiple side-drawers (usually hidden by default can be confusing for the end-client.As a workaround for bigger application with many features probably a solution with a toolbar or action bar with combination with a side-drawer is an option. (e.g. toolbar for the controls on top/bottom)
As another workaround you can also use tab-view or segmented-bar for your main content which can provide you with additional "space" for your different business logic and/or pages.
Documentation article for tab-view here.
Documentation article for segmented-bar here.
You can also track all recent updates on the controls from telerik-ui and telerik-ui-pro in
our releases article here - this functionality is planned and once implemented it will be announced in this article.
Regards,
Author nickname
Telerik
Hi Nikolay,
thank you for your response.
Indeed, on some pages we have many options, that should not be mixed with the global main menu in the RadSideDrawer.
On Android-side, we can list all these options within a popup-menu in the action bar, but unfortunately this is not supported by iOS out of the box and we try to prevent installing another plugin for that. So it was just an idea to put two sidedrawers into the page: the main menu on the left and the context menu on top.
Regards
If ActionBar is applicable have you considered the SlideDrawer button functionality - refer to this section of the documentation : https://docs.nativescript.org/ui/action-bar#creating-slidedrawer-button
There is also one very simple DropDown plugin which is in fact is just a wrapper fro UIPickerView (iOS) and Spinner( for Android) and can be found at the following link: https://github.com/PeterStaev/NativeScript-Drop-Down
Regards,
Nikolay Iliev
Telerik
Hi Nikolay,
thank you for your advice, we will check if this is suitable for our use case.
Regards