Integrate dropdown angular-strap with ng-grid

巧了我就是萌 提交于 2019-12-11 08:24:57

问题


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.

I created a Plunker that shows the issue


回答1:


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;
}


来源:https://stackoverflow.com/questions/18521645/integrate-dropdown-angular-strap-with-ng-grid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!