【问题标题】:How to add container to list in sencha touch 2?如何在 sencha touch 2 中将容器添加到列表中?
【发布时间】:2014-07-04 09:21:34
【问题描述】:

有没有办法将Ext.Container 的实例添加到Ext.List 而不是制作ListItem 或只是纯文本?

【问题讨论】:

    标签: javascript list sencha-touch-2 containers


    【解决方案1】:

    将 myContainer 视为 Ext.Container 实例,将 myList 视为 Ext.List 实例,您可以这样做:

    myList.add(myContainer);
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多