Sydney
Sydney

Reputation: 12212

Integrate dropdown angular-strap with ng-grid

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

Upvotes: 1

Views: 1599

Answers (1)

zs2020
zs2020

Reputation: 54514

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

Upvotes: 6

Related Questions