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

Kendo UI Grid Disable autocomplete in filters

1 Answer 480 Views
Grid
This is a migrated thread and some comments may be shown as answers.
J
Top achievements
Rank 1
J asked on 14 Sep 2017, 08:22 AM

Hello,

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

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

Thanks!

 

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 19 Sep 2017, 07:10 AM
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.
Tags
Grid
Asked by
J
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or