Применение горизонтальной прокрутки в Extjs - PullRequest
0 голосов
/ 30 августа 2011

Я хочу применить горизонтальную полосу прокрутки на панели (ExtJS), мой код ...

var reportPanel = new Wtf.Panel({
    border: false,
    title: "Chart View",
    autoScroll: true,
    iconCls: "pwndCRM piechartIcon",
    bodyStyle: 'background:white',
    layout: 'border',
    tbar: [this.pieChartButton, this.barChartButton],
    closable: true,
    items: [new Wtf.Panel({
        id: mainpanid + "center_panel",
        autoScroll: true,
        //columnWidth:.47,
        layout: "fit",
        border: true,
        region: "center",
        width: '50%',
        collapsible: true
    })
      , new Wtf.Panel({
        id: mainpanid + "east_panel",
        autoScroll: true,
        border: true,
        layout: "fit",
        //columnWidth:.48,
        region: "east",
        width: '50%',
        collapsible: true

    })
    ]
});

Не работает, кто-нибудь может сказать, что не так с кодом ...?

...