this과 같은 코드를 수정하고 일부 항목을 추가했습니다. 스크롤로 div를 가져오고 싶지만 Sencha에서는 작동하지 않습니다! 제안 하시겠습니까? 미리 감사드립니다.Sencha - div가 스크롤되지 않습니다
코드 :
/*global Ext:false */
Ext.application({
launch: function() {
Ext.create('Ext.Container', {
fullscreen: true,
styleHtmlContent: true,
data: [{
fname: 'Stratton',
lname: 'Sclavos',
role: 'Executive Chairman'
},
etc. ],
tpl: '<div style="overflow: auto; overflow-y: auto;"><tpl for="."><div><strong>{lname}</strong>, {fname} <em class="muted">({role})</em></div></tpl></div>'
}); // create()
} // launch
}); // application()
을 얘기하는 겁니까? 그렇다면 질문에 'sencha-touch'태그를 추가해야합니다. 그리고 다음 번에는 질문이나 제목에서도 명시 적으로 말해야합니다. – rixo