Open rboughani opened 8 years ago
i have found the solution, i juste add
style="width:100%"
and it work fine
I have another problem now, the scroller in firefox don't scroll the header, it scroller juste the body !!
When i remove the "position: inherit;" in this class : ".ui-grid-render-container", the scroll work in the header using firefox
.ui-grid-render-container {
position: inherit;
-webkit-border-top-right-radius: 0;
-webkit-border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 0;
-webkit-border-top-left-radius: 0;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 0;
-moz-border-radius-topleft: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
-moz-background-clip: padding-box;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
I had the similar issue which happened when grid comes from a hidden state or when there are some collapsible pannels on the page and the grid always changes position from the screen.. don't know youre case but you can still try this.
$interval( function() {
$scope.gridApi.core.handleWindowResize();
}, 500, 5);
Thank's for your response, yes it work, now i remember that i have the same problème with Angular datatable, and i have solved it with Something like WindowResize,
but why it dosn't work just in firefox !! and it's possible de solve theme juste with css ? Thank you
no idea why, and yes its not possible via css
I know not how, but when I view my ui-grid of chrome, everything works fine, but when I display it on firefox, I find just 4 column, by against, I must have 83 columns firefox screen :-1:
chrome screen :+1:
My confuguration is like :
inititilization of columns
Columns update :