[英]Ext.toolbar.Toolbar with overflowHandler scroll to end
Is there any property/config to say that the toolbar, when its overflowting to the right should scroll to the last item? 是否有任何属性/配置说明工具栏在向右溢出时应滚动到最后一项? I have a vertical toolbar. 我有一个垂直工具栏。 And it should scroll to the last item on the right 它应该滚动到右侧的最后一项
My config looks like: 我的配置看起来像:
var toolbar = Ext.create('Ext.toolbar.Toolbar', {
cls: 'toolbar',
dock: toolbarDock,
border: false,
overflowHandler: 'scroller',
items: [this.toolbar]
});
You should add parameter like enableOverflow
as true
to use overflowHandler
. 您应该将诸如enableOverflow
参数添加为true
才能使用overflowHandler
。
Check sencha documentation enableOverflow
查看enableOverflow
文档enableOverflow
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.