集成下拉角表带纳克网 [英] Integrate dropdown angular-strap with ng-grid

查看:112
本文介绍了集成下拉角表带纳克网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想模板细胞作为下拉按钮。所以,我创建了链接到下拉指令按钮的单元格模板。如果我创建网格外的这个按钮,它的工作,但在网格内它不是。我不知道,但我猜 $范围不是在模板中使用。

I want to template a cell as a dropdown button. So I created a cell template with a button linked to the dropdown directive. If I create this button outside the grid, it's working but inside the grid it's not. I am not sure but I guess the $scope is not accessible in the template.

我创建了一个 Plunker ,显示问题

I created a Plunker that shows the issue

推荐答案

它看起来像我的错误。问题是关于 .ngCell 的CSS。目前,属性设置为隐藏。尝试将它添加到你的CSS文件覆盖属性

It looks like a bug to me. The problem is relating to the CSS of .ngCell. Currently the overflow property is set to hidden. Try add this to your css file to overwrite the property

.ngCell {
    overflow: visible;
}

这篇关于集成下拉角表带纳克网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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