RAD Multicolumncombobox Horizontal Scrollbar

1 Answer 206 Views
MultiColumnComboBox
Sachindra
Top achievements
Rank 1
Sachindra asked on 05 Jul 2021, 03:03 PM

Is there any option to enable or show the horizontal scroll bars in Multicolumncombobox on VB.Net 2012 development environment?

Thanks in advance

Sachin

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 08 Jul 2021, 10:07 AM

Hi Sachindra,

RadMulticolumnComboBox allows to define the width of the drop down popup through its DropDownWidth, but only if the columns does have set width. I am afraid that currently, the RadMultiColumnComboBox doesn't support horizontal scrolling out of the box.

The following article explains how to set the dropdown width of the widget and how it behaves depending on the columns width settings (RadMulticolumnComboBox is a server-side wrapper of the Kendo UI MulticolumnComboBox  widget): 

https://docs.telerik.com/kendo-ui/controls/editors/multicolumncombobox/columns

A possible approach for achieving a similar to the described functionality is to use the client-side load event of the control and set the width of the dropdown using the API of the Kendo widget. Please, note that the approach below will add scrolling only to the items list, but the column headers will remain static (being in a different container)

function OnLoad(sender, args) {
    sender.kendoWidget.list.width(300);
}

In addition, there is already a feature request for this functionality in the Kendo UI Feedback portal, so you might want to vote for it to increase its priority:

https://feedback.telerik.com/kendo-jquery-ui/1475028

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Sachindra
Top achievements
Rank 1
commented on 08 Jul 2021, 03:30 PM

Thanks for the update Vessy. I was able to workit out it with the DropDownWidth property
Vessy
Telerik team
commented on 08 Jul 2021, 03:56 PM

You are welcome, Sachindra, I am glad my suggestion was helpful.
Tags
MultiColumnComboBox
Asked by
Sachindra
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or