filtering and auto-complete, but not limited to begining of

Here’s one for you!



I’ve just been given the requirement that the client wants to be able to type any character and the list will filter to all items that contain that character in it.



Current behavior limits entry/filters to beginning of item strings. Now they they want the filter from any position.



Can this be done?



Walter

Can’t be changed by API, but pretty easy to modify , just locate next line in dhtmlxcombo.js ( line 904 in latest code )
    var filter=new RegExp("^"+text,“i”);
and update it as
    var filter=new RegExp(text,“i”);

Thanks for the reply.


But where can I get a copy of the source that is not “compressed”?

The package must contain both versions
    codebase - compressed version
    source - not compressed version of code