Multiple RadSideDrawers in one page?

5 posts, 0 answers
  1. Marc
    Marc avatar
    39 posts
    Member since:
    Oct 2013

    Posted 21 Jun Link to this post

    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

  2. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    92 posts

    Posted 21 Jun Link to this post

    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
  3. Marc
    Marc avatar
    39 posts
    Member since:
    Oct 2013

    Posted 22 Jun in reply to Nikolay Iliev Link to this post

    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

  4. Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    92 posts

    Posted 22 Jun Link to this post

    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
  5. Marc
    Marc avatar
    39 posts
    Member since:
    Oct 2013

    Posted 22 Jun in reply to Nikolay Iliev Link to this post

    Hi Nikolay,

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

    Regards

Back to Top