Hi Arseney,
Thank you for contacting Syncfusion support.
Query1 - Control the position of the scrollbar:
We have used the HTML scroller in the list box and we have an enableRtl property in our ListBox. By using this property, you can render the scroller on the left.
Query2 - Scrollbar colors and arrows:
We can achieve your reported requirements by using the CSS style as shown in the code below.
[Index.cshtml]:
<ejs-listbox id="Roles" dataSource="@ViewBag.DefaultData" enableRtl="true" cssClass="list" height="300px" >
</ejs-listbox>
<style>
/* width */
::-webkit-scrollbar {
width: 15px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #0000FF;
border-radius: 10px;
}
</style>
|
For your convenience, we have prepared the sample based on your requirement. Please find the link below.
Could you please check the above links and get back to us, if you need any further assistance on this.
Regards,
Janakiraman S.