No API to insert options?

Hi,

I’d like to add an option and get it at the first position.

I wonder if there is any method to insert options dynamically?

Hi
What component are you asking about?

It’s dhtmlCombo

You can add just in the end via addOption() method.
But to paste it in the beginning you need rebuild the whole combo.

Yeah…I can’t help rebuilding it…

a bit disappointing that that the vital function is not supported…

Meanwhile we don’t plan such functionality.