Login Register

options

Changing ComboBox Options Style/Font

For a standard HTML select I can do this:

style="font-family:Courier New; font-size:14pt;"

But for the Dijit ComboBox, it has no effect on the options; instead, it only
affects the style of the type-ahead area of the combo.

Any suggestions?

Thanks!

different ways to provide options to dijit.form.ComboBox

Hi,

I would like to know different approaches that can be used to provide options to dijit.form.ComboBox.
I know one way that is,

var options = new dojo.data.ItemFileWriteStore({data: {identifier: 'name', items:[]}});
options.newItem({name: 'foo'});
options.newItem({name: 'bar'});

Any help will be aprreciated.

Syndicate content