This is a migrated thread and some comments may be shown as answers.

Multiple RadSideDrawers in one page?

4 Answers 155 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marc
Top achievements
Rank 1
Marc asked on 21 Jun 2016, 01:08 PM

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

Sort by
0
Nick Iliev
Telerik team
answered on 21 Jun 2016, 02:26 PM
Hi Mark,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Marc
Top achievements
Rank 1
answered on 22 Jun 2016, 09:45 AM

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

0
Nick Iliev
Telerik team
answered on 22 Jun 2016, 11:22 AM
Hello Mark,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Marc
Top achievements
Rank 1
answered on 22 Jun 2016, 12:21 PM

Hi Nikolay,

thank you for your advice, we will check if this is suitable for our use case.

Regards

Tags
SideDrawer
Asked by
Marc
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Marc
Top achievements
Rank 1
Share this question
or