Completed
Last Updated: 27 Apr 2020 07:46 by ADMIN
Release R2 2020
Theo
Created on: 17 Apr 2020 09:31
Category: UI for WinForms
Type: Bug Report
1
RadMultiColumnComboBox: horizontal scrollbar is missing after resizing the columns and the AutoSizeDropDownToBestFit property is set to true

Please refer to the following code snippet and follow the steps in the attached gif file:

 

        Dim dt As New DataTable
        dt.Columns.Add("Id", GetType(Integer))
        dt.Columns.Add("Name", GetType(String))
        For index = 1 To 10
            dt.Rows.Add(index, "Data" & index & Guid.NewGuid().ToString())
        Next
        Me.RadMultiColumnComboBox1.DataSource = dt
        Me.RadMultiColumnComboBox1.DisplayMember = "Name"
        Me.RadMultiColumnComboBox1.ValueMember = "Id"
        Me.RadMultiColumnComboBox1.AutoSizeDropDownToBestFit = True

Workaround: 

AddHandler Me.RadMultiColumnComboBox1.DropDownOpened, AddressOf RadMultiColumnComboBox_DropDownOpened

    Private Sub RadMultiColumnComboBox_DropDownOpened(sender As Object, e As EventArgs)
        Me.RadMultiColumnComboBox1.EditorControl.HorizontalScrollState = ScrollState.AutoHide
    End Sub

Attached Files:
0 comments