headerFilter.type : (onenterkeypress|onchange)Default: 'onenterkeypress'

Type of the header filter

Examples

OnEnterKeyPress

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/Players/Get',
         headerFilter: {
             type: 'onenterkeypress'
         },
         columns: [ { field: 'ID', width: 56, filterable: false }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>

  

OnChange

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/Players/Get',
         headerFilter: {
             type: 'onchange'
         },
         columns: [ { field: 'ID', width: 56, filterable: false }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>