外部 ui-grid-menu-button [英] External ui-grid-menu-button

查看:13
本文介绍了外部 ui-grid-menu-button的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将 ui-grid-menu-buttonui-grid-menu 分开.所以我的选择列按钮将在另一个地方.我试图将手表放在 toggleMenu 功能上,然后单击我的按钮,它应该会触发并打开列表.我也尝试使用广播选项,但它不起作用.

I want to separate ui-grid-menu-button from the ui-grid-menu. So my select column buttons will be in another place. I tried to put a watch on the toggleMenu function and in a click on my button it should trigger and should open the list. I also tried to use the broadcast option but it's not working.

最好的方法是什么?

推荐答案

我在这里回答了同样的问题.感谢 @pilar1347 的提示,我的解决方案不那么笨拙.

I answered the same question here. Thanks @pilar1347 for the tip, my solution is a bit less hacky.

这篇关于外部 ui-grid-menu-button的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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