0

so i have a bootstrap tooltip shows for all cells, but i am having issue that tooltip is hidden behind the grid header. below is my rowtemplate which displays the tooltip.

rowTemplate: "<div uib-tooltip='{{row.entity[col.colDef.name]}}' tooltip-placement='bottom' tooltip-animation='true' " +
        "ng-repeat=\"(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name\" " +
        "class=\"ui-grid-cell\" ng-class=\"{ 'ui-grid-row-header-cell': col.isRowHeader, different:!row.entity.isSame }\" ui-grid-cell></div>"

i have played around with the z-index css property but still no help, what am i doing wrong here

.tooltip {
    position: absolute;
    z-index: 10;
}
.ui-grid-header{
    position: relative;
    z-index: 2;
}
2
  • do you have a fiddler? Commented Apr 27, 2016 at 19:16
  • yes i do have fiddler Commented Apr 27, 2016 at 19:21

1 Answer 1

4

Try adding this option to append tooltip to body instead of parent element:

tooltip-append-to-body='true'

I hope it helps, Thanks.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.