ExtJS: MultiSelect Combo in an EditorGrid
There are some nice ComboBoxes for forms (f.e. the LovCombo or th开发者_C百科e SuperBoxSelect).
I got a ComboBox working in a Grid. But how do I include a MultiSelect ComboBox in an Editor Grid? What is the best approach? Is there any existing code to get started?
Thanks!
Have you tried using the defined xtypes
that the controls provide? If you look at the LovCombo for example, you'll see:
Ext.reg('lovcombo', Ext.ux.form.LovCombo);
Inside of your Grid, for each column, define the editor:
editor: {
xtype: 'lovcombo'
...
}
精彩评论