Rowexpander中的Popups和Combo-Box - Extjs 6.0.2

时间:2018-01-23 05:17:41

标签: extjs extjs6.2

有没有办法把一个组合框放在网格内的rowexpander里面?

1 个答案:

答案 0 :(得分:0)

您可以将任何Extjs组件放在rowexpander中。有可能使用rowBodyTpl。

检查这个小提琴https://fiddle.sencha.com/#fiddle/2c7i&view/editor

plugins: [
            {
                ptype: 'rowexpander',
                rowBodyTpl: [
                    '<select>',
                    '<tpl foreach=".">',
                    '<option value="">{$}</option>',
                    '</tpl>',
                    '</select>'

                ]
            }
        ],