Filterable shows funnel icon but nothing happens when I click

2 posts, 1 answers
  1. Kathryn
    Kathryn avatar
    6 posts
    Member since:
    Mar 2013

    Posted 09 Apr 2013 Link to this post

    I've implemented the Filterable() on my grid and the filter icon shows up, but nothing happens when you click on the funnel icon.  I've inspected the element and the difference  between my page and the example page is the funnel has an href='#' on the example page, but mine does not, so it appears something has caused the href to not show up.  My code looks like this...

        @(Html.Kendo().Grid(Model)
            .Name("Grid")
            .Columns(columns =>
            {
                columns.Bound(p => p.ApplicantName);
                columns.Bound(p => p.ParentName);
                columns.Bound(p => p.Grade);
                columns.Bound(p => p.Status)
                    .ClientGroupFooterTemplate("Count: #=count#");
                columns.Bound(p => p.HoldHistory).Filterable(false).Sortable(false);
                columns.Bound(p => p.CorrespondenceHistory).Filterable(false).Sortable(false);
                columns.Bound(p => p.Scan).Filterable(false).Sortable(false);
                columns.Bound(p => p.FFPStatus).Filterable(false).Sortable(false);
            })
            .ClientRowTemplate(
                "<tr class='#: TRClass #' role='row'>" +
                    "<td role='gridcell'><a target='_blank' href='/en/Reporting/GetReadOnlyApp?id=#: AppId #'>#: ApplicantName #</a></td>" +
                    "<td role='gridcell'>#: ParentName #</td>" +
                    "<td role='gridcell'>#: Grade #</td>" +
                    "<td role='gridcell'>#: Status #</td>" +
                    "<td role='gridcell'><a href='\\#' id='holdHistory-#: AppId #'>Hold History</a></td>" +
                    "<td role='gridcell'><a href='\\#' id='correspondenceHistory-#: AppId #'>Correspondence History</a></td>" +
                    "<td role='gridcell'><a href='' target='_blank' onclick='return ShowAWSDoc(\"#: Scan #\")'>#: ScanDescription #</a></td>" +
                    "<td role='gridcell'><a href='' target='_blank' onclick='return ShowAWSDoc(\"#: FFPId #\")'>#: FFPStatus #</a></td>" +
                "</tr>"
            )
            .Groupable()
            .Pageable()
            .Sortable()
            .Filterable()
            .DataSource(datasouce => datasouce
                .Ajax()
                .Aggregates(aggregates =>
                {
                    aggregates.Add(p => p.Status).Count();
                })
                .PageSize(20)
                .Read("Applicants_Read", "Reporting", new { programId = ViewBag.ProgramId } ))
        )
  2. Answer
    Kathryn
    Kathryn avatar
    6 posts
    Member since:
    Mar 2013

    Posted 09 Apr 2013 Link to this post

    This issue is resolved.  It was caused by including jQuery UI.  Fortunately I don't need it on my page but there must be a conflict in there.
Back to Top