Come rendere tabpanel scorrevole in ExtJS 4.1?
Ho creato un tabpanel all'interno di una finestra. Potrei usare autoScroll:true
con la finestra, ma non con il tabpanel. Ho bisogno di lavorare con tabpanel così quando ho scorrere verso il basso, l'elenco delle schede non salirà e scomparire.
tabpanel:
var sections = Ext.createWidget('tabpanel', {
id: 'mytabpanel',
title: 'UM',
activeTab: 3,
closable: true,
autoScroll: true, // not working
//defaults:{ autoScroll:true }, //not working
items: [
{
Finestra (contenitore tabpanel):
var window = new Ext.Window({
id: 'item1',
closable: true,
floating: true,
collapsible: true,
width: 900,
height: 600,
autoScroll: true, //working
items : mytabpanel
}).show();
Maggiori dettagli sul link - https://it.qaru.tech/questions/15465725/how-to-make-scrollable-tabpanel-in-extjs-41
Комментарии
Отправить комментарий