Hello support,
I am using a MultiColumnComboBox widget in
this way
01.
@(Html.Kendo().MultiColumnComboBoxFor(x => x.PostBack.Expediente.IdCliente)
02.
.DataValueField(
"ID"
)
03.
.DataTextField(
"Nombre"
)
04.
.Columns(columns =>
05.
{
06.
columns.Add().Field(
"Nombre"
).Title(
"Cliente"
).Width(
"200px"
);
07.
columns.Add().Field(
"Mercado"
).Width(
"200px"
);
08.
columns.Add().Field(
"Subgrupo"
).Width(
"200px"
);
09.
})
10.
.Filter(FilterType.StartsWith)
11.
.BindTo(Model.Clientes)
12.
.HtmlAttributes(
new
{ data_bind =
"value: Expediente.Cliente"
})
13.
)
So far so good.
The question is: How can I specify the width of the whole dropdown list and in case the sum of the width of each column is greater than the width of the whole dropdown list then show a horizontal scroll bar (like the grid widget does) ?
Attached is a screenshot of the current widget rendered and below it the scrollbar I want to show (if necessary)
Thank you.
PD: I’ve tried with this post but it didn’t
work https://www.telerik.com/forums/dropdownlist-should-take-size-of-biggest-option