Ticket T478191
Visible to All Users

dxTreeView - How to always show scrollbar

created 8 years ago

Hi

The dxTreeView display the scrollbars only when you select one of his content.
Is there any way to always display the scrollbar or on mouse hover?

Thanks
Gila

Answers approved by DevExpress Support

created 8 years ago

Hi,

Execute the following code:

JavaScript
$("#simple-treeview").dxTreeView({ ..., onContentReady: function(e) { e.element.find('.dx-scrollable').dxScrollable('instance').option('showScrollbar', 'always'); } })

See also:
dxTreeView.onContentReady

    Comments (2)
    HK HK
    Hanshika Kedhu 6 years ago

      Hi,

      How to display custom scroll bar for dx-tree-view control in angular ?
      It would be great, If you could provide me sample code.

      Thanks,
      Hanshika

      DevExpress Support Team 6 years ago

        Hello Hanshika,

        I've created a separate ticket on your behalf (T747963: TreeView - How to display custom scroll). It has been placed in our processing queue and will be answered shortly.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.