0
Sencha Touch 1の新機能です。デフォルトのNestedListツールバーにアイテムを追加したいと思いますが、 "toolbar"プロパティを使用する実例は見つかりません。 Sencha DocsからNestedListの "toolbar"プロパティを設定する
:NestedListを作成するときに、私はこれを行うために管理
toolbar : Object
Ext.Toolbar shared across each of the lists. This will only exist when useToolbar is true which is the default.
唯一の方法は、方法をinitComponent使用しているが、私は車輪の再発明てるような気が...
var myNestedList= new Ext.NestedList({
fullscreen: true,
title: 'myTitle',
useToolbar: true,
store: myStore,
initComponent : function() {
...
}
...このセクションを変更する
ありがとうございますykartal、私はすでにあなたのソリューションを検討していたが、私は "ツールバー"プロパティの適切な使用に興味がある – baffonero