I am using Telerik MVC. Is there a way to have my own look when using grouping in a dropdownlist.
I would like to have different look in the grouping dropdownlist to sowh the group value on the right for each row in the selectbox.
Is it a way to do it?
the attached file Current.png is what I have now. the HopeToHave.png is what I was asked to do.
It seems I can not find any document on how to do it.
The code I have is
@(Html.Kendo().DropDownListFor(m => m.CompetencyName)
DataValueField("CompetencyName")
.DataTextField("CompetencyName")
.OptionLabel("Select...")
.DataSource(source => source
.Custom()
.Group(g => g.Add("CompetencyType", typeof(string)))
.Transport(transport => transport
.Read(read => read.Action("GetAllCompetencies", "Method", new { posTitle = ViewData["Title"] }).Type(HttpVerbs.Post))
)
)
)
Thanks.
Allen