开发者

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'
    ...
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜