filters combo
handler | function | user-defined filter function |
showList | boolean | show list after filtering (true by default) |
// keep options started from 'a'
var mask = "a";
myCombo.filter(function(opt){
return opt.text.match(new RegExp("^"+mask.toLowerCase(),"i"))!=null;
}, false);
added in version 4.0
showList param added in 4.1.1