Unable to add search box in kendo grid checkbox filter

2 posts, 0 answers
  1. Rohit
    Rohit avatar
    5 posts
    Member since:
    Jul 2015

    Posted 21 May 2016 Link to this post

    Hi , 

          I am trying to replicate  the example in following demo:


        I need to include search box in checkbox filtering ,like one already done on Product Name column in the demo above. However i am unable to add .Search(true) to Filterable method in kendo grid . I am getting error as search is not a member of commandbuilder.

     Can you please suggest me what am i missing. As it is very urgent. Help would be appreciated. Following is my complete view.

    @modeltype List(Of Display_Data.ServiceReference1.Empolyee)
    @imports Display_Data.Empolyee
    @imports Kendo.Mvc.UI

    <link href="~/Content/kendo/2016.1.412/kendo.default.min.css" rel="stylesheet" />
    <link href="~/Content/kendo/2016.1.412/kendo.common.min.css" rel="stylesheet" />

    <script src="//kendo.cdn.telerik.com/2016.2.504/js/jquery.min.js"></script>
    <script src="//kendo.cdn.telerik.com/2016.2.504/js/kendo.all.min.js"></script>
        Html.Kendo().Grid(Of Display_Data.Empolyee)() _
            .Name("grid") _
             .Pageable() _
             .Editable(Function(m) m.Mode(GridEditMode.PopUp)) _
     .Filterable() _
     .Sortable() _
                          c.Bound(Function(p) p.Name)
                          c.Bound(Function(p) p.Age)
                          c.Bound(Function(p) p.City).Filterable(Function(f) f.Multi(True).Search(True))
                          c.Bound(Function(p) p.Expertise)
                  End Sub) _
                             d.Ajax() _
                             .Create(Function(read) read.Action("UpdateData", "Student")) _
                         .Update(Function(read) read.Action("UpdateData", "Student")) _
                         .Read(Function(read) read.Action("Display", "Student")).Model(Sub(m)
                                                                                               m.Id(Function(i) i.Expertise)
                                                                                       End Sub).ServerOperation(False)

                     End Sub) _
    End code


  2. Rohit
    Rohit avatar
    5 posts
    Member since:
    Jul 2015

    Posted 21 May 2016 in reply to Rohit Link to this post

    please review my code and suggest what am i doing wrong
Back to Top