Extjs 字段集作为NestedList项的detailCard

Extjs 字段集作为NestedList项的detailCard,extjs,sencha-touch-2,Extjs,Sencha Touch 2,当我选择一个要显示某个数据项的字段集的叶时,我有一个嵌套列表 到目前为止,我有 launch: function () { Ext.create("Ext.tab.Panel", { fullscreen: true, tabBarPosition: 'bottom', items: [ { xtype: 'nestedlist', title: 'T

当我选择一个要显示某个数据项的字段集的叶时,我有一个嵌套列表

到目前为止,我有

launch: function () {
    Ext.create("Ext.tab.Panel", {
        fullscreen: true,
        tabBarPosition: 'bottom',

        items: [
            {
                xtype: 'nestedlist',
                title: 'Train Lines',
                iconCls: 'star',
                displayField: 'text',
                store:treeStore,
                detailCard: {
                    xtype: 'panel',
                    scrollable: true,
                    styleHtmlContent: true
                },
                listeners: {
                    itemtap: function (nestedList, list, index, element, post) {
                        this.getDetailCard().setHtml(post.get('text'));
                    }
                }
            },
作为我的场地,我有

var fieldSet = Ext.create('Ext.form.Panel', {
            fullscreen: true,
            items: [
        {
            xtype: 'fieldset',
            title: 'About You',
            instructions: 'Tell us all about yourself',
            items: [
                {
                    xtype: 'textfield',
                    name: 'firstName',
                    label: 'First Name'
                },
                {
                    xtype: 'textfield',
                    name: 'lastName',
                    label: 'Last Name'
                }
            ]
        }
    ]
});

如何用字段集的内容替换当前的详细信息卡?

我不确定是否理解。是否希望
字段集
成为每个叶节点的
详细信息卡
?如果是这样,为什么不将
fieldSet
设置为您的
detailCard
?否则,
setDetailCard
方法可能是最好的选择