外部ui网格菜单按钮 [英] External ui-grid-menu-button

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

问题描述

我想从 ui-grid-menu 中分隔 ui-grid-menu-button 。所以我的选择列按钮将在另一个地方。
我尝试在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.

最好的方法是什么?

What is the best way to do it?

推荐答案

我在这里回答了同样的问题。谢谢@ pilar1347的提示,我的解决方案有点不太好。

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

这篇关于外部ui网格菜单按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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