This is a migrated thread and some comments may be shown as answers.

Filterable shows funnel icon but nothing happens when I click

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kathryn
Top achievements
Rank 1
Kathryn asked on 09 Apr 2013, 03:03 PM
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 } ))
    )

1 Answer, 1 is accepted

Sort by
0
Accepted
Kathryn
Top achievements
Rank 1
answered on 09 Apr 2013, 04:41 PM
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.
Tags
Grid
Asked by
Kathryn
Top achievements
Rank 1
Answers by
Kathryn
Top achievements
Rank 1
Share this question
or