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

Listbox With Custom Scrollbar

1 Answer 128 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Vishal
Top achievements
Rank 1
Vishal asked on 09 Mar 2015, 05:50 AM
Hello ,
In my whole application, I have used custom scroll bar like this :
http://noraesae.github.io/perfect-scrollbar/

In Rad list box, can i apply custom scroll bar like http://noraesae.github.io/perfect-scrollbar/ ?

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 11 Mar 2015, 12:11 PM
Hi Vishal,

If you would like to apply this scrollbar plugin to RadListBox, it is necessary to give the srcollable ListBox DOM element (.rlbGroup) as parameter in the Ps.initialize() function.

aspx:
<telerik:RadListBox runat="server" ID="RadListBox1" Height="100px">


JavaScript:
var $ = $telerik.$;
 
function pageLoad() {
    var container = $("#RadListBox1").find(".rlbGroup ").get(0);
    Ps.initialize(container);
}


Regards,
Magdalena
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ListBox
Asked by
Vishal
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or