<<<<<2011/12/19 追記>>>>>> この記事は、私の理解が乏しい時のものです。 Ext Js 3 と 4 の区別がつかずごちゃごちゃで開発している時のものです。 参考にする時は注意しましょうっ! >>>>> カードレイアウトを移動させる手段です。 1.カードレイアウトのパネルを作る。 例1: var Panel = new Ext.panel.Panel({ width : 225, // split : true, // セパレーターを移動できるようにする layout : { type : 'card' }, activeItem : 0, items : [ Grid, Button ] }); 例2: var Panel = new Ext.panel.Panel({ width : 225, // split : true, // セパレーターを移動できるようにする layout : 'card', activeItem : 0, items : [ Grid, Button ] }); 2.レイアウトコンテナーを取得する。 var layout = Panel.getLayout(); 3.Ext.layout.container.Card クラスのメソッドを使う。 layout.next(); → 次のコンテナ(パネルとか?)をアクティブにする layout.getNext(); → 次のコンテナ(パネルとか?)を取得 や layout.prev(); → 前のコンテナ(パネルとか?)をアクティブにする layout.getPrev(); → 前のコンテナ(パネルとか?)を取得 や layout.setActiveItem( Ext.Component/Number/String newCard ); → 引数に該当するデータをアクティブにする だってさ。 ...