ui-grid is not shown inside an accordion
https://github.com/angular-ui/ng-grid/issues/50
this issue is closed and it said that it is fixed in 1.7
Currently i am using 3.0 ,still i am getting the same issue.
I reported this one a little while back. The difference was it was within a tab.
Here is a solution: https://github.com/angular-ui/ng-grid/issues/1776
https://github.com/keeper3000
Thanks Let me check it out!
I cannot use either of these solutions mentioned there!
window.resize() width=100%
No, try it this way instead.
columnDefs: [ ],
onRegisterApi: function( gridApi ) {
$timeout(function () {
gridApi.grid.handleWindowResize();
});
}
Hopefully no syntax errors in there, I just typed it out really quick.
grid is displayed but very small grid is rendered
Please check these plunkers for examples of how to approach grids that are not set to be displayed on page load:
http://plnkr.co/edit/fwdXMamTBrR1yKVwcohZ?p=preview http://plnkr.co/edit/LtpFnDUTofuxitb4Vh9x?p=preview
The demonstration is with tabsets but accordions will be the same.
You can also now refer the tutorial that @c0bra has updated: http://ui-grid.info/docs/#/tutorial/108_hidden_grids