Is there a way to clear the standard pqGrid filter timeout instead of using and creating then clearing a new one like your example does?
EDIT: Forget it, when you call a filter the pqGrid timeout is automatically cancelled
MY CODE FOR OTHERS THAT NEED IT:
function callFilter(ui){
var column = ui.column,
rule = { condition: column.filter.crules[0].condition, dataIndx: column.dataIndx, value: ui.value, value2: ui.value2 };
grid.filter({
oper: 'add',
rules: [
rule
]
});
}
Then in the column model:
filter:{
crules:[{condition:"contain"}],
listener: {
"keydown": function(e, ui)
{
if(e.key==="Enter")
callFilter(ui);
},
"timeout": function(e, ui){
callFilter(ui);
}
}
}
FOR OTHERS: If you want to disable the timeout, just remove the "callFilter(ui);" in the "timeout" listener.
Having an option to enable an [Enter] key trigger and another option to disable the timeout would be nice and inline with what other grids do (I added it to the requests thread)