Hello,
Is it possible to filter by “string contains” instead of “string starts with” in the dhtmlxCombo??
I mean, if I have this list:
Car
Hello
Mellow
Camcorder
Typing “ello” will select “Hello” and “Mellow”.
Typing “c” will select “Car” and “Camcorder”.
Is that possible? Thanks in advance!
Hello,
you can modify th dhtmlxcombo.js library as follows:
locate
try{ var filter=new RegExp("^"+text,"i"); }
and replace it with
try{ var filter=new RegExp(text,"i"); }
Thank you very much. I’ve already fixed it, and also make some more changes to allow autocomplete and enter activation.
If anyone is interested i can post the modified .js
Hi ,
Could you please send me the modified code. THanks
Can you please send me the modified.js
lukman
#6
Hi,
Could you please send me the modified code. I need it. thanks
Hi,
Could you please send me the modified code. THanks
Hi,
Here is the related post:
viewtopic.php?f=4&t=16576