Kendo UI Grid Disable autocomplete in filters

2 posts, 0 answers
  1. J
    J avatar
    6 posts
    Member since:
    Apr 2017

    Posted 14 Sep Link to this post

    Hello,

    I have a Kendo UI Grid and have GridFilterMode.Row enabled. 

    My question is; how do i disable autocomplete for my filters? 

    Thanks!

     

  2. Georgi
    Admin
    Georgi avatar
    157 posts

    Posted 19 Sep Link to this post

    Hello,

    It is possible to customize the filter input with the columns.filterable.cell.template property. The following code will generate a simple Kendo textbox:


    columns.Bound(p => p.YourColumn).Filterable(x => x.Cell(y => y.Template("template")));
     
     
    function template(args) {
    args.element.addClass('k-textbox');
    }


     For your convenience I have assembled a small sample (disable-autocomplete.zip) which illustrates the aforementioned approach.


    Regards,
    Georgi
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top