Hello Friends,
Good Morning.
I am using Kendo UI with ASP.Net MVC 4.0
I have bind grid using helper and used kendo grid grouping functionality. but the issue is I want to add some functionality while clicking on grouping column but the text value for all grouping label will be different. I have attached image and also a code sample can you please help me.
//Code Sample//
<div id="dvPayrollReportGrid" class="kendo-responsive-grid-content">
@(Html.Kendo().Grid<Models.Productr>()
.Name("gridpayrollreport")
.Columns(columns =>
{
columns.Bound(payroll => payroll.CheckDate).Format("{0:dd/MM/yyyy}");
columns.Bound(payroll => payroll.FromDate).Format("{0:dd/MM/yyyy}");
columns.Bound(payroll => payroll.ToDate).Format("{0:dd/MM/yyyy}");
})
.Pageable(pageable => pageable
.Messages(messages => messages.Display("Payroll Reports {0} - {1} of {2}"))
)
.Sortable()
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.Read(read => read.Action("Action", "Controller"))
.Group(groups =>
{
groups.Add(payroll => payroll.CompanyName);
})
)
)
</div>