新建选项卡上的添加按钮 [英] Adding button on newly created tab

查看:46
本文介绍了新建选项卡上的添加按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要在新创建的标签的工具栏上添加一个新按钮。当我尝试向我的班级添加一个绑定到该选项卡的按钮时,默认情况下,它会转到顶部的主工具栏,而不是选项卡工具栏上。
有任何建议吗?

I want to add a new button on toolbar of my newly created tab. While I am trying to add a button to my class which is bind to that tab, by default, it goes to the main toolbar at the top instead of on the tab toolbar. Any suggestion?

推荐答案

除了上述代码修复之外,还需要在网格下方添加

Along with above code fix, need to add below under grid also

<CustomItems>
    <px:PXToolBarButton Text="New Contact">
        <AutoCallBack Command="NewContact" Target="ds" />
    </px:PXToolBarButton>
</CustomItems>

这篇关于新建选项卡上的添加按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆