मेरी सेन्चा टच सूची प्रदर्शित नहीं हो रही है। मैंने जो कुछ किया वह रूट कंटेनर को नेविगेशन व्यू में बदल दिया गया था, इसलिए अन्य विचारों को उस पर धक्का दिया जा सकता है, लेकिन फिर नेविगेशन को रूट के रूप में 'फिट' पसंद नहीं है। इसलिए मैंने इसे 'फिट' प्रकार के साथ दूसरे कंटेनर में ले जाया। हालांकि, अब सूची प्रदर्शित नहीं होती है ?!सेन्चा टच सूची प्रदर्शित नहीं हो रही है (फिर से!)
नीचे देखें:
Ext.define('MyApp.view.inbox.MyInbox', {
extend: 'Ext.navigation.View',
alias: 'widget.myinboxview',
requires: [
'Ext.navigation.View'
],
config: {
title: 'My Inbox',
xtype: 'card',
items: [
{
xtype: 'container',
type: 'vbox',
items: [
{
xtype: 'container',
flex: 1,
items: [
{
xtype: 'container',
margin: 10,
layout: {
type: 'hbox'
},
items: [
{
xtype: 'label',
html: 'You have sent'
},
{
xtype: 'label',
html: '0 enquiry',
right: 0
}
]
},
{
xtype: 'container',
margin: 10,
cls: 'linesAboveBelow',
layout: {
type: 'hbox'
},
items: [
{
xtype: 'label',
html: 'You have'
},
{
xtype: 'label',
html: '1 unread response',
right: 0
}
]
}
]
},
{
xtype: 'container',
flex: 5,
layout: {
type: 'fit'
},
items: [
{
xtype: 'list',
store: 'theInboxEnquiryStore',
itemTpl: [
'<div>Date: { CreationDate }</div>'
]
}
]
}
]
}
]
}
});
हाय इसके लिए धन्यवाद, यह काम किया! गूंगा होने के लिए खेद है लेकिन मूल रूप से मेरे विचार में क्या गलत था? मैंने लेन्चा बनाने के लिए सेन्चा आर्किटेक्ट का उपयोग किया था, इसलिए यह जानकर मुझे पता चला कि समस्या क्या थी। – jaffa
मैंने अपना जवाब अपडेट कर दिया है। बीटीडब्ल्यू इसे सही उत्तर के रूप में चुनें। – blessenm