Would like to keep Combo Box closed

Hey guys,

Thank you for all the hard work that went into the dhtmlx toolset. It is amazing!

I am using a pre-existing select box. I would like to keep the combo box closed until a minimum number of characters has been typed. How would I do that?

As I was trying to accomplish this, I noticed a problem.

z.attachEvent(‘onCheck’, alert(“HI”)); //works correctly
z.attachEvent(‘onCheck’, function(value, state){ alert(“HI”) } ); //does not work

The latter is straight out of the documentation. I am already loading jQuery and am able to use jQuery-style function definition elsewhere. There are no javascript errors. Any ideas?


Hey Kate,

Thank you for your kind words about our library :slight_smile:

Could you provide the code snippet with combo initialization ? We need details about the issue: are you using filtering ? is combo initialized with checkboxes ?