Force the z-index of the first grid panel using this CSS style
[ng-grid=gridOptions1] .ngTopPanel { z-index: 2; }
demo
A better approach (as suggested in the comments) is to use the nth-child approach. expanded to 3 elements:
.gridStyle:first-child .ngTopPanel { z-index: 3; } .gridStyle:nth-child(2) .ngTopPanel { z-index: 2; }
demo
source share