I have a ASP.NET MVC Grid
As you can see the column shows CompanyName, but is bound to CompanyId.
When trying to get filter with checkboxes for company, using:
I get the checkboxes with CompanyId.
Is there any way to show the CompanyName instead of the CompanyId with the checkbox filter?
@(Html.Kendo().Grid<SysViewModel>()
.Name("grid")
.Columns(columns =>
{
columns.Command(command =>
{
command.Edit()
.Text("edit")
.UpdateText("update")
.CancelText("cancel");
command.Destroy().Text("delete");
}).Width("8rem");
columns.Bound(p => p.Id)
.Title("ID")
.Width("5rem");
columns.Bound(p => p.CompanyId)
.Title("Company")
.ClientTemplate("#:CompanyName#")
.EditorTemplateName("CompanyList")
.Filterable(ftb => ftb.Multi(true).CheckAll(true))
.Width("15rem");
When trying to get filter with checkboxes for company, using:
Filterable(ftb => ftb.Multi(true).CheckAll(true))
Is there any way to show the CompanyName instead of the CompanyId with the checkbox filter?