Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by zorro on Feb 25, 2008 07:43
open dhtmlx forum
dhtmlxgrid

hi

is it possible to active the filter in the header after writing all the text in a textfield
when return is pressed and not when typing the text ?

thanks
Answer posted by Support on Feb 25, 2008 09:17
You can adjust it in source code, currently it has something similar to next

dhtmlxgrid_filter.js, line 256

else if (id.tagName=='INPUT'){
        this.filters.push([id,column]);
        id.value='';
        id.onkeydown=function(e){
             if (e.keyCode!=13) return;      // << need to be added
            if (this._timer) window.clearTimeout(this._timer);