How can I get the list of filtered options in combo

I created a dhtmlxcombo and enabled its filtering by

Now when I type some characters in filter textbox, It shows matching options only. How can I get array of these options.

There is not a public method to get this options.

The text is combo header can be got get getComboText() method.

var text = combo.getComboText();

An array with all option is optionsArr. The text of a certain option can be got by optionsArr[i].text

So, you may check each option in optionsArr whether it starts with text in combo header.