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

Customizing the arrow direction the panelbar

1 Answer 914 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Phil Isaacs
Top achievements
Rank 1
Phil Isaacs asked on 23 Feb 2018, 08:24 PM

Out of the box the arrow defaults to up for opened and down for closed. Out art director wanted to know if we could change the arrow to be pointing left for closed and up for open.

Hope this question makes sense.

 

Philip

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 27 Feb 2018, 12:06 PM
Hi Phil,

You can override the default icons by applying custom style. In order to override the 'down' arrow and replace it with 'left' arrow, you can use the style below:
<style>
     .k-i-arrow-60-down:before {
       content: "\e007" !important;
     }
</style>

Note, that the above will replace all arrows on the page. In case you need to replace only the arrows in specific PanelBar, you can add its id to the selector. For example: #panelbar .k-i-arrow-60-down:before

I hope that the linked Dojo example will be helpful.

Regards,
Neli
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
PanelBar
Asked by
Phil Isaacs
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or