Grid grouping column click event

2 posts, 0 answers
  1. dharmesh
    dharmesh avatar
    1 posts
    Member since:
    Jun 2015

    Posted 15 Jun 2015 Link to this post

    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">
    .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}"))
    .DataSource(dataSource => dataSource
    .Read(read => read.Action("Action", "Controller"))
    .Group(groups =>
    groups.Add(payroll => payroll.CompanyName);







  2. Alexander Popov
    Alexander Popov avatar
    1444 posts

    Posted 17 Jun 2015 Link to this post

    Hi dharmesh,

    This could be achieved by using a group header template in which the links are generated based on the values.

    Alexander Popov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top