1
進出口使用的手風琴佈局煎茶觸摸1.0.1從米切爾Simoens混帳鏈接: https://github.com/mitchellsimoens/Ext.layout.AccordionLayout煎茶觸摸手風琴項目留空
我想提出一個形式面板成手風琴項目之一。但是,儘管formPanel中的html顯示,但當我向面板添加項目時,它會變爲空白。
請幫忙!
我的代碼:
var formp = new Ext.form.FormPanel({
scroll : "vertical",
title : "List Test",
// scrollable : true,
items : [
{
xtype : 'textfield',
label : 'hello',
id : 'hello',
name : 'hello'
}
]
});
var panel = new Ext.Panel({
fullscreen : true,
scroll : "vertical",
layout : {
type : "accordion"
},
minHeight : 300,
items: [
{ xtype : "panel", title : "One Title", html : "One" },
list,
{ xtype : "panel", title : "Three Title", html : "Three" },
{ xtype : "panel", title : "Four Title", html : "Four" },
{ xtype : "panel", title : "Five Title", html : "Five" },
{ xtype : "panel", title : "Six Title", html : "Six" }
]
});
可以給你的代碼.. – Sarath 2012-03-13 12:55:46
抱歉,但我現在沒有它,但我只是更新的庫,我已經將它存儲爲將來的參考:),如果它不工作,你可以試試這個庫,然後我可以嘗試找出問題 – 2012-03-15 08:09:06
我用上面的代碼使用了我的函數庫,它正確地顯示了項目,你還有問題嗎? – 2012-03-17 12:09:36