I'm trying to use InlineEditBox together with the following dijit/form/ComboBox
:
var items = [
{name: 'new'},
{name: 'processed'},
{name: 'approved'},
{name: 'running'},
{name: 'archived'}
]
new ComboBox({
store: new Memory({data: items}),
searchAttr: 'name',
style: 'width: 200px;'
}, 'status').startup()
My first 'naive' approach was:
new InlineEditBox({
store: new Memory({data: items}),
searchAttr: 'value',
style: 'width: 200px;',
editor: ComboBox
}, 'status').startup()
As the effect, there was the inline box shown, which you could click, but empty ComboBox shown up. I've tried an approach from Nabble's forum:
new InlineEditBox({
editor: new ComboBox({
store: new Memory({data: items}),
searchAttr: 'value',
style: 'width: 200px;',
})}, 'status').startup()
However, it doesn't work as well.
My question: is there a way to use the dijit/InlineEditBox
together with dijit controls other than simple text editors, of that component is simply written to cooperate only with a few supported controls?